The trust relationship between this workstation and the primary domain failed
Posted on April 18th, 2016 by Bert Zefat
Sometimes, and in my case after a failes “Migrate to production” of a server (as the ESX host died on me while migrating). After a Full VM Recovery the server won’t logon to the domain.
What to do:
Open a Command Prompt as Administrator (logged on localy)
And enter following command:
netdom.exe resetpwd /s:<server> /ud:<user> /pd:*
Where:
<server>
is the domain controller of the domain. <user> is the domain\user administrator user for the domain. the pd:* will ask you for the password. You should recieve a success. REBOOT and logon to the domain.