PlainText (microsoft-windows-shell-setup-useraccounts-localaccounts-localaccount-password-plaiNtext)
PlainText
會指定自動安裝回應檔案中是否隱藏 LocalAccount/Password/Value 。
注意 您只能使用此設定來隱藏本機帳戶 的密碼。 網域帳戶密碼不會隱藏。
您無法直接設定此值。 選取 [工具] 功能表上的[隱藏敏感性資料],以隱藏回應檔案中設定 PlainText
的所有密碼。
值
true |
指定密碼出現在回應檔案中的純文字中。 這是預設值。 |
false |
指定密碼隱藏在回應檔案中。 |
注意這個專案會出現在 Windows System Manager 的 [屬性] 窗格中的 [設定] 列上方。 即使您已選取 [隱藏敏感性資料],它一律會在使用者介面 (UI) 中顯示為true。
有效的設定階段
auditSystem
oobeSystem
父階層
Microsoft-Windows-Shell-Setup | UserAccounts | LocalAccounts | LocalAccount | 密碼 | 明文
套用至
如需此元件支援的 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>