Solved

Event ID:      5722

Posted on 2013-11-21
3
791 Views
Last Modified: 2013-11-21
Get following error on dc.
Also get error when I try to remote in to computer (AP24-PC) using my log me in pro.

error (login): the trust relationship between this workstation and the primary domain failed. (1789)

Event Type:      Error
Event Source:      NETLOGON
Event Category:      None
Event ID:      5722
Date:            11/21/2013
Time:            12:59:21 PM
User:            N/A
Computer:      SERVER
Description:
The session setup from the computer AP24-PC failed to authenticate. The name(s) of the account(s) referenced in the security database is AP24-PC$.  The following error occurred:
Access is denied.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 22 00 00 c0               "..À
0
Comment
Question by:jyoung127
3 Comments
 
LVL 14

Accepted Solution

by:
Zac Harris earned 225 total points
Comment Utility
There are many different ways to fix this issue. Here are two I use:

Quick n Dirty:
Unjoin the computer from the domain then rejoin the computer to the domain.

Powershell:
Reset-ComputerMachinePassword [-Credential <PSCredential>] [-Server <String>]

HTH
0
 
LVL 35

Assisted Solution

by:Mahesh
Mahesh earned 225 total points
Comment Utility
In a Microsoft Windows domain, starting with Windows 2000, a discrete communication channel helps provide a more secure communication path between the domain controller and the member servers or workstations. This channel is known as a secure channel. When you join a computer to a domain, a computer account is created, and a password is shared between the computer and the domain controller. By default, this password is changed every 30 days. The secure channel's password is stored together with the computer account on the primary domain controller (PDC). The password is replicated to all replica domain controllers.
The error basically occurs due to duplicate/conflicting object in the AD as well as DNS causing machine is not able to refresh its password end up in broken secure channel.
Means actual computer password and one stored on domain controller do not match and simply domain controller rejects the autheticatin request.
http://support.microsoft.com/kb/810977

You can do below as simplest method
Reset affected computer account on domain controller
Disjoin affected computer to workgroup and reboot
join workgroup computer to domain again and reboot
Post reboot logon with domain account and check if below commands are working
Go to run and enter %logonserver%    - this should resolve to local \ authenticating DC
Go to cmd and enter nltest /dsgetdc:domain.com
nslookup should resolve to local \ autheticating DC

Mahesh
0
 

Author Comment

by:jyoung127
Comment Utility
Thank you for your response I figured I had to dis oin it from domain I was looking to see if there was an easier way but I think that sounds to me like that will be the easiest way.

Thank you all
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Do you have users whose passwords are expiring and they are constantly calling you?  Well I sure did and needed a way to put an end to this.  We have a lot of remote users which would not be notified that their passwords were expiring since they wer…
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now