The trust relations between this workstation and the primary domain failed

 

image

Ok you get this error. How to repair it correctly. I get it today and like always I know that I need to reset computer account password. Usually people rejoin computer to domain. but here is simpler solutions, or at least similar when it comes to time consumption.

First of all you need to log in. If you don’t know local admin password disconnect network card and login with your domain password that is cached in computer. After you log in connect network card again.

Now open Powershell and test you secure channel and if it gives you false repair it. Use Get-Credential only if you don’t have enough rights for changing computer object.

Test-ComputerSecureChannel -Verbose
Test-ComputerSecureChannel -Repair -Credential (Get-Credential) -Verbose

image

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s