XP/2000: Configure Client SNTP Time Protocol Settings

Posted June 9, 2004 by Quinn McHenry in Windows

Using the simple network time protocol (SNTP) client on a host allows automatic adjustments to the system time. Keeping the time consistent between hosts in a network is essential for some applications and is helpful for correlating events on different systems.


Network time protocols use a client/server architecture. The client configuration requires the name of one or more time servers. To determine the current configuration of the client, use the following command from a command prompt:

C:\>net time /querysntp
This computer is not currently configured to use a specific SNTP server.

To configure the client to use the time server time.windows.com, use the following command:

C:\>net time /setsntp:time.windows.com

Restarting the w32time service may be necessary. To do this from the command line, use the following two commands:

net stop w32time
net start w32time

These settings will persist after the system reboots.

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.