The trust relationship between this workstation and the primary domain failed

Switch User and log in as .\administrator 

Open PowerShell as administrator.

Run below command and enter domain admin credential account when prompted

$credential = Get-Credential 
Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere

If above doesn’t work simply rejoin domain.

Leave a Comment

Your email address will not be published. Required fields are marked *