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

Value 指定 AdministratorPasswordValue specifies the AdministratorPassword. 如果计算机已连接到域,则此值必须满足域密码复杂性要求。If the computer is connected to a domain, this value must meet domain password complexity requirements.

若要配置空白管理员密码,请在 Windows 系统映像管理器中写入一个空字符串 (Windows SIM) ,方法是右键单击该 Value 设置,然后选择 " 写入空字符串"。To configure a blank administrator password, write an empty string in Windows System Image Manager (Windows SIM) by right-clicking on the Value setting, and choose Write Empty String. 将使用空白密码启用内置 administrator 帐户。The built-in administrator account will be enabled with a blank password.

警告Caution
创建空白管理员密码会带来安全风险。Creating a blank administrator password is a security risk.

Values

密码Password

指定 AdministratorPasswordSpecifies the AdministratorPassword. Password 是一个字符串。Password is a string.

该字符串类型支持空元素。This string type supports empty elements.

有效的配置阶段Valid Configuration Passes

auditSystemauditSystem

oobeSystemoobeSystem

父层次结构Parent Hierarchy

Microsoft-Shell-安装程序 | UserAccounts | AdministratorPassword | Microsoft-Windows-Shell-Setup | UserAccounts| AdministratorPassword | Value

适用于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 输出显示了如何设置 UserAccountsThe following XML output shows how to set UserAccounts.

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

AdministratorPasswordAdministratorPassword