Avatar of t2s
t2s asked on

DNS and Server Replication


This is a follow on from a question I posted early in the week.

I have a client with a 2008 Server DC and a 2008 Server as a Terminal Server.

Now once the TS has rebooted, replication to the DC fails, to re-establish replication I have to run
dcdiag /TEST:DNS
Then go into "Active Directory Sites" , drill down to the TS, "Right click" and select "Replicate Now"

My question is, is there a way to use a command line to activate the "Replicate Now" command rather than the "Active Directory Sites and Servers" snap in ?
I want to create a batch file to include the "DCdiag /test:dns and the "Replicate Now" command if possible.


Windows Server 2008SBSActive Directory

Avatar of undefined
Last Comment
Sushil Sonawane

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Here is another example from this website http://www.windowstricks.in/2009/11/force-active-directory-replication.html

repadmin /replicate destination_dsa source_dsa Naming Context

repadmin /replicate server2.Domain.com server1.Domain.com dc=Domain,dc=com

Destination server Name: server2.Domain.com
Source server Name: server1.Domain.com
Naming Context : dc=Domain,dc=com (Domain partition)
Sushil Sonawane

Make sure your NIC card Preferred dns server and alternet dns server setting pointing to your dns server. For AD command line synchronization "Repadmin" is tool.

For more info and your question answer refer below link.




Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy