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.

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! Building a new 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? Book your StarWind Virtual HCI Appliance demo today!