i got this message when i try to login the file server "the trust relationship between this workstation and the primary domain failed "

can anyone help me


5 Answers 5


Probably the workstation account password has come out of sync or has become corrupted.

Basically you have re authenticate with the domain, in other words, rejoining the domain.

I refer you to this KB with more details on how to verify if this is the problem, and how to solve it.


Another reason for this error may be the system time difference on both machines. If they differ too much (think 2 hours or more) authentication fails

  • If time differs more than 5 minutes, kerberos breaks.
    – MDMarra
    Nov 15, 2012 at 17:54

This KB also applies. http://support.microsoft.com/kb/162797


Sorry i know my response is late but sometimes if you have two domain controllers and the bdc does not sync with the pdc this happens.temp solution is to stop AD services on the BDC long term solution fix the syncing issue.


on your workstation, unjoin from domain - restart, add it to workgroup then restart on the server - in active directory users and computers, delete the computer account

then on the workstation, re-join to the domain.

  • You only need to unjoin (it'll force you to join a workgroup at the same time), reboot, reset the computer account on the domain, then rejoin the domain. No deleting necessary, no restarting the server!
    – Chris S
    May 20, 2010 at 17:11
  • 1
    A trick I've noticed (works for me at least) is to rejoin the domain by stipping the tld. So for a "contoso.com" joined computer, you can't join "contoso.com", but you can join... "contoso"! Which is really the same domain, of course, but the GUI won't stop you from joining because it thinks it is a different one. Saves you parting the domain if you like to use the GUI.
    – Gomibushi
    May 22, 2010 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy