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 is a string.

此字串類型支援空元素。This string type supports empty elements.

有效的設定階段Valid Configuration Passes

auditSystemauditSystem

oobeSystemoobeSystem

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | UserAccounts| AdministratorPassword | ValueMicrosoft-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