How to resolve “The trust relationship between this workstation and the primary domain failed”

0
5848

Sometimes, you receive the alert “The trust relationship between this workstation and primary domain failed” when you login to the computer that joined to the domain. There are many ways to resolve this issue. Through this article, I will show you how to resolve this issue using PowerShell command.
Step 1. Login to the problematic computer using local Administrator Account.
Step 2. Open PowerShell and run as Administrator.
Step 3. Type $credential = Get-Credential and press Enter. Once the password dialog box appears, enter the domain admin credential. This step is to save the user/password into $credential variable.
Step 4. Type Reset-ComputerMachinePassword -Credential $credential and press Enter
Step 5. Restart the computer. You can also type Restart-Computer -Force in the PowerShell to restart the local computer.

We hope this article can help you to resolve The TrustRelationship issue using PowerShell command. If you liked this article, then please share with the others. You can also find us on Twitter and Facebook.

LEAVE A REPLY

Please enter your comment!
Please enter your name here