By submitting your personal information, you agree to receive emails regarding relevant products and special offers from TechTarget and its partners. You also agree that your personal information may be transferred and processed in the United States, and that you have read and agree to the Terms of Use and the Privacy Policy.

Here's a very fast way to force a full directory replication between domain controllers -- without having to use the Sites and Services MMC snap-in.

Have you made a change and want to make certain that all your DCs take the update? Even on some of the "instant" changes, I sometimes find that one or more DCs didn't get it in time. How did I manage? Well, until I discovered the little file I am going to share with you below, I was using the Sites and Services snap-in -- and having to click 20 or 30 items for every instance, thereby wasting an enormous amount of my valuable time.

From the Windows 2000 support tools, this little command line tool, stuck into a batch file, works wonderfully! The tool is 'REPADMIN.EXE' and here is a very small batch file I was using successfully in a test lab:

As you can see, you only need a minimal understanding of LDAP, and a little registry hunting skill, to find the ID of the second DC. Each of these lines forces a full synchronization to another server -- these two lines completely update a 3 DC tree. I saved them as 'REPL.BAT' and whenever I make a change to the directory, I immediately run this batch file. One double click, and voila! -- Full rep in just a couple of seconds!

If you manually initiate replications, and most admins I've met do, you'll find this batch file incredibly useful. It takes a little effort to create, but once you're done, I'm positive that you'll love it.

E-Chapter

E-Handbook

0 comments

E-Mail

Username / Password

Password

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy