We help IT Professionals succeed at work.

Sync the domain via batch

lamar1
lamar1 asked
on
Medium Priority
1,928 Views
Last Modified: 2013-12-19
Does anyone know how to sync the domain via a batch file.
Comment
Watch Question

Commented:
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


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
I'll check it out on thrusday, and put comments in....Thanks

Author

Commented:
I did get an error on the PDC,
I_NetLogonControl failed: Status = 50 0x32 ERROR_NOT_SUPPORTED
but it seemed to work ok...Thanks
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.