Knowledgebase:
How to fix 'The trust relationship between this workstation and the primary domain failed' using PowerShell
Posted by Kevin Lyons, Last modified by Kevin Lyons on 07/09/17 12:04

The Reset-ComputerMachinePassword cmdlet changes the computer account password that the computers use to authenticate to the domain controllers in the domain. You can use it to reset the password of the local computer.

Log on as a local Administrator, launch PowerShell as Administrator

Type in the following cmdlet:

Reset-ComputerMachinePassword -Server "your domain controller" -Credential yourdomain\domainadministratorusername

(2 vote(s))
Helpful
Not helpful

Comments (0)