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

  1. Open the Replication Monitor from the Support Tools (replmon.exe).

  2. From the menu, select View Options.

  3. On the General tab, check the box beside Show Transitive Replication Partners and Extended Data.

  4. Click OK.

  5. In the left pane, right-click on Monitored Servers and select Add Monitored Server.

  6. Use the Add Monitored Server Wizard to add one of the domain controllers you want to compare (I’ll call it dc1).

  7. In the left pane, under the server you just added, expand the naming context that you want to check for unreplicated changes.

  8. 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.

  9. Enter credentials if necessary and click OK.

  10. If some changes have not yet replicated from dc2 to dc1, a box will pop up that lists the unreplicated objects.

  11. 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.