Sync the domain via batch

Does anyone know how to sync the domain via a batch file.
lamar1Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lamar1Author Commented:
I'll check it out on thrusday, and put comments in....Thanks
0
lamar1Author 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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.