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.

Hey! Found Florent’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Creating a hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Secure your personalized StarWind Virtual HCI Appliance demo today!