In order to force Active Directory replication, issue the command ‘repadmin /syncall /AeD’ on the domain controller. Run this command on the domain controller in which you wish to update the Active Directory database for. For example if DC2 is out of Sync, run the command on DC2.
A = All Partitions
e = Enterprise (Cross Site)
D = Identify servers by distinguished name in messages.
By default this does a pull replication - which is how AD works by default. If you want to do a push replication use the following command:
repadmin /syncall /APeD
P = Push
You want to do a push replication if you make changes on a DC and you want to replicate those changes to all other DC's. For example, you make a change on DC1 and you want all other changes to get that change instantly, run repadmin /syncall /APeD on DC1.
For all repadmin syntax please see:
http://technet.microsoft.com/en-us/library/cc736571(v=ws.10).aspx
A = All Partitions
e = Enterprise (Cross Site)
D = Identify servers by distinguished name in messages.
By default this does a pull replication - which is how AD works by default. If you want to do a push replication use the following command:
repadmin /syncall /APeD
P = Push
You want to do a push replication if you make changes on a DC and you want to replicate those changes to all other DC's. For example, you make a change on DC1 and you want all other changes to get that change instantly, run repadmin /syncall /APeD on DC1.
For all repadmin syntax please see:
http://technet.microsoft.com/en-us/library/cc736571(v=ws.10).aspx
Awesome tip ! Thank you very much for sharing this !
ReplyDeleteThanks, simple and effective guideline
ReplyDeleteis thr any way in GUI not by cmd
ReplyDeleteSandeep there use to be in 2003 server, however the GUI tool known as RepMon was decommissioned.
ReplyDeleteActive Directory Sites and Services, Right click under each server the NTDS Settings icon and choose replicate configureation from selected DC.
ReplyDeleteVery simple and useful explanation! Thanks
ReplyDeleteVery good explanation.
ReplyDeleteMiguel Ângelo Saragoça Soares
Amazing command!!!!!!
ReplyDeleteThank you so much for this!!!
I'm your biggest fan now.
i have an AD sysvol version mismatch error .....how do i resolve it ?
ReplyDeletePlease help...
And I get :
ReplyDeleteThere is a time and/or date difference between the client and server
Very helpful, man...cheers from Germany!
ReplyDeleteWhat if changes were made but the dc that has not received the changed yet is correct. Basically the changes are incorrect. How do you force replicate from older timestamp
ReplyDelete