Repadmin and friends My top Ten Commands


I was working at a customer site the other day, and they were looking over my shoulder as I was typing in some Repadmin commands. They asked me the question what is your recommended top 5 Repadmin (plus friends) commands. Well that got me thinking and here is my  top 5 list. BTW the numbering does not indicate whether one is more important than another, they are just the ones I seem to use the most.


The important thing to remember about AD replication, is that everything is pulled not pushed. So if there are problems with replication this normally shows itself on the replication partners that pull from a particular DC which is uncontactable for some reason.


1. Repadmin /replsummary – (This is a great command it gives you a snapshot of the state of your active directory replication and how long it is since a partition has replicated). You should not expect to see longer than 1 hour since last replication if everything is healthy. The number of dots at the beginning of this command -3 denotes a DC. This lists up to 50 DCs per line, so two lines is 97 !


2. Repadmin /showrepl /repsto – This command displays the replication partners for each naming context that is held on the specified DC. This enables you to build a picture of the replication topology.


3. Repadmin /queue – This command run against a particular DC determines if its replication queue has any entries. If it has it may indicated it is overloaded.


4. Repadmin /viewlist * – this lists all the DCs in the Forest. This is limited at this point to output upto 999 DCs


5. Netdom /query FSMO – This is a nice quick command to display which server(s) currently hold the Forest and Domain Wide FSMO roles.


This list is by no means exhaustive and there are a numerous switches and other commands to also be aware of. A good place to start is Active Directory Operations Troubleshooting Guide, which puts the commands in context.

Comments (6)

  1. wererwrwerwe says:

    FSMO – This is a nice quick command to display which server(s) currently hold the Forest and Domain Wide FSMO roles.

    This list is by no means exhaustive

    https://www.facebook.com/WatchMagicMikeXXLOnline
    http://www.screencast.com/t/sd6SU3y6X
    https://www.linkedin.com/grp/post/6981021-6017300035971067904
    http://www.screencast.com/t/x3gSf3gVa64c
    https://www.linkedin.com/grp/post/6971553-6011437718989459459
    https://www.rebelmouse.com/WatchBlackMassOnline/
    https://www.facebook.com/WatchStraightOuttaComptonOnline
    http://www.screencast.com/t/tzQwd7gc
    https://www.linkedin.com/grp/post/6971553-6011496519566376963
    https://www.rebelmouse.com/WatchHitmanAgent47Online/
    https://www.rebelmouse.com/WatchSinister2Online/
    https://www.facebook.com/WatchBlackMassOnline
    https://www.linkedin.com/grp/post/8337129-6017929691594260480
    https://www.linkedin.com/grp/post/6980115-6017740502923755520
    https://www.linkedin.com/grp/post/6980115-6017733578547290113
    https://www.rebelmouse.com/WatchMaxOnline/
    http://www.screencast.com/t/4kRt7S9N6Cbp
    https://www.rebelmouse.com/WatchTerminatorGenisysOnline/
    https://www.rebelmouse.com/WatchRickiAndTheFlashOnline/
    https://www.linkedin.com/grp/post/6980115-6017737638633549828
    https://www.facebook.com/WatchSelflessOnlineNow
    https://www.rebelmouse.com/WatchStraightOuttaCompton/
    https://www.linkedin.com/grp/post/6981021-6017294592175517699
    https://www.linkedin.com/grp/post/6975089-6015036398715822084
    https://www.linkedin.com/grp/post/8338032-6017252274668138499
    https://www.facebook.com/WatchMinionsOnlineNow
    http://www.screencast.com/t/VpGExbbJn3
    https://www.rebelmouse.com/WatchTed2Online/
    https://www.linkedin.com/grp/post/6980115-6017735463568158724
    https://www.facebook.com/WatchMaxOnline
    http://www.screencast.com/t/quSMVzunkfta
    https://www.rebelmouse.com/WatchEverestOnline/
    https://www.linkedin.com/grp/post/8338032-6017245551668580353
    https://www.facebook.com/WatchHitmanAgent47Online
    http://www.screencast.com/t/V4UMPCxZWbw
    https://www.rebelmouse.com/WatchPixelsOnline/
    https://www.facebook.com/WatchWarRoomOnline
    https://www.facebook.com/WatchKitchenSinkOnline
    http://www.screencast.com/t/5M6Ppcs2d
    https://www.rebelmouse.com/WatchAntmanOnline/
    http://www.screencast.com/t/kwDvncnb7w
    http://www.screencast.com/t/S2I3Wrr82Vi
    https://www.linkedin.com/grp/post/6981021-6017297880677638145
    https://www.facebook.com/WatchTheVisitOnline
    https://www.linkedin.com/grp/post/6975089-6015035803892207618
    https://www.rebelmouse.com/WatchSelflessOnline/
    https://www.rebelmouse.com/WatchTrainwreckOnline/
    http://www.screencast.com/t/7HJHoJAX3Zdh
    http://www.screencast.com/t/BqDYRnTTcd
    https://www.facebook.com/WatchAmyOnline

  2. erwerwr says:

    http://www.screencast.com/t/CvnePCvyvDTf
    https://www.pinterest.com/pin/84583299228832186/
    https://www.facebook.com/1496531827335440
    http://www.screencast.com/t/zOKl2GzG6ss8
    http://www.screencast.com/t/67dWOB9AzM
    https://www.facebook.com/1491496394502853
    https://www.facebook.com/1485686881756234
    http://www.screencast.com/t/8kPk6O1dPQp
    http://www.screencast.com/t/i0iNzwEAem
    https://www.facebook.com/1491487521170407
    http://www.screencast.com/t/g38ais40
    https://www.pinterest.com/pin/160511174196348226/
    https://www.facebook.com/1490795671239871
    http://www.screencast.com/t/gy64QbqLa2
    http://www.screencast.com/t/5Sjnv3LGDLDo
    http://www.screencast.com/t/3Jv8LsFHzu8
    http://www.screencast.com/t/Xt7h3raZqd3
    http://www.screencast.com/t/dK8b3dM9DPr
    https://www.pinterest.com/pin/148478118942142012/
    http://www.screencast.com/t/CIUfBdyo
    https://www.pinterest.com/pin/84583299228836265/
    https://www.facebook.com/1496736273981662
    http://www.screencast.com/t/vzC1Fubt18
    http://www.screencast.com/t/EBvMjqCN
    http://www.screencast.com/t/beW3Eezjuqi
    http://www.screencast.com/t/eYYejwo8
    http://www.screencast.com/t/cOxVaK0TY4R
    https://www.facebook.com/1496498814005408
    https://www.pinterest.com/pin/84583299228836248/
    http://www.screencast.com/t/BGgozJVj
    https://www.pinterest.com/pin/84583299228832039/
    https://www.facebook.com/1484751275183128
    http://www.screencast.com/t/KHSUtxH8a
    https://www.facebook.com/1494552874199859
    https://www.facebook.com/1493074824344190
    https://www.facebook.com/1491078197878285
    https://www.facebook.com/1491066221212816
    https://www.pinterest.com/pin/50665564535279046/
    https://www.facebook.com/1488573798132143
    https://www.facebook.com/1492521091067050
    http://www.screencast.com/t/FNYwM5SqKCp3
    https://www.pinterest.com/pin/350647520966505199/
    https://www.pinterest.com/pin/350647520966504290/
    https://www.pinterest.com/pin/350647520966504253/
    https://www.facebook.com/1493410314310641
    https://www.facebook.com/1494556510866162
    https://www.pinterest.com/pin/442830575838893035/
    https://www.pinterest.com/pin/442830575838906819/
    http://www.screencast.com/t/gp8EazJA8Ei
    http://www.screencast.com/t/78YzdFnaxdg