Share via


PlainText

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

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>

See Also

Concepts

Password