help time running out

Posted on 2005-03-23
Medium Priority
Last Modified: 2010-04-14
i have 2 windows 2000 main and station 1 i want the time on station1 to syn with main. is there anyway to do this with a script?
Question by:CHANVAN
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
LVL 96

Expert Comment

by:Lee W, MVP
ID: 13618954
The command is


If this is a domain, then you should setup the PDC Emulator (probably the first DC you created unless you've moved the rols) to sync with an internet time source.  Then the clients, using the Windows Time Service, Should sync up by themselves, if they are domain members.

Author Comment

ID: 13618963
there in a workgroup wil it work there no server at the location. and he battery on the station died
LVL 96

Accepted Solution

Lee W, MVP earned 120 total points
ID: 13618980
You would need to create a script like this:


Replace Password, Username, and Server with those appropriate for your network.

Expert Comment

ID: 13625945
Windows 2000 has the ability to sync time from an outside source.  If you have a full time internet connection syncing time via an SNTP service is a good method also.

To do that you have configure the machine to sync from an outside source.  This can be done for both machines or just the one.  

See Microsoft Article 216734 for the method to do this. ( http://support.microsoft.com/kb/q216734/ )

After that is set, you can search the net for a myriad of time sync servers for sntp.

Find one you like and you can set it quite easily.

Net Time /setsntp:%timeserver%

You can also specify multiple servers within the registry.

You can check your settings with:

Net Time /querysntp

This returns the current time sync server that your machine is looking for.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Introducing Priority Question, our latest feature.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

752 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