- Remove From My Forums
-
Question
-
Hi all,
The situation — migrate from AD 2003 R2std to AD 2012 R2std, after done migration, having problem with nslookup and dcdiag . After try with information from here. All the error have solve. I get my dns in nslookup and no error in dcdiag /basic. But in even
viewer I get error NETLOGON 5722 for all clients and run dcdiag /test:dns get fail on delegations. all pc client got problem with sharing folder or printer.any one can help me with this problem
Pls tell me when u no the answer
Answers
-
Hi
For event 5722 you ca check this article; http://www.eventid.net/display-eventid-5722-source-NETLOGON-eventno-105-phase-1.htm
Possibility the secure has been broken between the DC and the problem computer,first disjoin and rejoin the problem machines to the domain.
If issue still persist,check that one;
https://support.microsoft.com/en-us/kb/810977
This posting is provided AS IS with no warranties or guarantees,and confers no rights. Best regards Burak Uğur
-
Marked as answer by
Friday, December 16, 2016 9:36 AM
-
Marked as answer by
-
Hi,
The situation — migrate from AD 2003 R2std to AD 2012 R2std, after done migration, having problem with nslookup and dcdiag . After try with information from
here. All the error have solve. I get my dns in nslookup and no error in dcdiag /basic. But in even viewer I get error NETLOGON 5722 for all clients and run dcdiag /test:dns get fail on delegations. all pc client got problem with sharing folder or
printer.>>>First, how did you migrate AD from Windows Server 2003 R2 to Windows Server 2012 R2?
Here is an article below about the migration for your reference.
Step-By-Step: Active Directory Migration from Windows Server 2003 to Windows Server 2012 R2
https://blogs.technet.microsoft.com/canitpro/2014/04/01/step-by-step-active-directory-migration-from-windows-server-2003-to-windows-server-2012-r2/
For the error on every domain members, you may need write a script with the command, which has been descripted on the article provided by Burak, and run the script by GPO.
Best Regards,
Jay
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.-
Marked as answer by
Hamir_amdan
Monday, December 19, 2016 1:02 AM
-
Marked as answer by
- Remove From My Forums
-
Question
-
Hi all,
The situation — migrate from AD 2003 R2std to AD 2012 R2std, after done migration, having problem with nslookup and dcdiag . After try with information from here. All the error have solve. I get my dns in nslookup and no error in dcdiag /basic. But in even
viewer I get error NETLOGON 5722 for all clients and run dcdiag /test:dns get fail on delegations. all pc client got problem with sharing folder or printer.any one can help me with this problem
Pls tell me when u no the answer
Answers
-
Hi
For event 5722 you ca check this article; http://www.eventid.net/display-eventid-5722-source-NETLOGON-eventno-105-phase-1.htm
Possibility the secure has been broken between the DC and the problem computer,first disjoin and rejoin the problem machines to the domain.
If issue still persist,check that one;
https://support.microsoft.com/en-us/kb/810977
This posting is provided AS IS with no warranties or guarantees,and confers no rights. Best regards Burak Uğur
-
Marked as answer by
Friday, December 16, 2016 9:36 AM
-
Marked as answer by
-
Hi,
The situation — migrate from AD 2003 R2std to AD 2012 R2std, after done migration, having problem with nslookup and dcdiag . After try with information from
here. All the error have solve. I get my dns in nslookup and no error in dcdiag /basic. But in even viewer I get error NETLOGON 5722 for all clients and run dcdiag /test:dns get fail on delegations. all pc client got problem with sharing folder or
printer.>>>First, how did you migrate AD from Windows Server 2003 R2 to Windows Server 2012 R2?
Here is an article below about the migration for your reference.
Step-By-Step: Active Directory Migration from Windows Server 2003 to Windows Server 2012 R2
https://blogs.technet.microsoft.com/canitpro/2014/04/01/step-by-step-active-directory-migration-from-windows-server-2003-to-windows-server-2012-r2/
For the error on every domain members, you may need write a script with the command, which has been descripted on the article provided by Burak, and run the script by GPO.
Best Regards,
Jay
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.-
Marked as answer by
Hamir_amdan
Monday, December 19, 2016 1:02 AM
-
Marked as answer by
Сообщение от ze
![]()
ошибка в первом посте является следствием другой ошибки. ток не говори что других ошибок по домену нет… не поверю. ну и результат dcdiag можно бы почитать///
Domain Controller Diagnosis
Performing initial setup:
Done gathering initial info.Doing initial required tests
Testing server: Default-First-Site-NameSERVER
Starting test: Connectivity
……………………. SERVER passed test ConnectivityDoing primary tests
Testing server: Default-First-Site-NameSERVER
Starting test: Replications
……………………. SERVER passed test Replications
Starting test: NCSecDesc
……………………. SERVER passed test NCSecDesc
Starting test: NetLogons
……………………. SERVER passed test NetLogons
Starting test: Advertising
……………………. SERVER passed test Advertising
Starting test: KnowsOfRoleHolders
……………………. SERVER passed test KnowsOfRoleHolders
Starting test: RidManager
……………………. SERVER passed test RidManager
Starting test: MachineAccount
……………………. SERVER passed test MachineAccount
Starting test: Services
……………………. SERVER passed test Services
Starting test: ObjectsReplicated
……………………. SERVER passed test ObjectsReplicated
Starting test: frssysvol
……………………. SERVER passed test frssysvol
Starting test: frsevent
……………………. SERVER passed test frsevent
Starting test: kccevent
……………………. SERVER passed test kccevent
Starting test: systemlog
……………………. SERVER passed test systemlog
Starting test: VerifyReferences
……………………. SERVER passed test VerifyReferencesRunning partition tests on : ForestDnsZones
Starting test: CrossRefValidation
……………………. ForestDnsZones passed test CrossRefValidationStarting test: CheckSDRefDom
……………………. ForestDnsZones passed test CheckSDRefDomRunning partition tests on : DomainDnsZones
Starting test: CrossRefValidation
……………………. DomainDnsZones passed test CrossRefValidationStarting test: CheckSDRefDom
……………………. DomainDnsZones passed test CheckSDRefDomRunning partition tests on : Schema
Starting test: CrossRefValidation
……………………. Schema passed test CrossRefValidation
Starting test: CheckSDRefDom
……………………. Schema passed test CheckSDRefDomRunning partition tests on : Configuration
Starting test: CrossRefValidation
……………………. Configuration passed test CrossRefValidation
Starting test: CheckSDRefDom
……………………. Configuration passed test CheckSDRefDomRunning partition tests on : mydomain
Starting test: CrossRefValidation
……………………. mydomain passed test CrossRefValidation
Starting test: CheckSDRefDom
……………………. mydomain passed test CheckSDRefDomRunning enterprise tests on : mydomain.ru
Starting test: Intersite
……………………. mydomain.ru passed test Intersite
Starting test: FsmoCheck
……………………. mydomain.ru passed test FsmoCheck
title | description | ms.date | author | ms.author | manager | audience | ms.topic | ms.prod | localization_priority | ms.reviewer | ms.custom | ms.technology |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Event ID 5722 is logged |
Describes how to diagnose and resolve a problem where event 5722 appears in the system log of your domain controller. |
10/09/2020 |
Deland-Han |
delhan |
dcscontentpm |
itpro |
troubleshooting |
windows-server |
medium |
kaushika, jarrettr |
sap:user-computer-group-and-object-management, csstroubleshoot |
windows-server-active-directory |
This article describes how to diagnose and resolve a problem where event 5722 appears in the system log of your domain controller.
Applies to: Windows 2000
Original KB number: 810977
[!NOTE]
This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. For more information, see the Microsoft Support Lifecycle Policy.
Summary
When you use Event Viewer to view the system log in a Windows domain controller, you may find event 5722 logged. This problem may occur in either of two scenarios:
- When a computer updates its computer account password with a domain controller
- When a computer is joined to a domain with a name that already exists
This article describes how to differentiate the two scenarios and how to resolve the problem.
Symptoms
On a Microsoft Windows domain controller, the following event is logged in the system log:
Event Type: Error
Event Source: NETLOGON
Event Category: None
Event ID: 5722
Date: Date
Time: Time
User: N/A
Computer: ComputerName
Description: The session setup from the computer ComputerName failed to authenticate. The name of the account referenced in the security database is AccountName $.
The following error occurred:
Access is denied.
Cause
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. 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.
Event 5722 is logged in the following scenarios:
-
When a computer updates its computer account password with a domain controller, the event is logged in the system log of the authenticating domain controller.
In this scenario, the computer’s secure channel with the authenticating domain controller is still valid.
-
When you join a computer to a domain by using a name that is already in use by another computer, or when an existing computer account is reset. An existing computer account may be reset by using Active Directory Users and Computers or by using the Netdom.exe utility.
In this scenario, the computer’s account password does not match the password on the domain controller, and you cannot set a secure channel from the original computer to the domain controller.
Resolution
[!WARNING]
If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
To resolve this problem, first determine which scenario is the cause of the problem. You can follow these steps:
-
Note the date and the time that the event was logged in the system log.
-
Click Start, point to Programs, point to Resource Kit, and then click Tools Management Console.
-
In the console tree, click Tools A to Z.
-
In the details pane, click ADSI Editor.
[!NOTE]
ADSI Edit is included with the Windows Support Tools. You can install the Windows Support Tools from the SupportTools folder of the Windows 2000 Server CD-ROM.To install ADSI Edit on computers running Windows Server® 2003 or Windows® XP operating systems, install Windows Server 2003 Support Tools from the Windows Server 2003 product CD or from the Microsoft Download Center. For more information about how to install Windows Support Tools from the product CD, see Install Windows Support Tools.
On servers running Windows Server 2008 or Windows Server 2008 R2, ADSI Edit is installed when you install the Active Directory Domain Services (AD DS) role to make a server a domain controller. You can also install Windows Server 2008 Remote Server Administration Tools (RSAT) on domain member servers or stand-alone servers. For specific instructions, see Installing or Removing the Remote Server Administration Tools Pack.
To install ADSI Edit on computers running Windows Vista® with Service Pack 1 (SP1) or Windows 7, you must install RSAT.
-
In ADSI Edit, locate and then right-click the computer that is causing the problem.
-
Click Properties.
-
In Select which properties to view, click Both.
-
In Select a property to view, click PwdLastSet.
If the
ntte
value is not converted in the UI to a readable date and timestamp, run the following command or proceed to step 9 for an alternate method:w32tm /ntte pwdlastsetvalue
-
Copy the value that appears in the Value(s) box to the clipboard.
-
Click Start, point to Programs, point to Accessories, and then click Calculator.
-
On the View menu, click Scientific.
-
Click Dec to set the numbering system to decimal.
-
Paste the value from the clipboard into Calculator.
-
To change the value from decimal to hexadecimal decimal numbering system, click Hex.
-
On the Edit menu, click Copy.
-
Paste the hexadecimal number from the clipboard to a file in Notepad.
-
Count eight characters from the rightmost character of the hexadecimal string, and then press SPACEBAR.
[!NOTE]
This action splits the hexadecimal string into two hexadecimal strings. -
If the hexadecimal string on the left side contains only seven characters, add a zero to the beginning of the string.
-
At a command prompt, type
Nltest /time: RightSideHexadecimalstringLeftSideHexadecimalString
You will receive output that is similar to:
C:>nltest /time:a25cc370 01c294bc a25cc370 01c294bc = 11/25/2002 13:55:41 The command completed successfully.
-
Note the decoded date and time.
-
Check whether the date and time that you noted in step 1 and the decoded date and time that you noted in step 20 match.
-
If the date and time that event 5722 was logged and the decoded date and time match, check whether the computer that is causing the problem has a secure channel established with a domain controller by typing the following command at a command prompt:
Nltest /server: **ComputerName** /sc_query: **DomainName**
If the problem computer has a valid secure channel established with a domain controller, you receive output that is similar to:
C:>Nltest /server:computer1 /sc_query: DomainName Flags: 30 HAS_IP HAS_TIMESERV Trusted DC Name \homenode1.myhouse.com Trusted DC Connection Status Status = 0 0x0 NERR_Success The command completed successfully.
If the problem computer does not have a valid secure channel established with a domain controller, you receive output that is similar to:
C:>nltest /server:machine1 /sc_query: DomainName Flags: 0 Trusted DC Name Trusted DC Connection Status Status = 5 0x5 ERROR_ACCESS_DENIED The command completed successfully.
If the date and time of event 5722 and the decoded date and time do not match, the problem computer’s account password may not match the password that is on the domain controller. This issue can occur under either of the following circumstances:
- An administrator resets a computer account by using Active Directory Users and Computers or another tool such as Netdom.exe.
- A new computer is joined to the domain by using a name that already exists in the domain.
[!NOTE]
If Netlogon service logging is turned on for the domain controller, you confirm this scenario by checking for a Netlogon.log entry that is similar to the following:05/06 13:35:25 [MISC] NlMainLoop: Notification that trust account added (or changed) TRUSTING_DOMAIN$ 0x#### 4
This message is not logged if a computer updates its own computer account password.
To resolve problems that are related to duplicate computer names, rejoin the original computer to the domain.
You can ignore event 5722 if both of the following conditions are true:
- If the date and time of event 5722 and the decoded date and time match.
- A valid secure channel is established between the problem computer and a domain controller.
[!NOTE]
When both of these conditions are true, event 5722 is logged on the domain controller when the computer tries to authenticate with a domain controller during the computer account update process.
Administrators can also query Active Directory information from any computer in the domain by using Ldp.exe. The version of Ldp.exe that is included in the Windows XP Service Pack 2 Support Tools can also be used to decode the PwdLastSet value.
References
For additional information about enabling debug logging, click the following article number to view the article in the Microsoft Knowledge Base:
109626 enabling debug logging for the Net Logon service