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
ASKER CERTIFIED SOLUTION
Avatar of Kash
Kash
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of adriaanvw
adriaanvw
Flag of United Kingdom of Great Britain and Northern Ireland image

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)
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
Windows Server 2008
Windows Server 2008

Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.

86K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo