---
title: "The Trust Relationship Between This Workstation and the Primary Domain Failed"
canonical: "https://techwiki.co.uk/general/the-trust-relationship-between-this-workstation-and-the-primary-domain-failed"
author: "Adam Birds"
article_type: "documentation"
published: "2026-08-10T23:29:52.977Z"
updated: "2026-08-10T23:29:52.977Z"
categories: ["General"]
tags: []
---When you get the **The Trust Relationship Between This Workstation and the Primary Domain Failed** error run the below in **Powershell** as **Administrator**:

```

Test-ComputerSecureChannel -Repair -Credential (get-credential)

```

Then enter your **Domain Admin Credentials**
