Search
Join the Technical Preview Program
See how NVMe-oF removes iSCSI
bottlenecks in your HCI
The Best Hyperconverged
Infrastructure
(HCI) for Enterprise
ROBO, SMB & Edge
The Best Virtual SAN
for Enterprise ROBO, SMB & Edge

ERROR_Access_Denied after joigning a VM to a domain

  • September 19, 2019
  • 3 min read
Cloud and Virtualization Architect and Microsoft MVP. Florent specializes in public, private, and hybrid cloud ecosystems. An MCSE in Private Cloud, he provides technical leadership in Cloud and Datacenter Management. Florent delivers high-authority insights on Azure deployments, virtualization strategy, and optimizing enterprise-scale cloud infrastructure.
Cloud and Virtualization Architect and Microsoft MVP. Florent specializes in public, private, and hybrid cloud ecosystems. An MCSE in Private Cloud, he provides technical leadership in Cloud and Datacenter Management. Florent delivers high-authority insights on Azure deployments, virtualization strategy, and optimizing enterprise-scale cloud infrastructure.

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:

netdom /resetpwd /server:yourdomaincontroller /userd:youradminaccount /passwordd:*

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!