Trust Relationship Primary Domain Error

Leave a comment

You may come across this error when a server or workstation gets out of sync with the domain controller:

“The trust relationship between this workstation and the primary domain failed”.

One way to resolve this is to rejoin the machine with the domain. However this can cause other issues.

An easier way toresolve this, is to first log into the machine as a local administrator and then run Windows PowerShell as Administrator:

Then run the command:

$credential = Get-Credential

You will see the window below. Enter your DOMAIN credentials:

Now type:

Reset-ComputerMachinePassword -Server YourDomainController

For example, if your domain controller was TESTSERVER.COM, you would type:

That’s it. Trust should then be restored. Sign out of the local admin account and log back in using the Domain account.

THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
 

I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.

IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.

THANK YOU, AND LET'S KEEP LEARNING TOGETHER.

CARL

https://www.youtube.com/carldesouza

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

Your email address will not be published. Required fields are marked *