Value (microsoft-windows-shell-setup-useraccounts-administratorpassword-value)

Value 指定 AdministratorPassword。 如果计算机连接到域,此值必须满足域密码复杂性要求。

若要配置空白管理员密码,请右键单击 Value 设置,然后选择“写入空字符串”,在 Windows 系统映像管理器 (Windows SIM) 中写入空字符串。 使用空白密码启用内置管理员帐户。

警告:创建空白管理员密码存在安全风险

密码

指定 AdministratorPassword。 Password 是一个字符串。

该字符串类型支持空元素。

有效配置阶段

auditSystem

oobeSystem

父层次结构

Microsoft-Windows-Shell-Setup | UserAccounts| AdministratorPassword | Value

应用于

有关此组件支持的受支持 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-Shell-Setup

XML 示例

以下 XML 输出演示了如何设置 UserAccounts

<UserAccounts>
   <AdministratorPassword>
      <Value>cAB3AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
      <PlainText>false</PlainText>
   </AdministratorPassword>
</UserAccounts>

AdministratorPassword