Username
Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista
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
Microsoft-Windows-UnattendedJoin | Identification | Credentials | Username
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.
<Identification>
<Credentials>
<Domain>fabrikam.com</Domain>
<Password>MyPassword</Password>
<Username>MyUserName</Username>
</Credentials>
<JoinDomain>fabrikam.com</JoinDomain>
<MachinePassword>ComputerPassword</MachinePassword>
</Identification>