Setting the SNTP Time Servers

John Savill

June 28, 2007

1 Min Read
ITPro Today logo in a gray background | ITPro Today

You might wonder how to set the Simple Network Time Protocol (SNTP) time servers that domain controllers (DCs) should synchronize with. You used to use the net time command to set the SNTP servers that a DC should synchronize time with, as in the following example:

net time /setsntp:"server1.dom.com server2.dom.com server3.dom.com"

However, Microsoft has introduced the w32tm tool. You should use w32tm, with the syntax shown in these examples, to set the SNTP servers:

w32tm /config /syncfromflags:manual /manualpeerlist: w32tm /config /update

These two examples show the use of the w32 command:

C:>w32tm /config /syncfromflags:manual /manualpeerlist:ntp5.tamu.edu C:>w32tm /config /update

To force a client to update its time, run the /resync parameter with w32tm.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like