Reading Time: 1 minute
Share:
Twitter
LinkedIn
Facebook
Reddit
Whatsapp
Follow by Email

Recently at work, we have had some issues on a customer site with GPO’s. As we were on a tight schedule I wanted to force replication rather than wait for the normal replication cycle to happen.

It is really easy to force a replication, and this article will show you how.

The easiest method is to use the following command in an elevated PowerShell window.

#changing PIXEL-DC01 to a name of the domain controller you want to push replication from.
Repadmin /syncall PIXEL-DC01 /APed
view raw Fore_AD_Sync.ps1 hosted with ❤ by GitHub

What does /Aped mean?
/A(ll partitions)
P(ush)
e(nterprise, cross sites)
d(istinguished names)

If for some reason you don’t want to use PowerShell you can always use the Active Directory Sites and Services console (dssite.msc).

From here you can select to either replicate from the selected DC or to the selected DC.

Share:
Twitter
LinkedIn
Facebook
Reddit
Whatsapp
Follow by Email

Pixel Robots.

I’m Richard Hooper aka Pixel Robots. I started this blog in 2016 for a couple reasons. The first reason was basically just a place for me to store my step by step guides, troubleshooting guides and just plain ideas about being a sysadmin. The second reason was to share what I have learned and found out with other people like me. Hopefully, you can find something useful on the site.

0 Comments

Leave a Reply

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

*

I agree