Solved

Sync the domain via batch

Posted on 1997-09-29
3
1,889 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Joining to an AD domain "over the Internet" 4 71
Top cover replacement dell latitude d620 12 103
Cannot Change Local DNS 9 72
Bandwidth Hugers how to find them 9 49
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 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