How do I set the Simple Network Time Protocol (SNTP) time servers that domain controllers (DCs) should synchronize with?

A. 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:""

However, Microsoft has depreciated Net time by introducing 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 /

C:\>w32tm /config /update

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

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.