Password specifies the password for a LocalAccount to be created during installation and whether the password is hidden in the unattended installation answer file.

Child Elements

Setting Description
PlainText Specifies whether the LocalAccount password is hidden in the answer file.
Value Specifies the LocalAccount password.

Valid Configuration Passes



Parent Hierarchy

Microsoft-Windows-Shell-Setup | UserAccounts | LocalAccounts | LocalAccount | Password

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.

      <LocalAccount wcm:action="add">
         <Description>Test account</Description>
         <DisplayName>Admin/Power User Account</DisplayName>
         <Group>Administrators;Power Users</Group>
      <LocalAccount wcm:action="add">
         <Description>For testing</Description>
         <DisplayName>Admin Account</DisplayName>