If you are trying to restore VMs (or physical machines) and it shows the trust relationship between this workstation and the primary domain failed, I won’t recommend using rejoin domain to solve issues, because it will happen unexpected issues after disjoin and rejoin domain.

Today, I am going to show you how to fix it without disjoin and rejoin domain.

1.Remove network connection (unplug ethernet cable).

2.Login with domain credentials or local administrator.

3.Re-Add network (Plug-in Ethernet cable).

4.Open PowerShell cmdlet Run as Administrator.

5.Click Yes at User Access Control page.

6.Run cmdlet as follow, and then enter domain admin user password, click OK.

Reset-ComputerMachinePassword -Server DomainController -Credential DomainAdmin.


Reset-ComputerMachinePassword -Server CGY-DC01 -Credential gdmcgy\csun

7.Sign out and then try to sign in again.

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com