Navigation

7/31/2017

Fixing Trust relationship has failed error - Windows

Have a number of PCs that randomly give the "Trust relationship has failed"  domain error,   to fix without leaving and rejoining domain, use these Powershell commands:

Open PowerShell as administrator. Run this command sequence:
$credential = Get-Credential – (enter domain admin account when prompted)
Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere



From spiceworks



Open PowerShell as administrator. Run this command sequence:
$credential = Get-Credential – (enter domain admin account when prompted)
Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere -Credential
$credential

No comments:

Post a Comment