12.3. Viewing Unreplicated Changes Between Two Domain Controllers
Problem
You want to find the unreplicated changes between two domain controllers.
Solution
Using a graphical user interface
Open the Replication Monitor from the Support Tools (
replmon.exe
).From the menu, select View → Options.
On the General tab, check the box beside Show Transitive Replication Partners and Extended Data.
Click OK.
In the left pane, right-click on Monitored Servers and select Add Monitored Server.
Use the Add Monitored Server Wizard to add one of the domain controllers you want to compare (I’ll call it dc1).
In the left pane, under the server you just added, expand the naming context that you want to check for unreplicated changes.
Right-click on the other domain controller you want to compare (I’ll call it dc2) and select Check Current USN and Un-replicated Objects.
Enter credentials if necessary and click OK.
If some changes have not yet replicated from dc2 to dc1, a box will pop up that lists the unreplicated objects.
To find out what changes have yet to replicate from dc1 to dc2, repeat the same steps except add dc2 as a monitored server and check for unreplicated changes against dc1.
Using a command-line interface
Run the following two commands to find the differences between two
domain controllers. Use the /statistics
option to
view a summary of the changes:
> repadmin /showchanges <DC1Name
> <DC2GUID
> <NamingContextDN
> > repadmin /showchanges <DC2Name
> <DC1GUID
> <NamingContextDN
>
The Windows 2000 version ...
Get Active Directory Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.