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)
 
 
« October 2024»
SunMonTueWedThuFriSat
  12345
6789101112
13141516171819
20212223242526
2728293031  
 
Links
 
Quote
« If the batteries of a TV remote run out, why do we press the buttons so much harder? »