The trust relationship between this workstation and the primary domain failed Windows Server 2022

If you receive the error "The Trust Relationship Between this Workstation and the Primary Domain Failed" when you try to login in your domain or when you try to access a shared folder on another machine on the domain, continue reading below to resolve the problem.

The error "Trust Relationship Between Workstation and Primary Domain Failed", can appear for the following reasons:

  • The Computer has the same name as another computer in the Domain.
  • The Domain Credentials (Username or Password) are invalid.
  • The computer's account has expired. *

* Note: Some organizations prebuild computers (or computer clones) for later use. If the computer's account has expired, it will no longer be able to authenticate with the domain. At such cases, computers that cannot authenticate with the domain must be removed from the domain and rejoined to it. (step-4)

The trust relationship between this workstation and the primary domain failed Windows Server 2022

How to FIX: Trust Relationship Between Workstation and Domain Failed.

Method 1. Verify that Domain Credentials are Correct.

First of all make sure the credentials are correct and especially the password. if you have cloned the machine from a computer image taken in the past and since then the code has changed.

Method 2. Check for Duplicate Computer Names.

Make sure that the computer name is unique and there is no other computer on the network with the same name.

Method 3. Check for Duplicate IP addresses.

Ensure that the Computer's IP Address is unique and does not conflict with another IP Address on the Network.

Method 4. Remove and Re-Join the Computer in the Domain.

The usual method for correcting a trust relationship between a computer and a domain is to remove and re-add the affected computer to the domain.

Step 1. Delete Computer Account from the Domain.

1. Login to the Active Directory Server.
2. Open Active Directory Users and Computers.
3. Expand the Computers container.
4. Right-click on the affected computer and select Delete.

The trust relationship between this workstation and the primary domain failed Windows Server 2022

Step 1. Remove and re-Join Computer in the Domain.

1. Login to the affected computer with the LOCAL Administrator account (Computer name\Administrator).

2. Press Windows

The trust relationship between this workstation and the primary domain failed Windows Server 2022
+ R keys to open the run command box.

2a. Type sysdm.cpl & click OK.

The trust relationship between this workstation and the primary domain failed Windows Server 2022

3. At 'Computer Name' tab, click Change.

The trust relationship between this workstation and the primary domain failed Windows Server 2022

4. At Member of, select Workgroup, type a workgroup name (e.g." WORKGROUP") and click OK.

The trust relationship between this workstation and the primary domain failed Windows Server 2022

5. Type the Administrator's credentials and click OK.
6. Restart the computer.

7. Perform the steps 1-4 again but this time, at step-4, select Domain, type the Domain Name and click OK.

The trust relationship between this workstation and the primary domain failed Windows Server 2022

8. Type the Domain Administrator credentials and click OK.
9. Restart your PC and login to domain using the domain user account.

Method 5. Reset Computer Account in Domain.

1. Login to the Active Directory Server.
2. Open Active Directory Users and Computers.
3. Expand the Computers container.
4. Right-click on the affected computer and select Reset Account.

The trust relationship between this workstation and the primary domain failed Windows Server 2022

5. Finally, restart the affected machine and login in Domain.

That's all folks! Which method worked for you? Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this solution.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us.

The trust relationship between this workstation and the primary domain failed Windows Server 2022

How do I fix trust relationship between workstation and domain in server?

Resolution.
Use a local administrator account to log on to the computer..
Select Start, press and hold (or right-click) Computer > Properties..
Select Change settings next to the computer name..
On the Computer Name tab, select Change..
Under the Member of heading, select Workgroup, type a workgroup name, and then select OK..

What causes the trust relationship between this workstation and the primary domain failed?

“The trust relationship between this workstation and the primary domain failed” Error Message. When an AD domain no longer trusts a computer, chances are it's because the password the local computer has does not match the password stored in Active Directory. The two passwords must be in sync for AD to trust a computer.

How do you break trust relationship between a computer and a domain?

Logon as Administrator to domain x. Start User Manager for Domains, and click Trust Relationships from the Policies menu. Select domain y from the Trusted Domains and click Remove and confirm.

How do you trust a relationship between two domains?

Solution.
Open the Active Directory Domains and Trusts snap-in..
In the left pane, right-click the domain you want to add a trust for, and select Properties..
Click on the Trusts tab..
Click the New Trust button..
After the New Trust Wizard opens, click Next..
Type the DNS name of the AD domain and click Next..