Force active directory replication(Force AD replication)

By | November 27, 2009

How do I synchronize/Force AD replication between two domain controllers in a Domain, normal AD replication is scheduled however sometimes we require to synchronize manually

There are many ways to do this we will see one by one

Also Read: Force DFS Replication/Force DFSR Members to Replicate on windows server 2008 and 2012

Force active directory replication / Force AD replication through the Microsoft Management Console (MMC) or Forcing replication through Active Directory Sites and Services snap-in

1. Go to Start –> Programs –> Administrative Tools –> and open the “Active Directory Sites and Services” MMC.
2. Expand the “Sites” container in the left pane by clicking the plus (+) to the left of it.
3. Expand the container that represents the name of the site containing the server that needs to be synchronized.
4. Expand the “Servers” container and then expand the target server to display the NTDS settings object.
5. Click the “NTDS Settings” option. In the right pane should now be a list of the target server’s replication partners.
6. Right-click a connection object in the right pane and click “Replicate Now

Also Read: Replsummary showing unknown for largest delta on AD replication checks

Force active directory replication through Replmon Tool

1. Go to Start –> Run –> type replmon –>and this will open a Replmon console
2. Click on > edit and select –> Add monitored server
3. Select –>Add the server explicitly by name –>Next
4. Enter the server name that needs to be synchronized > Finish
5. Expand the Partition that needs to be synchronized (Ex: Domain partition)
6. Select the connection object needs to be synchronized
7. Right-click a connection object and click “Synchronize with this replication partner”
8. Wait for the replication
9. You will get the status message once the replication gets completed
10. If any error while the time of replication then you will get the meaningful error message

Also Read: Active Directory Replication failed with “Target principal name is incorrect”

Force active directory replication through Repadmin command

Open the Command prompt CMD
Syntax:
repadmin /replicate destination_dsa source_dsa Naming Context

Example:
repadmin /replicate server2.Domain.com server1.Domain.com dc=Domain,dc=com

Destination server Name: server2.Domain.com
Source server Name: server1.Domain.com
Naming Context : dc=Domain,dc=com (Domain partition)

Also Read: Replication failed with “The destination server is currently rejecting replication requests” Error

Additional switches

/force
This parameter is used to override the Disable Replication option on a directory server. Do not use this parameter unless you are certain that replication has been disabled, and that you want to override this setting.

/async
Specifies that the operation will be asynchronous. This means that repadmin starts the replication event, but it does not expect an immediate response from the destination directory server. Use this parameter when there are slow links between directory servers.

/full
Forces a full replication of all objects from the destination directory server.

/allsources
A given destination can have multiple sources for the same naming context. Directs the destination to sync with all sources instead of just one. This parameter cannot be used with source_dsa.

To replicate the changes to all other DCs

repadmin /syncall /APeD

Force replication with all of its replication partners

I would strongly recommend using the Replmon tool or repadmin command, to force active directory replication since you will get the meaningful error message and the status message once the replication gets completed

Also Read: Sync the Active Directory replication between two domain controllers

INTERVIEW QUESTIONS HOME

One thought on “Force active directory replication(Force AD replication)

  1. Anonymous

    In Windows Server 2008 R2, the /allsources parameter is deprecated.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *