Welcome to weblogs.com.pk Sign in | Join | Help

NTP: Time Synchronization

NTP is widely used protocol being used to synchronize the time between computers and devices inter-connected. Windows also support the NTP protocol out of the box. (Windows 2000 onwards I guess) In case you have any NTP server on your network, you can use the following commands to keep your computer synchronized with the NTP server. In case you are using some firewall on the computer/server, make sure you allow 123 UDP outgoing and incoming connection. (For tighter control you can only allow the particular NTP server IP as the remote host)


net time /querysntp

net time /setsntp:ntpserver-address

net time /querysntp

net stop w32time

net start w32time


If required make the Windows Time service to start automatically whenever system boots-up. Also check Event viewer, if there is any error from W32Time service, act accordingly to fix the problem.


In case your computer is connected to the internet, you can also use public NTP server to synchronize the computer’s time. Try Google.com or other such search engines to find the public NTP servers.


In case you want fine control of the Windows Time service, especially regarding the schedule of the synchronizations, visit Microsoft Support page that talks about the registry settings of the Windows Time service.

Published Monday, July 19, 2004 5:14 PM by khurram


No Comments

New Comments to this post are disabled