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 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |