Wednesday, August 20, 2014

An authentication error has occurred the local security cannot be contacted

You have a WS12 machine connected to a domain and snapshot created. After you revert to this snapshot after an elapse of few days, you won't be able to login as domain admin on the member server.

I see an error "an authentication error has occurred the local security cannot be contacted" or "trust relation between this computer and primary domain failed".

Here's what you do:


  • Run the following command from powershell:

Reset-ComputerMachinePassword -Server -Credential
so for eg:
Reset-ComputerMachinePassword -Server MYDC -Credential WIDGET\Administrator


  • This will give you a user/pass pop-up. Just enter the domain admin password and press OK.
  • You will see no response on the powershell window.
  • Reboot the machine.
After this you should be able to login back as domain admin on the member server.



Labels: