VMware {code} Community
abassoonkid
Contributor
Contributor

Joining VM to Domain

I'm attempting to join VMs to a domain using the guest customization settings when deploying from a template. After the VM finishes, it is not joined to the domain as specified, and when I look at the logs, they say "NetJoinDomain failed error code is [5]," which after looking up means that the credentials I was using for the join don't have the appropriate permissions. The credentials I have only have permissions to join to a particular OU.

So the question: Is there a way to specify a particular OU when deploying a VM, whether through the CustomizationSysprep object or otherwise?

0 Kudos
0 Replies