HOW TO: Fix "The trust relationship between this workstation and the primary domain failed"
  • KB ID: AA-00957
  • Created: 03/02/2017 5:47 PM
  • Updated: 03/02/2017 5:48 PM
  • Views: 6095
  • 1 Ratings

Summary

If you do not use a machine for a certain amount of time ir e.g. if you reset a virtual machine to a certain snapshot it can happen that you will get the windows error:
"The trust relationship between this workstation and the primary domain failed"


More Information

To overcome this problem there is a method using PowerShell to reset the machine password (instead of doing hard work with a domain re-join)

Go to the problem machine and execute the following PowerShell command (with enough rights):

$cred = Get-Credential
Reset-ComputerMachinePassword -Credential $cred


Keywords

trust, relationship, rejoin, domain, PowerShell, reset


Products

C6, C7

Feedback

Did you find this article helpful?

© 2000-2018 Brainware Consulting & Development AG     Impressum / Legal Notice  |  Datenschutz / Privacy Policy