Export (0) Print
Expand All

JoinDomain

JoinDomain specifies the name of the domain to join. If this value is set, JoinWorkgroup cannot be set.

Values

 

Domain_name

Specifies the name of the domain to join during Windows Setup. Domain_name can be the fully qualified Domain Name System (DNS) name of the domain or the NetBIOS name of the domain. Domain_name is a string.

You can specify either a domain to join or a workgroup to assign, by using the JoinDomain or JoinWorkgroup settings, respectively. However, only one of these settings should be present in an answer file. If both exist in an answer file, the value for JoinDomain is used, and JoinWorkgroup is ignored.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

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.

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

See Also

Concepts

Identification

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft