• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 165
  • Last Modified:

Active Directory

I got two DC but they are not replicating each other, example. the user got locked out from his domain account and it is not showing in the other DC.  How do i fix this please? thanks
  • 3
  • 3
1 Solution
Open cmd on both DCs and run below command and post the output here

repadmin /showrepl
dcdiag /q
ipconfig /all

So that we can troubleshoot further

JessIT2013Author Commented:

Please see attached as requested.
Logs showing that replication is happening properly and TCP/IP properties also correct

Please run below command on both DCs and check if sysvol and netlogon are there as shared folders and let me know.

Run below command on both DCs with cmd and post output here
repadmin /syncall

Also check in active directory sites and services if you can manually trigger the replication successfully ?
Check "Initiating Replication Using the Sites and Services Manager Snap-in" section in below article to trigger replication manually.

Identify and Prevent Potential Cyber-threats

Become the white hat who helps safeguard our interconnected world. Transform your career future by earning your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

JessIT2013Author Commented:
yes. it is replicating if I done it manually. how make it automatic? or is there any time to adjust? thanks
So there you don't have to worry if manually triggered replication is working fine.

Intrasite Replication: (Replication between DCs in same site)
When a domain controller writes a change to its local copy of the Active Directory, a timer is started that determines when the domain controller's replication partners should be notified of the change. By default, this interval is 15 seconds in Windows Server 2003 and later.
You can use below article to change this interval, but its absolutely not required

Inter site replication:
This replication schedule is 180 Mins by default within two sites.

Let me know your both DCs are in different locations and in different subnets ? so that I can help you.
If that's the case, have you created separate AD sites ?
You can create new AD site in that case, move your that location to that site.
Now your replication will be triggered every 180 Minutes

If you want to schedule replication with schedule task, then just create one batch file
with below syntax without Quotes and create schedule task on both servers at interval you want.
"repadmin /syncall"

Check below article how to create site

JessIT2013Author Commented:
Thanks Mahesh.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now