Hi Shishant,
Thank you for posting in the Microsoft Community Forum.
In the scenario where the error "Target principal name is incorrect" is encountered, it is possible that the issue arises due to the restoration of the primary domain controller. Here are some potential steps and solutions to ensure proper synchronization between domain controllers:
- **Check Time Synchronization:** Ensure that the system time on all domain controllers is correctly synchronized. Incorrect time synchronization can lead to synchronization issues.
- **Check RID Pool on the Primary Domain Controller:** If issues occurred during the restoration process of the primary domain controller, it might result in an inconsistent RID pool. You can check the RID pool using the following command:
Check the output for any errors or warnings related to the RID pool.repadmin /showrepl
- **Force Full Synchronization:** On the target primary domain controller, attempt to force a full synchronization. Run the following command:
This command will force the domain controller to perform a full synchronization.repadmin /syncall /A /P /e /d
- **Check DNS Configuration:** Ensure that the DNS configuration on the primary domain controller and other domain controllers is correct. Domain controllers should correctly point to the DNS of other domain controllers.
- **Check NTDS Settings on the Primary Domain Controller:** Ensure that the NTDS settings on the primary domain controller are correct. You can use the following command to check:
This will display information about update vectors.repadmin /showutdvec <Primary Domain Controller Name> <Other Domain Controller Name>
- **Check Event Logs:** Examine the event logs of the domain controller, especially Directory Service and DNS events, for any errors or warnings related to synchronization issues.
- **Run DCDiag Tool:** Use the DCDiag tool to check the health status of the domain controller. Run the following command:
Ensure that no errors or failed tests are reported.dcdiag /v /c /d /e /s:<Primary Domain Controller Name>
- **Consider Recreating Connection Objects if Issues Persist:** If problems persist, consider deleting and recreating connection objects. In Active Directory Users and Computers, navigate to "Sites" -> "Inter-Site Transports" -> "IP" -> "CN=DEFAULTIPSITELINK" -> "CN=Inter-Site Transports," and then delete the problematic connection object.
Exercise caution when performing these operations, and test them in a controlled environment before applying changes in a production setting. If the issue persists, a more detailed investigation may be needed to identify the root cause.
Best regards
Neuvi Jiang