Windows 2008 R2 trust relationship failed between workstation and Primary Domain

I got the error like Windows 2008 R2  trust relationship failed between workstation and Primary Domain ,now issue is fixed by restart the server .

I would like to know the reason ,why it was happen ,how to avoid in feature
vrs_sureshAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hemil AquinoNetwork EngineerCommented:
You might have a DNS issue make sure you can ping both servers.
Is the trust outside of your organization?
0
albert_miquelit managerCommented:
In MY experience That ha plens qhen these is Moré t'han 5 minutes qith the time between the SERVER and computer.that Japó ens when the bios battery starts to be discharged
When you restart a time sync  reQuest have been made
0
Hello ThereSystem AdministratorCommented:
You are lucky if you solved this by rebooting the computer. Next time you might need to remove the computer from your domain and join it again back.
0
Iamthecreator OMIT Admin/EE Solution GuideCommented:
Powershell as admin
run
 test-computersecurechannel
If it returns FALSE
run
 test-computersecurechannel -repair
0
Hello ThereSystem AdministratorCommented:
Why this occurs:

A) If the Machine account password expires and it doesn't renew.
B) If you join a new machine to the domain with the same name as the affected computer while the affected computer is offline.
C) AD policy that would disable a computer after x number of days of not authenticating.
D) Computer object in AD is deleted.
E) Using an image or performing a system restore.

There are many ways how to get it.

To solve this just kick the computer off the domain and rejoin.

How to recognize that computer (from another discussion):
First, the computer starts to seem distant. It doesn't talk to the domain like it used to. The computer begins to act funny, like working late more, paying more attention to its appearance, and getting snappy when the domain asks about it. Then, one of the other computers in the domain sees the computer hanging out in a different LAN or subnet. The domain tries to reach it, but can't. Finally, the domain catches the computer in a lie. And then, the trust relationship is broken.

Also some info from Microsoft Technet why this happens:
1. The secure link between the PC and the Directory is  broken due to a  disruption in the presentation of credentials. If the PC presents the wrong password, the authentication is denied. Each Windows-based computer maintains a machine account password history containing the current and previous passwords used for the account. When two computers attempt to authenticate with each other and a change to the current password is not yet received, Windows then relies on the previous password. If the sequence of password changes exceeds two changes, the computers involved may be unable to communicate, and you may receive error messages (for example, "Access Denied" error messages when Active Directory replication occurs).

2. The client machine presents the right password, but the wrong machine account.  If the images that are being used are cloned without properly being SysPrepped, the scenario arises where two machines are presenting the same SIDs, while the passwords are out of sync.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.