密碼Password
Password
指定的密碼LocalAccount建立在安裝期間和密碼會自動的安裝回應檔案中隱藏起來。Password
specifies the password for a LocalAccount to be created during installation and whether the password is hidden in the unattended installation answer file.
子項目Child Elements
設定Setting | 描述Description |
---|---|
PlainTextPlainText | 指定是否LocalAccount隱藏回應檔案中的密碼。Specifies whether the LocalAccount password is hidden in the answer file. |
值Value | 指定LocalAccount密碼。Specifies the LocalAccount password. |
有效的設定階段Valid Configuration Passes
auditSystemauditSystem
oobeSystemoobeSystem
父階層Parent Hierarchy
Microsoft-Windows-Shell-Setup | UserAccounts | LocalAccounts | LocalAccount | PasswordMicrosoft-Windows-Shell-Setup | UserAccounts | LocalAccounts | LocalAccount | Password
套用至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 輸出會顯示如何設定UserAccounts。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>