Solved

Sync the domain via batch

Posted on 1997-09-29
3
1,897 Views
Last Modified: 2013-12-19
Does anyone know how to sync the domain via a batch file.
0
Comment
Question by:lamar1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
rwong earned 100 total points
ID: 1566083
Of course. But the bat file procedure is not automatic - you must know all the BDC names. Because you must know each BDC name to sync, you cannot simply force full sync at PDC and have it sync all BDCs. Instead, you must name each BDC for it to sync. To do this, use the NT4 resource kit. Run:

    NLTEST /SYNC /SERVER:servername

So, in your bat file, you enter:

    @echo off
    NLTEST /SYNC /SERVER:servername-1
    NLTEST /SYNC /SERVER:servername-2
    NLTEST /SYNC /SERVER:servername-3
    NLTEST /SYNC /SERVER:servername-4


0
 

Author Comment

by:lamar1
ID: 1566084
I'll check it out on thrusday, and put comments in....Thanks
0
 

Author Comment

by:lamar1
ID: 1566085
I did get an error on the PDC,
I_NetLogonControl failed: Status = 50 0x32 ERROR_NOT_SUPPORTED
but it seemed to work ok...Thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question