Azure – configure time sync for azure VMs

azuretimetime-synchronizationw32time

I have several ExtraSmall-sized Azure VMs (PaaS / Cloud Service based) that are all experiencing drifting of the Windows clock. Research showed that this is quite common, especially in VMs with shared cores.

Unfortunately even after configuring the w32time service to sync with time.windows.com and forcing a resync (w32tm /resync), there seems to be a time difference of 2 seconds to the configured NTP server. Though Microsoft states that w32tm is not meant as a high-precision sync tool, a difference of 2 seconds is (IMO) quite a lot for server-activities/processing.

What does one have to do to get more accurate time sync?

Best Answer

Try using pool.ntp.org instead. It's a more accurate clock. You could also try software called NetTime which is a better tool than the built-in sync.