Username specifies the name of the user account with permission to add the computer to a domain during Windows Setup.

Values

User_name

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

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 Passes

specialize

Parent Hierarchy

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-UnattendedJoin.

XML Example

The following XML output shows how to set the identification credentials.

  Copy Code
<Identification>
   <Credentials>
	<Domain>fabrikam.com</Domain>
	<Password>MyPassword</Password>
	<Username>MyUserName</Username>
   </Credentials>
   <JoinDomain>fabrikam.com</JoinDomain>
   <MachinePassword>ComputerPassword</MachinePassword>
</Identification>

See Also

Concepts

Credentials