Forum breadcrumbs – You are here:Tracston Community Forum – DevOps, Micro Services, Cloud, Infrastructure, Development, Monitoring and more…System: WindowsRejoin computer to the Active Dir …
You need to log in to create posts and topics.
Rejoin computer to the Active Directory Domain

moshe@moshe
#1 · 20/10/2020, 8:03 am
Quote from moshe on 20/10/2020, 8:03 amProblem
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
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
Click for thumbs down.0Click for thumbs up.0
If you have found my website, guides, articles or videos useful, please buy me a coffee