Table of contents
TOC
Collapse the table of content
Expand the table of content

PlainText

Last Updated: 12/12/2016

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.

Values

true

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

false

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

auditSystem

oobeSystem

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.

<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>

Password

Send comments about this topic to Microsoft

© 2017 Microsoft