The Join Domain predefined task allows a Windows virtual machine to join an Active Directory domain as part of the deployment process. The predefined task starts the Windows Domain Manager Netdom.exe utility, to automate this operation.

With the predefined task, you do not need to manually configure a Windows virtual machine template with static domain settings and you can customize the task. The predefined task requires an extra restart cycle to complete the process of joining an Active Directory domain.

Log in to vCloud Application Director with a user account that belongs to the Default group.

Verify that your user account has the ROLE_DEPLOYER deployer role assigned to it.

Verify that vCloud Application Director is configured to use a proxy. See Configure vCloud Application Director to Use a Proxy for External URLs.

For multiple deployments, manually enable the Change SID and Domain Join options for a Windows virtual machine template before you deploy an application. See Enable SID Change and Domain Join for Windows Virtual Machine Templates.


On the vCloud Application Director title bar, click the drop-down menu and select Applications.


Click the name of a Windows-based application.

A list of application versions appear.


Select an application version.


Create a deployment profile.


In the Deployment Profile wizard, follow the prompts to Execution Plan.


If the node is clustered, click the Expand Cluster button (Expand cluster button).

If the clustered node is not expanded, the predefined task is added only to the first virtual machine in the cluster.


Click the Add Script Task button (Add a script task) and drag a predefined task in the blueprint.

When you drag a predefined task, you see anchors (Task anchor) that indicate where you can drop the predefined task.

After you drag and drop a predefined task to a node, the Add Custom Task dialog box opens.


Select the predefined task from the Catalog Task Name drop-down menu.

The supported operating systems, predefined task details, script, and property details appear in the dialog box.


On the Properties tab, configure the properties.


Select the domain_name property, type a new name for the Windows domain in the Edit Property dialog box, and click Save.


Select the domain_user property, specify the name of the domain user who can join the Active Directory in the Edit Property dialog box, and click Save.


Select the domain_password property, type the domain user password in the Edit Property dialog box, and click Save.


(Optional) Select the apply_ou property, change the new value to Yes in the Edit Property dialog box to allow a specific organization unit in the Active Directory domain to join a Windows virtual machine, and click Save.


(Optional) Select the domain_ou property, specify the organization unit in the Active Directory domain in the Edit Property dialog box, and click Save.


Click OK to close the Edit Property dialog box.

The Join Domain predefined task is added to the execution plan.


Review the deployment profile settings and deploy the application.

Explore whether to add a customized task to the vCloud Application Director catalog. See Add a Custom Task to the Catalog.