Compartir a través de


AccountData

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

AccountData specifies account data used when joining a domain.

Note

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

    Example:

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

Values

AccountData

Specifies account data used when joining a domain.

AccountData is a string.

This string type supports empty elements.

Valid Configuration Passes

specialize

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.

<Identification>
<Provisioning>
<AccountData>BASE64-ENCODED-BLOB</AccountData>
</Provisioning>
</Identification>

See Also

Concepts

Provisioning