Tuesday, September 4, 2007

NTP client setting in Windows 2000 and Windows XP in command prompt

NTP stand for Network Time Protocol, which is used for Time synchronization across computer networks or equipment so the computer or equipment always has the correct and accurate time. This protocol use User Datagram Protocol (UDP) port 123. The computer or network equipment usually synchronize their local time with one or more NTP server that connect to them by LAN, WAN or Global Internet. NTP server usually get the time from an accurate time source, like GPS (Global Positioning System) or other very accurate time sources.

For some computer that run Windows XP and Vista , Linux, UNIX, Mac OS, etc, the NTP client already install default in the Operating System and have an interface to setting the NTP client. There is also some 3rd party software that can be freely to download and simple to use like TimeTools SNTP client , SP Time Sync.
But actually for Windows XP there is already some setting to use the NTP directly without use 3rd party application.

For Windows XP using GUI:
You can directly navigate START --> Control Panel --> Date and Time, klik for Internet Time, choose the time server and then klik Update Now
If success, you will see a result like this.



For Windows 2000 and Windows XP (using command):
Go to START  Run  type cmd (a command prompt will be open)
on the command prompt, type as follow, assume the NTP server is time.nist.gov or you can use your server IP address.

C:\ net time /setsntp:time.nist.gov

C:\ net stop w32time

C:\ net start w32time

Hola… you already set your Windows 2000 NTP sync without 3rd party application. Then check using this, should be no error is generated.

C:\ net time /querysntp

Good luck!!

No comments: