Repadmin - How To Check Active Directory Replication - Active Directory Pro
Repadmin - How To Check Active Directory Replication - Active Directory Pro
In this tutorial, you will learn how to use the repadmin tool to check Active Directory
Replication.
In addition to checking the health of your domain controllers, it can also be used to
force replication and pin point errors.
Active Directory replication is a critical service that keeps changes synchronized with
other domain controllers in the forest.
Problems with replication can cause authentication failures and issues accessing
network resources (files, printers, applications).
Below I’ll show you the step by step process with plenty of examples and the
results.
Let’s do this.
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 1/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
Microsoft started to include the repadmin command in Windows server 2008 and
up. It is also included on any computer that has the Remote Server Administration
Tools (RSAT) installed.
Repadmin Examples
To use repadmin you need to run the command prompt as an administrator. Simply
right click cmd and choose to run as administrator
repadmin /?
Results displayed
C:\Users\rallen>repadmin /?
Usage: repadmin [/u:{domain\user}] [/pw:{password|*}]
[/retry[:][:]]
[/csv]
/pw: Specifies the password for the user name entered with the /u
parameter.
/retry This parameter will cause repadmin to repeat its attempt to bind
to the target dc should the first attempt fail with one of the
following error status:
repadmin /replsummary
Results displayed
:\WINDOWS\system32>repadmin /replsummary
Replication Summary Start Time: 2018-03-13 04:44:54
Beginning data collection for replication summary, this may take awhile:
.....
DC2 52m:46s 0 / 5 0
In addition, this command displays the GUID of each object that was replicated and
it’s result. This is helpful to identify what objects are failing to replicate.
repadmin /showrepl
Results displayed
C:\Users\rallen>repadmin /showrepl
DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-13 03:52:08 was successful.
CN=Configuration,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-13 03:52:08 was successful.
CN=Schema,CN=Configuration,DC=ad,DC=activedirectorypro,DC=com
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 5/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
DC=DomainDnsZones,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-13 03:52:08 was successful.
DC=ForestDnsZones,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-13 03:52:08 was successful.
Results displayed
DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC1 via RPC
DSA object GUID: a4d22a63-1918-492a-bcd6-7fe286941e72
Last attempt @ 2018-03-14 04:21:02 was successful.
CN=Configuration,DC=ad,DC=activedirectorypro,DC=com
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 6/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
CN=Schema,CN=Configuration,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC1 via RPC
DSA object GUID: a4d22a63-1918-492a-bcd6-7fe286941e72
Last attempt @ 2018-03-14 03:52:07 was successful.
DC=DomainDnsZones,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC1 via RPC
DSA object GUID: a4d22a63-1918-492a-bcd6-7fe286941e72
Last attempt @ 2018-03-14 03:52:07 was successful.
DC=ForestDnsZones,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC1 via RPC
DSA object GUID: a4d22a63-1918-492a-bcd6-7fe286941e72
Last attempt @ 2018-03-14 03:52:07 was successful.
DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-15 04:19:38 failed, result 8524 (0x214c):
The DSA operation is unable to proceed because of a DNS lookup failure.
1 consecutive failure(s).
Last success @ 2018-03-14 07:52:08.
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 7/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
CN=Configuration,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-15 04:19:38 failed, result 8524 (0x214c):
The DSA operation is unable to proceed because of a DNS lookup failure.
1 consecutive failure(s).
Last success @ 2018-03-14 07:52:08.
CN=Schema,CN=Configuration,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-15 04:19:38 failed, result 8524 (0x214c):
The DSA operation is unable to proceed because of a DNS lookup failure.
1 consecutive failure(s).
Last success @ 2018-03-14 07:52:08.
DC=DomainDnsZones,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-15 04:19:38 failed, result 8524 (0x214c):
The DSA operation is unable to proceed because of a DNS lookup failure.
1 consecutive failure(s).
Last success @ 2018-03-14 07:52:08.
DC=ForestDnsZones,DC=ad,DC=activedirectorypro,DC=com
Default-First-Site-Name\DC2 via RPC
DSA object GUID: 57a1cfbc-88bb-41da-a1a6-f14f5c9df408
Last attempt @ 2018-03-15 04:19:38 failed, result 8524 (0x214c):
The DSA operation is unable to proceed because of a DNS lookup failure.
1 consecutive failure(s).
Last success @ 2018-03-14 07:52:08.
Source: Default-First-Site-Name\DC2
******* 1 CONSECUTIVE FAILURES since 2018-03-14 07:52:08
Last error: 8524 (0x214c):
The DSA operation is unable to proceed because of a DNS lookup failure.
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 8/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
Repadmin /Queue
Results displayed
C:\Users\rallen>repadmin /queue
This will do a pull replication, which means it will pull updates from DC2 to DC1.
If you want to push replication you will use the /P switch. For example if you make
changes on DC1 and want to replicate those to other DCs use this command.
Results displayed
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 9/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 10/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
Sometimes these commands can display a lot of information. You can export any of
the examples above to a text file, this makes it a little easier to review at a later time
or save for documentation.
just add > c:\destination folder\filename.txt to the end of any of the commands
More examples
Find the last time your DC were backup
Repadmin /showbackup *
repadmin /showoutcalls *
Conclusion
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 11/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
I hope you found this guide useful. If you have any questions leave a comment
below.
See Also:
What I like best about this tool is its easy to use interface and instant alerting
features.
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 12/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
Hani Alhabshi
September 9, 2018 at 10:48 am
Reply
Robert Allen
September 22, 2018 at 7:16 pm
Thanks Hani
Reply
user
January 17, 2019 at 12:48 pm
Reply
Robert Allen
January 18, 2019 at 12:37 am
No problem
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 13/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
Reply
Bhupender Kumar
June 17, 2019 at 6:00 am
Reply
H Junior
October 31, 2019 at 6:01 pm
Reply
Ioannis
January 27, 2020 at 8:11 am
Reply
Johnny
April 30, 2020 at 8:51 am
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 14/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
Useful article!
Reply
Kareem
May 30, 2020 at 4:46 am
Reply
Shaun
July 31, 2020 at 7:56 am
Thank you
Reply
Dragon
September 29, 2020 at 1:16 am
Reply
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 15/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
Pearson K
October 22, 2020 at 1:23 pm
Reply
IMran
February 16, 2021 at 9:32 am
Hi,
Would you please explain how to Active Directory replication happen site
to site and Domain controller to Domain Controller step by step.
Reply
Kabir Acosta
July 29, 2021 at 8:01 pm
Excellent!
Reply
Mohd Hasan
September 26, 2021 at 2:48 pm
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 16/18
2021/10/25 下午3:36 Repadmin: How to Check Active Directory Replication - Active Directory Pro
Reply
Robert Allen
September 27, 2021 at 11:37 am
Thans Mohd
Reply
Leave a Comment
Name *
Email *
Website
Post Comment
Download this free PDF checklist that includes the top 25 best practices for
securing Active Directory and Windows systems.
Email address
Download PDF Checklist
Resources
Tools
Blog
About
Contact
Follow us
Twitter
YouTube
https://activedirectorypro.com/repadmin-how-to-check-active-directory-replication/ 18/18