FIX: Windows 7 Login Error "The trust relationship between this workstation and the primary domain failed."
Recently, my workstation was suddenly unable to logon to my Windows 2008 domain. After entering my domain username and password at startup, I was presented with the error: "The trust relationship between this workstation and the primary domain failed."
Ahh, I've experienced something similar before and I knew I'd have to rejoin the domain. I hoped and prayed that my user profile wouldn't be recreated and fortunately, I found a solution that not only worked, but my profile stayed the exact same:
My Computer -> Properties -> Advanced System Settings -> Computer Name -> Network ID... -> This is part of a business network... -> My Company uses a network with a domain -> Next -> Enter your domain username and password -> "An Account for this computer ("COMPUTERNAME") has been found on the domain "DOMAIN." Would you like to use this? Yes -> Add the following domain user account (the one you usually logon with) -> Administrator (if that's how you roll) -> Finish -> Restart.
For those of you looking to resolve your trust issues, I hope this works for you as seamlessly as it did for me.



June 28th, 2010 - 00:33
I had this problem as well, it was fixed once by flushing the DNS and rebooting, the second time I had to delete the computer from AD and rejoin it back to the domain.
January 30th, 2011 - 13:15
I tried this but received a message stating access denied. I’m logged in as the administrator trying to add my regular user account…any ideas?
February 1st, 2011 - 12:39
What do you do when you can’t even log on locally? Yes I tried the local administrator and a second local administrator.
February 11th, 2011 - 04:10
Plug out you network cable, use you credentials and wait for it to log on. As soon as it has logged on, plug the net cable back in. Then rejoin or apply hotfix…
February 16th, 2011 - 15:35
Had a similar problem when a client did a system restore on a Windows 7 PC. Logging into the domain with the cable unplugged worked a treat and the system restore was then able to complete.
May 31st, 2011 - 09:12
I had this problem as well, when two workstation with windows 7 ,when try need share folder to another windows 7 with domain (exp:computer name) got error The trust relationship between the primary domain and the trusted domain failed, any idea how to fix this ?
June 6th, 2011 - 17:05
Fantastic! I upgraded a Windows 7 client and ran into this error. I was only able to login in Safe Mode but your trick worked like a charm using the same profile. Odd glitch. Thanks for the fix.
September 12th, 2011 - 11:04
The easyest way is to rejoin the domain but the trick is that you have to change computer name olso . that fixing the problem
September 15th, 2011 - 21:23
Heres some more information that might be helpful,
Windows – "The trust relationship between this workstation and the primary domain
failed"
Pete
PeteNetLive
December 9th, 2011 - 17:34
Thanks! Great fix without having to recreate/migrate profiles!
December 12th, 2011 - 07:43
Thanx Chrissy this worked out for me as well.
January 10th, 2012 - 22:57
I had brought my work pc (normally connected from home's wireless using work vpn) from home back to the office & got this error when trying to login. I had wifi on while connected via ethernet. I turned wifi off, & was able to login to the network. I opened a CMD prompt & ran "gpudate /force" & it completed successfully. So guessing the dual connection (wifi & ethernet) was somehow conflicting the credentials to the domain.
January 30th, 2012 - 10:55
Brilliant ! Worked for me.