Fix The trust relationship between this workstation and the primary domain failed error in Windows

7 ways to fix The trust relationship between this workstation and the primary domain failed in Windows 11 or 10.

The trust relationship between this workstation and the primary domain failed

Several users are facing a problem when logging in to client and server operating system. The issue occurs when they are using Domain infrastructure. The error message is – “The trust relationship between this workstation and the primary domain failed”.

This error code doesn’t allow users to log into the machine in the domain environment in Windows. The problem might occur due to malfunction in a user account, incorrect relationship between client and domain server, and more. Go through the quick navigation links below and follow the ways to solve them. See – How to Fix Network Connection Problems in Windows 10 All in One.

The trust relationship between this workstation and the primary domain failed

Here is how to fix The trust relationship between this workstation and the primary domain failed in Windows –

Way-1: Log into  computer with a new domain administrator account.

Changing the name and workgroup of computer does a trick many times and solves the issue. You need to rejoin the client machine from a domain in this process. Follow the steps –

  1. Click Search from the taskbar.
  2. Type – advanced system settings.
  3. Hit – Enter.
  4. System Properties window will appear; click on the Computer Name tab.
  5. Click on Change to add machine to Workgroup.
how to fix The trust relationship between this workstation and the primary domain failed in Windows
  1. Type the name of the Workgroup.
  2. Select – OK.
  3. You will come across a pop-up saying – You must restart your computer to apply these changes. Click on ‘OK’.
  4. Select – Restart now.
  5. After the system is restarted, type the domain Administrator account and password.
  6. The issue should be resolved.

Way-2: Add the domain controller to Credential Manager

This way includes the steps to add domain controllers account to Windows Credential. On several occasions, this change fixes the trust relationship between workstation and domain problem. Follow the guidelines –

  1. Ensure to have signed in to Windows 10 with the local Administrator account.
  2. Press – Win + S.
  3. Type – control panel.
  4. Hit – Enter.
  5. Click on – Credential Manager.
  6. On the next window, click on Windows Credentials.
  7. Select – Add a Windows credential link.
Add the domain controller to Credential Manager
  1. Type the Internet or network address, User name, and Password.
  2. Click – OK.
The trust relationship between this workstation and the primary domain failed
  1. Exit Credential Manager.
  2. Restart the computer.
  3. Sign in to Windows 10 using the domain user account and check if the error still persists.

Way-3: Correct DHCP configuration  to fix The trust relationship between this workstation and the primary domain failed error in Windows

After adding a DHCP server you need to again configure the DHCP pool. In this process, you have to assign IP Addresses to hosts remaining in the network. Here are the instructions –

  1. Press Winkey and R.
  2. Type dhcpmgmt.msc.
  3.  Hit – Enter.
  4. Once the DHCP Management Tool is open, navigate to – com\IPv4\Scope.
  5. Here, you can notice that the DHCP is not set up correctly. Enter the correct network address and configure DHCP in right way.
  6. Exit the management tool and restart the machine.

Furthermore, you can set up the same DHCP configuration via TP-Link router. If you haven’t knowledge about how to access your router, go through the guide for the Router.

  1. Launch any browser.
  2. In the address bar, type IP address of the router.
  3. On the Router page, select LAN under Network tab.
  4. Now click on DHCP.
  5. Check the DHCP configuration if it is correct. Check the IP address is ok. If anything is wrong, correct it and close the browser.

Way-4: Fresh Set up the trust using Windows PowerShell

To reestablish trust between the domain controller and client, Windows PowerShell is a handy utility. So go ahead with the steps –

  1. Make sure you have logged into Windows 10 with local Administrator account.
  2. Press – Winkey.
  3. Type – PowerShell.
  4. From the results section, right-click on PowerShell.
  5. Select – Run as Administrator.
  6. Click on Yes on the User account control prompt.
  7. Once PowerShell is there, type – $credential = Get-Credential.
  8. Press – Enter.
  9. Enter domain admin account credentials.
  10. Click OK
  11. Now type – Reset-ComputerMachinePassword -Credential $credential.
windows powershell credential request
  1. Hit – Enter.
  2. Close the Windows PowerShell and restart the computer.
  3. See if the error is fixed.

Way-5: Reset the Account Password via Netdom.exe

In case you are running Windows Server 2008 R2 or Windows Server 2003 following steps will help –

  1. As in the above ways Log into Windows Server through domain Administrator account.
  2.  Press Windows and R.
  3. Type – cmd.
  4. Press – Ctrl+Shift+Enter.
  5. Click Yes on the confirmation prompt.
  6. Copy-paste – netdom resetpwd /s:server /ud:domain\User /pd:* (note that s is server name, domain is domain name, and user is user account).
  7. Hit – Enter.
  8. Exit the Command Prompt.
  9. Go to the Windows client machine and restart.
  10. Now, sign in to the Windows machine using domain user account.

Way-6: Reset Domain Controllers Account

Trust relationship problem in domain machine might be solved using reset computer account via Active Directory User and Computers tool which is incorporated into servers with Active Directory Domain Services role.

  1. Press Windows and R.
  2. Type dsa.msc.
  3. Hit – Enter.
  4. As Active Directory User and Computer appear, expand the domain name.
  5. Select – Computer.
  6. Go to the computer account that fails to connect to a domain.
  7. Right click on computer.
  8. Select – Reset Account.
Reset Account
  1. Click on Yes.
  2. Next, click on OK.
  3. Close the Active Directory User and Computers.
  4. Reboot the computer and it should work.

Way-7: Run System Restore

When facing The trust relationship between this workstation and the primary domain failed issue, System Restore will help you to bring the system to the time and date when there were no issues. This way error The trust relationship between this workstation and the primary domain failed error can be easily solved using this tool. So follow the steps –

  1. Click – Start.
  2. Type – rstrui.
  3. Press – Enter.
  4. On the System Restore wizard, select Choose a different restore point.
  5. Click Next.
  6. Select and highlight the appropriate point.
  7. Click on Next.
The trust relationship between this workstation and the primary domain failed in windows 10 and 11
  1. Review the selections and click on Finish.
  2. Select Yes on the prompt.

Methods list:
Way-1: Log into  computer with a new domain administrator account.
Way-2: Add the domain controller to Credential Manager
Way-3: Correct DHCP configuration
Way-4: Fresh Set up the trust using Windows PowerShell
Way-5: Reset the Account Password via Netdom.exe
Way-6: Reset Domain Controllers Account
Way-7: Run System Restore

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.