You can instruct target devices to either join a domain or a workgroup after the OS is installed. Workgroup mode is the default. To instruct targets to join a domain, modify the following element:
<component name="Microsoft-Windows-UnattendedJoin" ... >
<Identification>
<Credentials>
<Domain></Domain>
<Password></Password>
<Username></Username>
</Credentials>
<JoinDomain></JoinDomain>
</Identification>
</component>
For example:
<component name="Microsoft-Windows-UnattendedJoin" ...>
<Identification>
<Credentials>
<Domain>lan.mycompany.com.de</Domain>
<Password>T3ch3d08</Password>
<Username>administrator</Username>
</Credentials>
<JoinDomain>lan.mycompany.com.de</JoinDomain>
</Identification>
</component>
Note: The user specified must have an access level sufficient to join the domain.
Note: If any of this information is missing or incorrect, the device will join a workgroup instead of a domain.
Note: If the target device was previously managed by HPCA, and the device was previously a member of a domain, the stored domain information will override the contents of the <Domain>
and <JoinDomain>
elements in the unattend.xml
file.
Note: Any information that is set centrally—for example, by using an OS management script to set the domain—will override information in unattend.xml
.
See the “JoinDomain” topic in the Unattend.chm
help file included in the Windows AIK for more information.