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

Value指定在安裝期間建立之LocalAccount密碼Value specifies the Password for a LocalAccount created during installation.

Values

密碼Password

指定LocalAccount密碼Specifies the Password for a LocalAccount. 密碼 是字串。Password is a string.

有效的設定階段Valid Configuration Passes

auditSystemauditSystem

oobeSystemoobeSystem

父階層Parent Hierarchy

Microsoft-Windows-Shell-設定 | UserAccounts | LocalAccounts | LocalAccount | 密碼 | Microsoft-Windows-Shell-Setup | UserAccounts | LocalAccounts | LocalAccount | Password | Value

套用至Applies To

如需此元件支援的支援 Windows 版本和架構清單,請參閱 Microsoft Windows Shell 安裝程式For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML Example

下列 XML 輸出顯示如何設定 UserAccountsThe 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