Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
LocalAccounts specifies local accounts to be created during installation.
You can use the sysprep/generalize command in conjunction with LocalAccounts to change account information. See the Best Practices for Authoring Answer Files topic for details.
Child Elements
| Setting | Description |
|---|---|
| LocalAccount | Specifies a local account to be created during installation. |
Valid Configuration Passes
auditSystem
oobeSystem
Parent Hierarchy
Microsoft-Windows-Shell-Setup| UserAccounts | LocalAccounts
Applies To
For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.
XML Example
The following XML output shows how to set user accounts.
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>cAB3AFAAYQBzAHMAdwBvAHIAZAA</Value>
<PlainText>false</PlainText>
</Password>
<Description>Test account</Description>
<DisplayName>Admin/Power User Account</DisplayName>
<Group>Administrators;Power Users</Group>
<Name>Test1</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>cABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>For testing</Description>
<DisplayName>Admin Account</DisplayName>
<Group>Administrators</Group>
<Name>Test2</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>