The trust relationship between this workstation and the primary domain failed

Anonymous
2024-06-13T11:42:00+00:00

The “trust relationship between this workstation and the primary domain failed” error occurs when the computer is no longer trusted in the domain. The secure channel between the workstation and Active Directory is missing. Here are some methods to resolve this issue:

  1. Rejoin the Domain (Recommended):
    • Unjoin the computer from the domain.
    • Rejoin it to the domain.
    • This process requires a reboot but is straightforward and takes about 5 minutes.
  2. PowerShell Method:
    • Use the Test-ComputerSecureChannel cmdlet (available in Windows 10).
    • Run the following command in PowerShell: Test-ComputerSecureChannel -Repair This command repairs the secure channel without rebooting or resetting the device2. Manual Rejoin: Right-click on “This PC” (or “My Computer”) and select “Properties.” Click on “Change settings” next to “Computer name, domain, and workgroup settings.” Click “Change” and select “Domain.” Enter the domain name and provide credentials. Restart the computer when prompted.
Windows for business | Windows Server | Directory services | User logon and profiles

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-06-13T11:57:06+00:00

    Hello Muhammad-Nadeem,

    Thank you for posting in Microsoft Community forum.

    Thank you for your update and sharing.

    Do you have any problem about this thread? If so, please feel free to let us know.

    Have a nice day!

    Best Regards,

    Daisy Zhou

    0 comments No comments