Thursday, June 13, 2024

Administrate NTP Settings via Windows OS

This section lists some NTP settings which can be used to configure / troubleshoot the Windows NTP Service.

Question #1 – How can I check what time source is being used by Windows?

Open an administrative command prompt and run “w32tm /query /source”.  If you are synchronizing with a remote computer, the name from the computer should be listed. If you are using a hardware clock you should see “local CMOS Clock”


Question #2 – How can I let the computer sync its time with the the default time hierarchy?

Open an administrative command prompt and run:

w32tm /config /syncfromflags:domhier /update
net stop w32time
net start w32time

If the server is a DC you might wish to use the following instead

w32tm /config /syncfromflags:domhier /update /reliable:yes
net stop w32time
net start w32time

This command tells Microsoft Windows to go and look for the best time source in the domain hierarchy.


Question #3 – How to force the synchronization with the current configured NTP Source / timeserver?


w32tm /resync


Question #4 – How to show the NTP source which is currently used?


w32tm /query /source


Question #5 – How can I get a list of peers which are currently used?


W32tm /query /peers



Related Articles


Please enter your comment!
Please enter your name here

Stay Connected

- Advertisement -

Latest Articles