Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
LocalAccount
specifies the details of a local account to be created during installation.
Child Elements
Specifies a |
|
Specifies the display name for a |
|
Specifies the name of existing local security group(s) to which a |
|
Specifies the user name for a |
|
Specifies the password for a |
Valid Passes
Parent Hierarchy
Microsoft-Windows-Shell-Setup| UserAccounts | LocalAccounts | LocalAccount
Applies To
For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.
XML Example
The following XML output shows how to set UserAccounts.
<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>