The trust relationship between this workstation and the primary domain has failed
May 31, 2022 at 11:56 am Leave a comment
Very frequently , you may have faced the above error while trying to login to domain from your PC / Server login. Additionally ,when you review the Event viewer the NETLOGON Event ID 3210 , 130 & 8019 would have been logged as well.
In this case(Incase , if you have credentials for the local administrator).
– Login as Local Administrator
– Open the Powershell
– Run the PS command Test-ComputerSecureChannel ( The output will be false)
This will prove the Secure channel to the AD is broken, unlike earlier , whereas we need to disjoin the workstation/station from the domain and rejoin it , we can use the same PS command to fix the issue.
– Type : $cred=Get-Credential (Enter the username and the password of domain administrator or any user who has rights to add computers to the domain)
– Test-ComputerSecureChannel -Credential $cred -Repair (You will get the output as True).
Restart the computer and everything should be working as normal.
NOTE: – Incase if you skip the credential variable and try to enter the credentials manually , the command will fail.
Entry filed under: Windows. Tags: 130, 3210, 8019, netlogon, secure channel, Test-ComputerSecureChannel, trust relationship.
Trackback this post | Subscribe to the comments via RSS Feed