Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: The Trust relationship between the workstation and Domain Failed -Win7

16 Apr 2012   #1
sharpharp

 
 
The Trust relationship between the workstation and Domain Failed -Win7

Hi all,

Over the last week or so, we have experienced an epidemic of Windows 7 PCs displaying the message "The trust relationship between this workstation and the primary domain has failed".

We have had to manually unjoin and rejoin over 140+ PCs in the last week alone, however some of these same PCs have the same message re-occuring again today...

So i'm in a rut here, why are the Pcs coming back up with the same Trust message when we already manually fixed them last week....

Need urgent help to fix this.


My System SpecsSystem Spec
19 Apr 2012   #2
sharpharp

 
 

Bumped up, anyone any ideas on this?
My System SpecsSystem Spec
19 Apr 2012   #3
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

From what I found you need to set up Active Directory on the Domain level and add the trusted Users there.

I've googled around and that is the only fix I can find besides unjoining and rejoining which doesn't seem to be a long term fix. The problem was probably caused by one of those famous Windows updates.

The trust relationship between this workstation and primary domain - Microsoft Answers
My System SpecsSystem Spec
19 Apr 2012   #4
2xg
Microsoft MVP

Win7 & Win8 64bit
 
 

Hi sharpharp,

In addition, can you post an ipconfig /all output of one the problematic computers?

I've only seen this on one computer's here at my work which was running Vista at that time, but not on any XP and Windows 7 computers.

Verify that the DNS is pointing to the Private IP from a DNS Server configured in one of your Windows Servers - this is your Server's IP address and not ponting to the external DNS Address provided by your provider.
My System SpecsSystem Spec
20 Apr 2012   #5
sharpharp

 
 

I was also thinking it could be a rogue Windows Update, as it seems to be happened to all the PCs on one floor which were imaged recently and are a different spec, HP elite 8200.

When rolling this image out, I updated the windows patches (as u do) but they all went in fine initially, then after a few days they have been dropping out one by one...

IP and DNS is ok, as it is the same DHCP Setup for all the floors of PCS we have.
My System SpecsSystem Spec
20 Apr 2012   #6
englase

Windows 7
 
 
Interesting

I just began deploying some new W7 boxes this week and I had one fall off of the domain this morning. I am assuming my issue was update related as well, seeing that everything was fine on the other end.
My System SpecsSystem Spec
20 Apr 2012   #7
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

You need to setup Active Directory and then add users there,

*Username:
*Password:

in some schools they setup this on the server level, and they have disks
for each student, so once they logon and join this domain, they will have
a shared disk in “my computer” where they store everything, but once they
logoff that machine everything stored on the local C:\ disk will be erased (deleted)
once you log back on to Windows® everything is gone, and the PC is using the
default background and settings.

Read more: The trust relationship between this workstation and primary domain - Microsoft Answers

This seems to be the only reasonable answer for this problem. No doubt a Security update of some kind but can't really test this out on my end.
My System SpecsSystem Spec
24 Apr 2012   #8
sharpharp

 
 

Quote   Quote: Originally Posted by chev65 View Post
You need to setup Active Directory and then add users there,

*Username:
*Password:

in some schools they setup this on the server level, and they have disks
for each student, so once they logon and join this domain, they will have
a shared disk in “my computer” where they store everything, but once they
logoff that machine everything stored on the local C:\ disk will be erased (deleted)
once you log back on to Windows® everything is gone, and the PC is using the
default background and settings.

Read more: The trust relationship between this workstation and primary domain - Microsoft Answers

This seems to be the only reasonable answer for this problem. No doubt a Security update of some kind but can't really test this out on my end.
Hi,

This has nothing to do with Users or shared disks, this is about the PCs themselves coming up with the trust relationship error.
My System SpecsSystem Spec
24 Apr 2012   #9
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by sharpharp View Post
Quote   Quote: Originally Posted by chev65 View Post
You need to setup Active Directory and then add users there,

*Username:
*Password:

in some schools they setup this on the server level, and they have disks
for each student, so once they logon and join this domain, they will have
a shared disk in “my computer” where they store everything, but once they
logoff that machine everything stored on the local C:\ disk will be erased (deleted)
once you log back on to Windows® everything is gone, and the PC is using the
default background and settings.

Read more: The trust relationship between this workstation and primary domain - Microsoft Answers

This seems to be the only reasonable answer for this problem. No doubt a Security update of some kind but can't really test this out on my end.
Hi,

This has nothing to do with Users or shared disks, this is about the PCs themselves coming up with the trust relationship error.
I believe that was just an example.

Seems like they are referring to adding the User names and passwords to the active directory on the actual domain server.

This problem seems to be fairly wide spread although I did find a couple of sites with some working solutions.
http://www.petenetlive.com/KB/Article/0000504.htm

Lots of people here with the same problem, showing a few solutions but the link above looks to be the best one.
http://dailytweak.wordpress.com/2010...domain-failed/
My System SpecsSystem Spec
24 Apr 2012   #10
icono

Windows 7 Enterprise 32bit
 
 
Shortcut

I may not be able to prevent the problem (seems that nobody can) but this should speed up the recovery from it. We use altiris for management and it is able to still communicate with clients that have dropped off the domain and run commands using the system account. Using it, I can send these two commands via cmd script and have it remove the old computer account and rejoin without having to logon. The semicolons designate where normally the next line of powershell code would start and allow for a single command to be used instead.

Code:
Powershell -command $pass = convertto-securestring "PlainTextPW" -asplaintext -force;$domaincred = new-object system.management.automation.pscredential 'd204\d204joiner',$pass;remove-computer -credential $domaincred -force
 
Powershell -command $pass = convertto-securestring "PlainTextPW" -asplaintext -force;$domaincred = new-object system.management.automation.pscredential 'd204\d204joiner',$pass;add-computer -credential $domaincred -domainname 'd204.ipsd.net'
My System SpecsSystem Spec
Reply

 The Trust relationship between the workstation and Domain Failed -Win7




Thread Tools





Similar help and support threads
Thread Forum
The trust relationship between this workstation and the primary domain
Hi, i hope anybody can help me about this error under Windows Server Standard SP2 and some of my client pc always showing "The trust relationship between this workstation and primary domain". it happens to in my company always so if anyone could help me to solve this problem it will be much...
General Discussion
Time service issues causing Domain trust relationship to be broken
We have a select group of approximately 20+ domain computers having the same issue when they boot their computer in the mornings. The time changes back to the exact time when they shutdown the evening before. It appears that it begins to complete an incomplete shutdown, but users stating they are...
Network & Sharing
Workstation Giving logon errors. "The trust relationship"
Hi, i have a set of office computers linked to the main local Domain server. Its been a while now that some computers has been giving logon errors telling me "The security database on the server does not have a computer account for this workstation trust relationship". I could only temporarily fix...
Network & Sharing
Samba as PDC: "The trust relationship ... failed" *from the beginning*
Hi, When I try a net logon from Windows 7 64-bit Business (don't have any other Windows machines), I get "The trust relationship between this workstation and the primary domain failed". The discussion I've found around the Web regarding this error message seems to be only in the context of...
Network & Sharing
Lost network trust on 2003 windows domain
Hi All. Thank you in advance for your assistance with this matter. I'm running W7 Ultimate on a network w/ 2003 Windows domain. When I first added this computer to the domain, everything worked fine for about a month. Then one morning I came into the office, tried logging in and received a...
Network & Sharing
trust relationship bet. this workstation & the primary domain failed
Hello, I need help again. We have several computers withWin7 Ent and Pro 64 and 32 bit. :confused:. For some i-dont-know reason, it showed 'the trust relationship between this workstation & the primary domain failed' when we login. It happened few times already. The issue is resolved if we...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 06:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App