PlainText (microsoft-windows-shell-setup-useraccounts-localaccounts-localaccount-password-plaintext)

PlainText specifies whether the LocalAccount/Password/Value is hidden in the unattended installation answer file.

Note   You can use this setting only to hide the passwords for local accounts . Domain account passwords are not hidden.

You cannot set this value directly. Select Hide sensitive data on the Tools menu to hide all passwords with a PlainText setting in your answer file.



Specifies that the password appears in plain text in the answer file. This is the default value.


Specifies that the password is hidden in the answer file.

Note   This element appears above the Settings bar in the Properties pane of Windows System Manager. It always appears as true in the user interface (UI), even if you have selected Hide sensitive data.

Valid Configuration Passes



Parent Hierarchy

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

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>