time sync

KBTibbs

Senior member
May 3, 2001
226
0
0
Hello,

I'm running Win2k pro sp2 behind a linksys router. My computer clock is a little slow, so i want to use a time sync program. I've tried many, but I can't get any of then to work...Either it is Win2k or the NAT router. I've opened the ports all the docs (for the dozen or so programs I've tried) say, yet nothing. I then tried on another computer behind the firewall (Windows ME) and one of the programs works without any ports opened in the firewall....aaaarrrgh!

So, does anyone know of a client/server type of clock sync, so the copy on the winME could sync with the net, then I sync with it...Or better yet, know of a way/program to work just from my pc?

Thanks,

KBTibbs
 

DocDoo

Golden Member
Oct 15, 2000
1,188
0
0
ntp-s1.cise.ufl.edu

Windows 2000 has an NTP client built-in, a very smart one which not only synchronises your clock but also tweaks the rate of the clock so that it keeps better time anyway. Set it up as follows:

In a Command Prompt window, type the command

net time /setsntp:172.xx.xxx.254

where 172.xx.xxx.254 is the address of the UBR that you discovered.
Right-click on My Computer and select Manage.
In the left-hand window, expand Services and Applications and select Services.
In the right-hand window, scroll down and double-click Windows Time.
In the drop-down Startup type select Automatic.
Click button Start (unless it was already started, when the button is dimmed).
Click OK.
Close the window Computer Management.
This setup will automatically start the time synchroniser after every restart.

If you are mobile, and need to change NTP servers, you can script a change of NTP server as follows:

net stop "Windows Time"
net time /setsntp:new.ntp.server.here
net start "Windows Time"
where new.ntp.server.here is the DNS name or IP number of the new NTP server.