Read-only archive. These discussions are from Tracston's earlier
technical forum and are kept online because the answers are still useful.
New replies are closed. Need help with something like this?
Talk to us.
Question
20 Oct 2020
Problem
User gets the following message when logging to a windows machine that says "The trust relationship between this workstation and the primary domain failed"
Solution
- Open RDP in admin mode: Go to > Run > type mstsc /admin and hit enter RDP will use admin mode
login to the machine using local admin username: .\myadminuser
password can be found in keeper - open PowerShell as administrator and run the following command:
Test-ComputerSecureChannel -repair -Credential (Get-Credential)
when you hit enter you be prompted to enter credentials
use your username and password: mydomain\myadminuser - Logout and log in normally with your username and check if it works
Need this fixed properly?
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →