纯文本 (offlineuseraccounts-offlineadministratorpassword-纯文本) PlainText (microsoft-windows-shell-setup-offlineuseraccounts-offlineadministratorpassword-plaintext)

PlainText 指定 OfflineAdministratorPassword 是否隐藏在无人参与安装答案文件中。PlainText specifies whether the OfflineAdministratorPassword is hidden in the unattended installation answer file.

注意Note
仅可使用此设置隐藏脱机用户帐户的密码。You can only use this setting to hide the passwords for offline user accounts only. 不隐藏域帐户密码。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

指定 OfflineAdministratorPassword 以纯文本形式出现在答案文件中。Specifies that the OfflineAdministratorPassword appears in plain text in the answer file. 这是默认值。This is the default value.

falsefalse

指定 OfflineAdministratorPassword 在答案文件中隐藏。Specifies that the OfflineAdministratorPassword is hidden in the answer file.

注意Note
此元素显示在 Windows 系统管理器的 "属性" 窗格中的 "设置" 栏上方。This element appears above the Settings bar in the Properties pane of Windows System Manager. 即使选择了 "隐藏敏感数据",它在用户界面 (UI) 中始终显示为 trueIt always appears as true in the user interface (UI), even if you have selected Hide sensitive data.

有效的配置阶段Valid Configuration Passes

offlineServicingofflineServicing

父层次结构Parent Hierarchy

Microsoft-Shell-安装程序 | OfflineUserAccounts | OfflineAdministratorPassword | 纯文本Microsoft-Windows-Shell-Setup | OfflineUserAccounts | OfflineAdministratorPassword | PlainText

适用于Applies To

Windows 10 桌面版(家庭版、专业版、企业版和教育版)Windows 10 for desktop editions (Home, Pro, Enterprise, and Education)

Windows Server 2016Windows Server 2016

有关此组件支持的 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 输出显示了如何设置 OfflineUserAccounts的密码。The following XML output shows how to set the password for OfflineUserAccounts.

<OfflineUserAccounts>
   <OfflineAdministratorPassword>
      <Value>cAB3AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
      <PlainText>false</PlainText>
   </OfflineAdministratorPassword>
</OfflineUserAccounts>