The trust relationship between this workstation and the primary domain failed Windows 2012 R2 Hyper-V
‘
After working with Hyper-V and Snap shots, you may find that a previously working domain member machine gets this error message. This is because the Domain Controller will automatically update passwords of Machine Accounts every 30 days, and a restored snapshot may not match the new pass.
The solution
- On the effected client machine open PowerShell
- 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 Domain\Adaccount” (You will be prompted for the domain password).
- After running this give the client machine a restart
After Reboot, the server will function correctly.