Submit a request

Nerdio Help Center

Troubleshooting Active Directory Domain Join Errors in Nerdio Manager for MSP

When a new VM is provisioned in the Nerdio Manager for MSP (desktop image or session host) it joins the AD domain (by default) using AD information provided during the initial installation process.  The follow steps are performed by the new VM.

  1. New Azure VM is created and it obtained DNS server(s) specified on the vNet
  2. Using the AD domain name provided during installation (or on host pool properties), the VM looks up the domain controller (DC) using the DNS server it obtained when created
  3. DNS server provides the VM with a DC record
  4. VM tries to join the domain by connecting to the provided DC using the user credentials provided during installation (or on host pool properties)
  5. VM tries to create an AD compute object in the OU provided during installation (or on host pool properties)

A failure in any of the above steps will result in an AD Domain join error.  Here are some suggestions to try and troubleshoot the problem.

  1. Review C:\WINDOWS\Debug\NetSetup.log on the VM that's failing to join the domain.
  2. There should be a custom DNS specified on the vNet.  This custom DNS must be AD-aware.  If DNS wasn't set properly and then correct, be sure to restart the VM.
  3. VM should be able to communicate with this DNS server.
  4. VM should be able to communicate with the domain controller responsible for domain join.  This should ideally be a VM in Azure "close" to the VM.
  5. Ensure that the OU specified is in DN format and is present on the domain controller that's being used to join the domain.  Make sure there are no domain replication problems.  
  6. The user (service account) being used to join the domain should have ability to create (and disable) computer objects in the target OU.  Try using a known working account to join the domain.
    • Note: Standard user accounts (by default) have the ability to join up to 10 session hosts to the domain. We recommend using a service account with delegated permissions for joining and removing an unlimited number of computers in the domain.
  7. Ensure that the user account is specified in UPN (user@addomain.local) or domain\user format.
  8. Test the validity of the OU by leaving the field blank, which will create the computer objects in the default location (e.g. Computers container).

To attempt the domain join again without deleting and recreating the VM, simply click on the Resume next next to the TASK in error state in Nerdio Manager for MSP.

Was this article helpful?
2 out of 2 found this helpful

Comments

Article is closed for comments.