Skip to content

Commit 84e1540

Browse files
committed
Documentation updates.
1 parent c10dae6 commit 84e1540

File tree

5 files changed

+34
-17
lines changed

5 files changed

+34
-17
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ available through this tool. Customizations supported by the Answer File Generat
1414
- The installation method, partition layout, and target disk and partition.
1515
- Enabling optional features during installation.
1616
- Creation of local user accounts.
17-
- Joining a domain and adding domain accounts to the local Administrators group.
17+
- Joining a domain, and adding domain accounts to a local security group.
1818
- Configuring automatic log-on.
1919
- The product key, computer name, language/culture, and time zone.
2020
- Display resolution.
@@ -125,7 +125,7 @@ such as "x86" for 32 bit processors, or "arm64" for ARM based systems.
125125
```text
126126
./GenerateAnswerFile autounattend.xml `
127127
-Install CleanEfi `
128-
-LocalAccount "John,Password" "Steve,OtherPassword" `
128+
-LocalAccount "John,Password" "Users:Steve,OtherPassword" `
129129
-ProductKey ABCDE-12345-ABCDE-12345-ABCDE
130130
```
131131

@@ -134,7 +134,12 @@ password, obviously), and a user named "Steve" with the password "OtherPassword"
134134
[`-LocalAccount`][] argument takes one or more values, allowing the creation of any number of
135135
accounts.
136136

137-
All accounts created during this method will be members of the local Administrators group.
137+
By default, accounts created using this method will be added to the local Administrators group.
138+
You can customize which group(s) to add them to by prefixing the account name with the group,
139+
separated by a colon. You can use multiple groups by separating them with a semicolon.
140+
141+
In the above example, John is an administrator, but Steve is added to the Users group, so they will
142+
be a restricted user.
138143

139144
### Joining a domain and automatic log-on
140145

doc/Library.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,21 @@ For more information, check out the
4747

4848
Version 2.0 of the library has a few breaking changes from version 1.x:
4949

50-
- The `DomainOptions.DomainAccounts` property has a different type.
51-
- The `GeneratorOptions.DisplayResolution` property has a different type.
52-
- The `GeneratorOptions.JoinDomain` property has a different type.
50+
- The [`GeneratorOptions.DisplayResolution`][] property has a different type.
51+
- The [`GeneratorOptions.JoinDomain`][] property has a different type.
5352
- The `GeneratorOptions.CmdKeyAccount` property has been removed.
53+
- The [`DomainOptions`][] class now derives from the [`DomainOptionsBase`][] class.
54+
- The [`DomainOptionsBase.DomainAccounts`][] property has a different type.
5455

55-
[`CleanBiosOptions`]: https://www.ookii.org/docs/answerfile-1.1/html/T_Ookii_AnswerFile_CleanBiosOptions.htm
56-
[`CleanEfiOptions`]: https://www.ookii.org/docs/answerfile-1.1/html/T_Ookii_AnswerFile_CleanEfiOptions.htm
57-
[`ExistingPartitionOptions`]: https://www.ookii.org/docs/answerfile-1.1/html/T_Ookii_AnswerFile_ExistingPartitionOptions.htm
58-
[`Generator.Generate`]: https://www.ookii.org/docs/answerfile-1.1/html/Overload_Ookii_AnswerFile_Generator_Generate.htm
59-
[`GeneratorOptions.InstallOptions`]: https://www.ookii.org/docs/answerfile-1.1/html/P_Ookii_AnswerFile_GeneratorOptions_InstallOptions.htm
60-
[`GeneratorOptions`]: https://www.ookii.org/docs/answerfile-1.1/html/T_Ookii_AnswerFile_GeneratorOptions.htm
61-
[`ManualInstallOptions`]: https://www.ookii.org/docs/answerfile-1.1/html/T_Ookii_AnswerFile_ManualInstallOptions.htm
56+
[`CleanBiosOptions`]: https://www.ookii.org/docs/answerfile-2.0/html/T_Ookii_AnswerFile_CleanBiosOptions.htm
57+
[`CleanEfiOptions`]: https://www.ookii.org/docs/answerfile-2.0/html/T_Ookii_AnswerFile_CleanEfiOptions.htm
58+
[`DomainOptions`]: https://www.ookii.org/docs/answerfile-2.0/html/T_Ookii_AnswerFile_DomainOptions.htm
59+
[`DomainOptionsBase.DomainAccounts`]: https://www.ookii.org/docs/answerfile-2.0/html/P_Ookii_AnswerFile_DomainOptionsBase_DomainAccounts.htm
60+
[`DomainOptionsBase`]: https://www.ookii.org/docs/answerfile-2.0/html/T_Ookii_AnswerFile_DomainOptionsBase.htm
61+
[`ExistingPartitionOptions`]: https://www.ookii.org/docs/answerfile-2.0/html/T_Ookii_AnswerFile_ExistingPartitionOptions.htm
62+
[`Generator.Generate`]: https://www.ookii.org/docs/answerfile-2.0/html/Overload_Ookii_AnswerFile_Generator_Generate.htm
63+
[`GeneratorOptions.DisplayResolution`]: https://www.ookii.org/docs/answerfile-2.0/html/P_Ookii_AnswerFile_GeneratorOptions_DisplayResolution.htm
64+
[`GeneratorOptions.InstallOptions`]: https://www.ookii.org/docs/answerfile-2.0/html/P_Ookii_AnswerFile_GeneratorOptions_InstallOptions.htm
65+
[`GeneratorOptions.JoinDomain`]: https://www.ookii.org/docs/answerfile-2.0/html/P_Ookii_AnswerFile_GeneratorOptions_JoinDomain.htm
66+
[`GeneratorOptions`]: https://www.ookii.org/docs/answerfile-2.0/html/T_Ookii_AnswerFile_GeneratorOptions.htm
67+
[`ManualInstallOptions`]: https://www.ookii.org/docs/answerfile-2.0/html/T_Ookii_AnswerFile_ManualInstallOptions.htm

doc/Ookii.AnswerFile.shfbproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@
5454
<IndentHtml>False</IndentHtml>
5555
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
5656
<SaveComponentCacheCapacity>100</SaveComponentCacheCapacity>
57-
<HelpTitle>Ookii.AnswerFile 1.1 Documentation</HelpTitle>
57+
<HelpTitle>Ookii.AnswerFile 2.0 Documentation</HelpTitle>
5858
<HelpFileVersion>1.0.0.0</HelpFileVersion>
5959
<NamingMethod>MemberName</NamingMethod>
6060
<ContentPlacement>AboveNamespaces</ContentPlacement>
6161
<RootNamespaceContainer>False</RootNamespaceContainer>
6262
<NamespaceGrouping>False</NamespaceGrouping>
6363
<MaximumGroupParts>2</MaximumGroupParts>
64-
<Preliminary>False</Preliminary>
64+
<Preliminary>True</Preliminary>
6565
<CopyrightHref>https://github.com/SvenGroot/GenerateAnswerFile</CopyrightHref>
6666
<CopyrightText>Copyright %28c%29 Sven Groot %28Ookii.org%29</CopyrightText>
6767
<SdkLinkTarget>Blank</SdkLinkTarget>

doc/refs.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
{
22
"#apiPrefix": "https://learn.microsoft.com/dotnet/api/",
3-
"#prefix": "https://www.ookii.org/docs/answerfile-1.1/html/",
3+
"#prefix": "https://www.ookii.org/docs/answerfile-2.0/html/",
44
"#suffix": ".htm",
55
"CleanBiosOptions": "T_Ookii_AnswerFile_CleanBiosOptions",
66
"CleanEfiOptions": "T_Ookii_AnswerFile_CleanEfiOptions",
7+
"DomainOptions": "T_Ookii_AnswerFile_DomainOptions",
8+
"DomainOptionsBase": "T_Ookii_AnswerFile_DomainOptionsBase",
9+
"DomainOptionsBase.DomainAccounts": "P_Ookii_AnswerFile_DomainOptionsBase_DomainAccounts",
710
"ExistingPartitionOptions": "T_Ookii_AnswerFile_ExistingPartitionOptions",
811
"Generator.Generate": "Overload_Ookii_AnswerFile_Generator_Generate",
912
"GeneratorOptions": "T_Ookii_AnswerFile_GeneratorOptions",
13+
"GeneratorOptions.CmdKeyAccount": null,
14+
"GeneratorOptions.DisplayResolution": "P_Ookii_AnswerFile_GeneratorOptions_DisplayResolution",
1015
"GeneratorOptions.InstallOptions": "P_Ookii_AnswerFile_GeneratorOptions_InstallOptions",
16+
"GeneratorOptions.JoinDomain": "P_Ookii_AnswerFile_GeneratorOptions_JoinDomain",
1117
"ManualInstallOptions": "T_Ookii_AnswerFile_ManualInstallOptions"
1218
}

src/Ookii.AnswerFile/PackageReadme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ available through this tool. Customizations supported by the Answer File Generat
1414
- The installation method, partition layout, and target disk and partition.
1515
- Enabling optional features during installation.
1616
- Creation of local user accounts.
17-
- Joining a domain and adding domain accounts to the local Administrators group.
17+
- Joining a domain, and adding domain accounts to a local security group.
1818
- Configuring automatic log-on.
1919
- The product key, computer name, language/culture, and time zone.
2020
- Display resolution.

0 commit comments

Comments
 (0)