The trust relationship between this workstation and the primary domain failed

The trust relationship between this workstation and the primary domain failed

You might not be able to logon to your computer and Windows will sat that The trust relationship between this workstation and the primary domain failed.

image

Typical this will mean that the secure channel with the domain is broken, as explained in this post:

http://blogs.technet.com/b/asiasupp/archive/2007/01/18/typical-symptoms-when-secure-channel-is-broken.aspx

Nowadays we are able to use PowerShell on the failing workstation to fix the issue.

Logon to the workstation with a local administrative user or disconnect the network and logon with a domain administrative user that has previously been logged on to this workstation. By disconnecting the network we can sign in with cached credentials without checking the trust relationship.

When logged on remember to connect the network again and start PowerShell as administrator.

image

Now use this PowerShell command replacing DC with your domain controller and domainuser with a valid domain and administrative user:

Reset-ComputerMachinePassword -Server DC –Credential domainuser

image

You will be prompted for the password:

image

After the change sign off and try to sign in again, now the trust relationship should work.

http://technet.microsoft.com/en-us/library/hh849751.aspx

But it will only work if you use PowerShell version 3.0 Windows Management Framework 3.0

Table of Contents

Share this post
Search blog posts
Authors
Modern Workplace consultant and a Microsoft MVP in Enterprise Mobility.
Modern Workplace consultant and a Microsoft MVP in Windows and Devices for IT.

Infrastructure architect with focus on Windows Client management & security.

Cloud & security specialist with focus on Microsoft backend products and cloud technologies.

Infrastructure architect with focus on design, implementation, migration and consolidation.

Infrastructure consultant with focus on cloud solutions in Office365 and Azure.

follow us in feedly
Categories

Follow on SoMe