The trust relationship between this workstation and the primary domain failed

Aug 25
The trust relationship between this workstation and the primary domain failed

 

If you receive this message on a vm that previously worked, the following PowerShell command may fix your problem. First you will have to log in as the local computer admin, and run the following PowerShell commandlets:

Test-ComputerSecureChannel -verbose

Test-ComputerSecureChannel -repair -verbose

 Note: -verbose is optional, as is the first commandlet:

8-26-2013 3-08-46 PM.jpg  After a reboot, you should now be able to login with the domain account again.