If you tried 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.
Web Site: carysun.com
Blog Site: checkyourlogs.net
Blog Site: gooddealmart.com
Author: Cary Sun
Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA