Friday, April 1, 2016

The trust relationship between this workstation and the primary domain failed

some much time has been wasted by so much people in past and now it can be resolved quickly.
ideally this happens when you clone a VM or a 2 VM have same name connected to a single AD
steps rename the new server and restart

  1. log on as local admin using .\administrator and password
  2. open PowerShell as in run as administrator mode
  3.  $credential = Get-Credential – (enter domain admin account when prompted)
  4. in an other command propmpt try to get the AD name using nbtstat –a target ip or ping –a target IP
  5. Reset-ComputerMachinePassword –Server [ClosestDomainControllerNameHere]
  6. enjoy :

No comments: