Username 指定在 Windows 安裝期間,將電腦加入網域的權限的使用者帳戶的名稱。Username specifies the name of the user account with permission to add the computer to a domain during Windows Setup.



指定的權限在網域中建立電腦帳戶,或使用現有的電腦帳戶在網域中的使用者帳戶的名稱。Specifies the name of the user account with permission to create a computer account in a domain or to use an existing computer account in a domain. User_name是一個字串。User_name is a string.

使用者名稱可以是使用者主體名稱 (UPN) 格式 (使用者@fully_qualified_DNS_domain_name),網域 \ 使用者名稱格式,或是完全-限定-DNS-domain\username 的格式。The value for Username can be in user principal name (UPN) format (user@fully_qualified_DNS_domain_name), domain\username format, or fully-qualified-DNS-domain\username format. 如果指定任何一種格式,則網域必須排除設定。If any of these formats is specified, the Domain setting must be excluded.

此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes


父階層Parent Hierarchy

Microsoft-Windows-UnattendedJoin | Identification | Credentials | UsernameMicrosoft-Windows-UnattendedJoin | Identification | Credentials | Username

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱Microsoft-Windows-Microsoft-windows-unattendedjoinFor the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-UnattendedJoin.

XML 範例XML Example

下列的 XML 輸出會顯示如何設定識別認證。The following XML output shows how to set the identification credentials.