Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » The trust relationship between this workstation and the primary domain failed
  • TrueCrypt to BitLocker
    How to Migrate from TrueCrypt to BitLocker Backup
  • Uninstall SQL Server 2025
    Uninstall Microsoft SQL Server 2025 from Windows Oracle/MSSQL/MySQL
  • gfhj
    Debugging: How to debug a PowerShell script Windows
  • HyperV copy
    How to convert a VHDX file to a VHD Virtualization
  • article 1280x720.192a2586 1 1
    Fix Error 0xc1510111: You do not have permission to mount and modify this image Windows Server
  • Cannot Start Proctored Exam
    DbxSvc Process: How to Fix “Cannot Start Proctored Exam” Windows
  • maxresdefault 2 4
    Setup RAID 5 and 10 with MegaRAID Storage Manager on RX300 S5 Network | Monitoring
  • enable WinRM
    WSManFault Message 2144108526 0x80338012: Fix the client cannot connect to the destination specified in the request Windows Server

The trust relationship between this workstation and the primary domain failed

Posted on 11/04/201606/04/2023 Christian By Christian No Comments on The trust relationship between this workstation and the primary domain failed

Windows domains provide network administrators with ways to administer devices and control them from a central location. Domains are generally made up of computers on the same local network. When a computer is joined to a domain, it doesn’t use its own local user accounts. User accounts and passwords are managed on the domain controller. When you log into a computer on that domain. The computer authenticates your user account name and password with the domain controller. This means you can log in with the same username and password on any computer joined to the domain. In this article, you will learn how to fix “the trust relationship between this workstation and the primary domain failed”.

Why was the error ‘The trust relationship between this workstation and the primary domain failed’ prompted?

This often happens when your computer password is “Out of Sync” between the computer and the domain controller. And it reset after some time (30 days). Here is a similar error. “The security database on the server does not have a computer account for this workstation trust relation”. Please see the following link. Here are some similar articles. Active Directory Forest – Trees and Domain and Sites. How to set up a third-party DNS server on a Linux Server, and how to set up a third-party DNS server on a Linux Server. How to enable Hyper-V on a VMware Workstation.

You may want to see the following articles: How to synchronize your on-premises AD with Azure Active Directory using the Azure AD Connect tool, Configure TCP/IP Parameters: Post OS Installation and configuration of Windows Server 2019 properties, and how to fix the trust relationship between this workstation and the primary domain failed.

Here are ways to fix the trust relationship

Method 1: Fix PC and Domain Out of Sync

Try resetting the password of the computer, on your DC (Active Directory Users and Computers) and try again. Most times this fix does not work.

Then locate the machine (isolate it by removing the network cables, and turning off the Wireless etc, so it has no network connections) and log in as an administrator. Click on start, on the search or run box option type the following command

sysdm.cpl

And press enter. On the Computer Name tab. Click on Change and select the workgroup option, and type in Workgroup and press OK.

Note: This involves you leaving your domain, but if this is the case use the Netdom option (method 2) to fix it and reboot as it is easier.

Rerun sysdm.cpl again and re-join it to your domain again and supply the domain user account name.

Note: This step will definitely require a restart.

Please learn how to fix the Security Database on the Server does not have a Computer account for this workstation. How to add a second Domain Controller, What happens when WDS and DNS are installed on the same Windows, and AD Connect Sync Service not running: Cannot proceed because the sync service is not running.

Method 2: Fix PC and DC Out of Sync

This method is a good fix as leaving the Domain is usually not recommended. Ensure to remove all network cables and turn off the Wireless as well.

Type this command below on the Windows command prompt.

netdom.exe resetpwd /s:{domain controller name} /ud:{username} /pd:*

I hope you found this blog post helpful on how to fix the Trust relationship between this workstation and the primary domain failed. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:DNS, Domain, Domain Controller, Microsoft Windows, Windows 10

Post navigation

Next Post: How to run the Cisco ASDM launcher

Related Posts

  • Featured image new 1
    Detect if an application was uninstalled on Windows: Find out who has uninstalled an application via Windows Event Viewer Windows
  • Task Scheduler Errors and Success Codes
    All Task Scheduler Errors and Success Codes Windows Server
  • 1 kajkbmlyehn0inifwrh 8w
    How to install Kerberos packages via Cygwin in Windows Windows Server
  • esd convert wim 1280x720 1
    Differences between Capture image, Discover image, Install and Boot images Windows Server
  • image 23
    Copy Deployment Share between Servers without using linked Deployment Shares Windows
  • banner
    How to Create a Child and Tree Domain Windows Server

More Related Articles

Featured image new 1 Detect if an application was uninstalled on Windows: Find out who has uninstalled an application via Windows Event Viewer Windows
Task Scheduler Errors and Success Codes All Task Scheduler Errors and Success Codes Windows Server
1 kajkbmlyehn0inifwrh 8w How to install Kerberos packages via Cygwin in Windows Windows Server
esd convert wim 1280x720 1 Differences between Capture image, Discover image, Install and Boot images Windows Server
image 23 Copy Deployment Share between Servers without using linked Deployment Shares Windows
banner How to Create a Child and Tree Domain Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • TrueCrypt to BitLocker
    How to Migrate from TrueCrypt to BitLocker Backup
  • Uninstall SQL Server 2025
    Uninstall Microsoft SQL Server 2025 from Windows Oracle/MSSQL/MySQL
  • gfhj
    Debugging: How to debug a PowerShell script Windows
  • HyperV copy
    How to convert a VHDX file to a VHD Virtualization
  • article 1280x720.192a2586 1 1
    Fix Error 0xc1510111: You do not have permission to mount and modify this image Windows Server
  • Cannot Start Proctored Exam
    DbxSvc Process: How to Fix “Cannot Start Proctored Exam” Windows
  • maxresdefault 2 4
    Setup RAID 5 and 10 with MegaRAID Storage Manager on RX300 S5 Network | Monitoring
  • enable WinRM
    WSManFault Message 2144108526 0x80338012: Fix the client cannot connect to the destination specified in the request Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.