AccountData specifies account data used when joining a domain.

Use either Provisioning or Credentials to join an account to the domain. The settings in Provisioning will be used to join the account to the domain, if values are entered for both the Provisioning and Credentials settings.

For information about joining a domain using Provisioning, see the MSDN topic, NetJoin.

To generate the AccountData information:

  1. Use the command:

    djoin.exe /provision /domain domainname /machine machinename /savefile filename


    djoin.exe /provision /domain /machine machinename /savefile AccountData.txt
  2. Copy and paste the contents of AccountData.txt to the answer file.



Specifies account data used when joining a domain.

AccountData is a string.

This string type supports empty elements.

Valid Configuration Passes


Parent Hierarchy

Microsoft-Windows-UnattendedJoin | Identification | Provisioning| AccountData

Applies To

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

XML Example

The following XML output shows how to set the Provisioning settings.