Forum Navigation
You need to log in to create posts and topics.

Rejoin computer to the Active Directory Domain

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

  1. 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
  2. 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
  3. Logout and log in normally with your username and check if it works