Share via


Domain

Domain specifies the domain to which the computer is logging on.

Values

Domain

Specifies the domain to which the computer is logging on. Domain is a string with a maximum length of 256 characters.

This string type supports empty elements.

Valid Passes

auditSystem

oobeSystem

specialize

Parent Hierarchy

Microsoft-Windows-Shell-Setup | AutoLogon | Domain

Applies To

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

XML Example

The following XML output shows how to set autologon.

<AutoLogon>
   <Password>
      <Value>MyPassword</Value> 
      <PlainText>true</PlainText>
   </Password>
   <Domain>FabrikamDomain</Domain>
   <Enabled>true</Enabled> 
   <LogonCount>2</LogonCount> 
   <Username>MyUserName</Username> 
</AutoLogon>

See Also

Concepts

AutoLogon