Backtrack:  
 
by lunarg on April 5th 2013, at 09:08

Microsoft still does not enable NTP time sync by default on their servers. You can very easily manually enable it using the Windows Time Service, which supports time synchronisation from an NTP time server.

Open up an elevated command prompt on your server to begin.

To specify one or more NTP time servers:

w32tm /config /syncfromflags:MANUAL /manualpeerlist:0.europe.pool.ntp.org

Time sync does not automatically start, so you have to restart Windows Time Service:

net stop w32time
net start w32time

To query the status of the time sync:

w32tm /query /peers

You should get some output like this:

#Peers: 1

Peer: 0.europe.pool.ntp.org
State: Active
Time Remaining: 57.2511002s
Mode: 1 (Symmetric Active)
Stratum: 2 (secondary reference - syncd by (S)NTP)
PeerPoll Interval: 15 (32768s)
HostPoll Interval: 6 (64s)
 
 
« November 2024»
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
 
Links
 
Quote
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett