純文字 (microsoft-windows-shell-設定-useraccounts-localaccounts-localaccount-密碼-純文字) PlainText (microsoft-windows-shell-setup-useraccounts-localaccounts-localaccount-password-plaintext)
PlainText
指定自動安裝回應檔案中是否隱藏 LocalAccount/密碼/值 。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. 選取 [工具] 功能表上的 [隱藏敏感性資料],即可使用回應檔案中的設定來隱藏所有密碼 PlainText
。Select Hide sensitive data on the Tools menu to hide all passwords with a PlainText
setting in your answer file.
值Values
truetrue |
指定密碼以純文字形式出現在回應檔案中。Specifies that the password appears in plain text in the answer file. 這是預設值。This is the default value. |
falsefalse |
指定在回應檔案中隱藏密碼。Specifies that the password is hidden in the answer file. |
注意Note
此元素會出現在 [Windows 系統管理員 屬性] 窗格的 [設定] 列上方。This element appears above the Settings bar in the Properties pane of Windows System Manager. 即使您已選取 [隱藏敏感性資料],也會在使用者介面 (UI) 中,一律會顯示為 true 。It always appears as true in the user interface (UI), even if you have selected Hide sensitive data.
有效的設定階段Valid Configuration Passes
auditSystemauditSystem
oobeSystemoobeSystem
父階層Parent Hierarchy
Microsoft-Windows-Shell-設定 | UserAccounts | LocalAccounts | LocalAccount | 密碼 | 純文字Microsoft-Windows-Shell-Setup | UserAccounts | LocalAccounts | LocalAccount | Password | PlainText
套用至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>