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

05 Jul 2012   #21
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by sharpharp View Post
Tried that link, but not relevant to what I have happening here.

Also set the Machine Password Maximum Age to 999 using GPO
Since then it was quiet, but surely enough we've had another 10 fail today...

Surely I can't be the only experiencing this...
Maybe you should try looking through the ten other TechNet threads with the exact same title. They are to the right side of screen on the page I posted.

Hopefully one of those threads has some solutions for this problem.


My System SpecsSystem Spec
.
23 Oct 2012   #22
Dkenyon

Windows 7 Professional 32bit
 
 

I have had the same problem with my network and have found the issue to be the naming of the machines. You cannot have machines named the same in DHCP otherwise it will give you a "broken trust relationship" error. Try to unjoin one of the computers from the Domain then rename it locally on the machine. Then join it back to the domain. This should solve the issue.
My System SpecsSystem Spec
25 Oct 2012   #23
sharpharp

 
 

Quote   Quote: Originally Posted by Dkenyon View Post
I have had the same problem with my network and have found the issue to be the naming of the machines. You cannot have machines named the same in DHCP otherwise it will give you a "broken trust relationship" error. Try to unjoin one of the computers from the Domain then rename it locally on the machine. Then join it back to the domain. This should solve the issue.
All PCs are individually named in the "Asset Tag" field in the BIOS. The PCs are named using a script within Sysprep which pulls the name from the Bios and renames the PC. After a reboot, another script then joins the PC to the Domain using the newly named PC.

DHCP is purely used to get IP, the names of the PCs and are grabbed locally from the PC Bios Asset Tag (which are all uniquely named by us)

Any other suggestions?
My System SpecsSystem Spec
.

21 Dec 2012   #24
wendydelagarza

64
 
 

The Trust relationship between the workstation and Domain Failed
This is the message i receive trying to log on to my work computer - has there been any solution discovered to unlock this so a user can access their c drive.
My System SpecsSystem Spec
21 Dec 2012   #25
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by wendydelagarza View Post
The Trust relationship between the workstation and Domain Failed
This is the message i receive trying to log on to my work computer - has there been any solution discovered to unlock this so a user can access their c drive.
There are many causes for this problem. You need to use the link below to determine which of the many solutions apply in your particular case. There is no one size fits all solution for this problem.

The trust relationship between this workstation and the primary domain failed
My System SpecsSystem Spec
26 Jan 2013   #26
jmt83

Windows 7 Pro x64
 
 

Wow! I do not envy the posters in this thread who are dealing with dozens of these trust failures at once! Then again, I’m sure their technical knowledge far exceeds my own, so to me, one workstation feels like 100. Just this week I experienced the dreaded error “The trustrelationship between this workstation and the primary domain failed.” The error started not long after I performed a System Restore on this workstation, so I believe I reset the client’s local secret to the previous password shortly after it had requested a new one from the domain controller. Now I am unable to log on using the domain user account associated with this machine.

The client is on a small network with less than a dozen other computers (there are no issues with two computer objects with the same name). There is only one server on the network. No other workstations are affected. The two machines involved are listed below:

Client: Dell OptiPlex 580
Manufacture Date: 12/29/2010
Operating System: Windows 7 Professional, Service Pack 1
System Type: 64-bit Operating System
Processor: 2x AMD Phenom II X2 B55 Processor
Network Adapter: Broadcom NetXtreme 57xx Gigabit Controller

Domain Controller: Dell PowerEdge T300
Manufacture Date: 12/19/2008
Operating System: Windows Small Business Server 2008, Service Pack 2
System Type: 64-bit Operating System
Processor: 4x Intel Xeon CPU X3363 Processor
Network Adapters: Broadcom NetXtreme 57xx Gigabit Controller

I do not wish to leave the domain and rejoin. I don’t want to spend my time remapping drives, reconfiguring settings, trying to get the new user account just like the old one, etc. I tried resetting the computer object’s password from the ADUC console, but to no avail. I have read many articles about using the netdom.exe command to fix the trust and would like to give it a try. The link below is one of many netdom.exe articles I’ve read.

http://www.networknet.nl/apps/wp/archives/1938

While it provides some good insight (particularly tips on where the netdom utilities should be stored. However, it has a screenshot using slightly different syntax than the other articles I’ve read, so I’m not sure which to use. Here are two different command lines I’ve seen:






No surprises here, but this N00b is totally confused. I’m not sure if I should try:

this…
netdom.exe resetpwd /s:{SERVER} /ud:{DOMAIN\USER} /pd:*
or…
netdom.exe resetpwd /server: {SERVER} /userD: {DOMAIN\USER} /PassworD:*

Any tips or help you might have would be greatly appreciated. Oh, one more thing. This will really make me look dumb, but here goes; am I correct to assume that the password I’ll be asked to enter at the end is the user’s login password?

Thanks!

JMT83
My System SpecsSystem Spec
27 Jan 2013   #27
jmt83

Windows 7 Pro x64
 
 

Hmmmm, I have tried both versions of the command I posted above, but neither seem to be doing anything. I am not prompted for password when I try them out. Any clues as to what I'm doing wrong?


Attached Images
 
My System SpecsSystem Spec
27 Jan 2013   #28
jmt83

Windows 7 Pro x64
 
 
NETDOM worked, sort of.

I could not understand why I couldn't get NETDOM to execute in the Command Prompt, so I uninstalled/reinstalled RSAT. This time, I was able to get NETDOM.exe to run, but I was not successful in resetting the password. This is what I saw:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>netdom.exe resetpwd /s:server /ud:domain\user /pd:*
Type the password associated with the domain user:

The machine account password for the local machine could not be reset.

The network path was not found.

The command failed to complete successfully.

Now I know that there's a great possibility that the reason this didn't work is because I do not have the PC on the local network like it usually is. I took it home with me and attempted this while establishing a VPN connection to the domain controller. I thought it might work since I can login fine while off the network, but I get the same Trust error message when trying to login while connected to the VPN.

I'm heading off to return this PC to the office, where I hope it will be able to successfully reestablish the trust.
My System SpecsSystem Spec
27 Jan 2013   #29
jmt83

Windows 7 Pro x64
 
 
Great success!

Got it! It turns out I could not run the command while using VPN from another site. After bringing the PC back and physically connecting to the network, the password was reset successfully and after rebooting, I was able to login just fine!

Quote   Quote: Originally Posted by jmt83 View Post
I could not understand why I couldn't get NETDOM to execute in the Command Prompt, so I uninstalled/reinstalled RSAT. This time, I was able to get NETDOM.exe to run, but I was not successful in resetting the password. This is what I saw:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>netdom.exe resetpwd /s:server /ud:domain\user /pd:*
Type the password associated with the domain user:

The machine account password for the local machine could not be reset.

The network path was not found.

The command failed to complete successfully.

Now I know that there's a great possibility that the reason this didn't work is because I do not have the PC on the local network like it usually is. I took it home with me and attempted this while establishing a VPN connection to the domain controller. I thought it might work since I can login fine while off the network, but I get the same Trust error message when trying to login while connected to the VPN.

I'm heading off to return this PC to the office, where I hope it will be able to successfully reestablish the trust.
My System SpecsSystem Spec
25 Dec 2013   #30
plumpf

Windows 7 Ultimate x64
 
 

has any one tried the powershell equivalent of the netdom ?


> Test-ComputerSecureChannel -repair

Also does reseting the computer account alone from aduc resolves this issue?

The other method of unjoining a domain and rejoining a domain is very lengthy and time consuming process..
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 17:34.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App