Verify and configure Windows servers for NTP

It’s a known fact computers like to interact with other machines only when they can at least agree they exist in the same time. Once we learn more about time travel and parallel universes maybe this will change, but for now let’s keep all our clocks in sync!

Verify current status

Note the “Source” field. In the example below this indicates that the server is using the local system clock and not an NTP server.

PS C:\Users\Administrator> w32tm /query /status
Leap Indicator: 3(last minute has 61 seconds)
Stratum: 0 (unspecified)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0625000s
Root Dispersion: 7.8418233s
ReferenceId: 0x00000000 (unspecified)
Last Successful Sync Time: 2/25/1983 7:53:20 AM
Source: Free-running System Clock
Poll Interval: 10 (1024s)

Configure the NTP server to use

PS C:\Users\Administrator> net time \\time.windows.com /set /yes

Restart the time service

net stop w32time

net start w32time

 Sill having troubles?

Enable logging:

http://support.microsoft.com/kb/307937

 

References

http://technet.microsoft.com/en-us/library/w32tm.aspx

http://support.microsoft.com/kb/120944