Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

ERROR_Access_Denied after joigning a VM to a domain

  • September 19, 2019
  • 3 min read
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.
Cloud and Virtualization Architect. Florent is specializing in public, hybrid, and private cloud technologies. He is a Microsoft MVP in Cloud and Datacenter Management and an MCSE in Private Cloud.

Microsoft active directory

After joining a new VM to a domain, I was not able to connect, with a domain account to my VM. I logged in with a local account and I had the following error, after executing nltest /sc_query:yourdomain.be:

Error, after executing nltest /sc_query:yourdomain.be:

I tried to do a nltest /sc_reset:yourdomain.be, same result.

I tried to reset the password of the computer account in the AD, with the following command:

Reset the password of the computer account in the AD

It will ask you the password for the admin account. After that, if you do a nltest /sc_query:yourdomain.be, you’ll always have the same error as before. Do a nltest /sc_reset:yourdomain.be and you will see that now, the connection status is SUCCESS. You can now connect to your VM with a domain account.

Found Florent’s article helpful? Looking for a reliable, high-performance, and cost-effective shared storage solution for your production cluster?
Dmytro Malynka
Dmytro Malynka StarWind Virtual SAN Product Manager
We’ve got you covered! StarWind Virtual SAN (VSAN) is specifically designed to provide highly-available shared storage for Hyper-V, vSphere, and KVM clusters. With StarWind VSAN, simplicity is key: utilize the local disks of your hypervisor hosts and create shared HA storage for your VMs. Interested in learning more? Book a short StarWind VSAN demo now and see it in action!