Avatar of t2s
t2s asked on

DNS and Server Replication

Hi,

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.

Cheers

Steve
Windows Server 2008SBSActive Directory

Avatar of undefined
Last Comment
Sushil Sonawane

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Kash

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
or
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
adriaanvw

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

Example:
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.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/784d12fd-feb9-4e95-b675-9a4e047bed97/ad-replication-commands

http://support.microsoft.com/kb/232072

http://technet.microsoft.com/en-us/library/cc794809(v=ws.10).aspx

http://technet.microsoft.com/en-us/library/cc816915(v=ws.10).aspx
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