值 (microsoft-windows-shell-setup-useraccounts-localaccounts-localaccount-password-value)

Value 指定安装过程中创建的 LocalAccount密码

密码

指定 LocalAccountPassword。 Password 是一个字符串。

有效配置阶段

auditSystem

oobeSystem

父层次结构

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

应用于

有关此组件支持的受支持 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-Shell-Setup

XML 示例

以下 XML 输出演示了如何设置 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>

密码