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:
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:
1 |
<strong>netdom /resetpwd /server:yourdomaincontroller /userd:youradminaccount /passwordd:*</strong> |
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.