The trust relationship between this workstation and the primary domain failed

2017-12-11T11:59:03+00:00 March 24th, 2014|Azure, Cloud, Windows|

Here’s a nice quick fix, if you get a machine that drops off your domain and you receive the following error when trying to log on “The trust relationship between this workstation and the primary domain failed”

Steps to Resolve

  1. On the effected client machine open PowerShell
  2. Run the following command “Reset-ComputerMachinePassword” or specify the credentials switch if the account your running PowerShell with doesn’t have the correct AD perms for the CMDlet “Reset-ComputerMachinePassword –credential DomainAdaccount”
  3. After running this give the client machine a restart

After the above steps the client will be back on the domain and as happy as Larry J