Troubleshooting

Fix VM Time Sync Drift: NTP vs Hypervisor Time Sync on Hyper-V, Proxmox, and VMware Guests

Aseem Kishore
18 min read

The Back Room Tech is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

VM time sync drift breaks Kerberos logins, scrambles log timelines, and throws certificate errors. Usually two mechanisms are correcting the same guest clock at once. One is the hypervisor’s time sync (Hyper-V Integration Services, VMware Tools, or the QEMU Guest Agent). The other is an in-guest time service (Windows Time/w32tm or chrony).

The short answer: pick exactly one time source per guest. Domain-joined Windows VMs follow the Active Directory (AD) time hierarchy, so the hypervisor should stay out of the way. Standalone guests with no special needs can follow the host. Linux guests running chrony should let chrony own the clock.

Prerequisites

  • Hyper-V: A host or guest covered by Microsoft’s Hyper-V integration services documentation. Check that page for the exact Windows Server, Windows client, and Azure Local versions it currently supports.
  • Proxmox VE: A current Proxmox VE host. You also need to be able to install qemu-guest-agent inside the guest, as described in the Proxmox QEMU/KVM chapter.
  • VMware ESXi: Access to the vSphere Client and VMware Tools installed in the guest. The menu paths below are from Broadcom’s KB for vSphere 7.0 Update 1 and later; older releases use different controls.
  • Admin access to the hypervisor console and to the guest OS. That means local Administrator on Windows, or sudo on Linux (Ubuntu/Debian examples, with RHEL equivalents noted).
  • Sources were retrieved October 30, 2026. No hands-on drift measurements were taken for this guide, and the commands were checked against vendor documentation rather than run on specific guest builds. The Windows examples assume a guest that Microsoft’s integration services page currently supports; the Linux examples assume a systemd-based guest running chrony.

Decision Table: Hypervisor Sync or NTP?

Guest typeAuthoritative time sourceHypervisor time sync
Standalone Windows/Linux VM, no special requirementsHypervisorEnabled. Don’t also configure a separate NTP client
Domain-joined Windows member server or clientAD domain hierarchyDisabled
Domain controller holding the PDC emulator roleExternal or authoritative NTPDisabled
Linux VM running chrony (any hypervisor)chrony’s NTP sourcesDisabled, or not relied on for correction
Any VM after snapshot revert, migration, or resumeWhichever source you chose aboveVerify manually. Don’t assume an automatic resync

The common thread: one source wins, and you verify which one it is. The rest of this guide applies that rule to each failure mode.

Quick Diagnosis

Before you change anything, find out which source the guest actually uses. Guessing is how you end up with three sources instead of two.

On Windows guests

Open an elevated PowerShell prompt inside the VM and run:

# Shows which time provider/peer the Windows Time service is currently using
w32tm /query /source

Reading the output:

VM IC Time Synchronization Provider

This shows which source the Windows Time service itself has selected — it’s a W32Time-level answer, not a complete picture of every mechanism that can touch the clock. VM IC Time Synchronization Provider means W32Time is using the Hyper-V host as its source. A domain controller name means W32Time follows the AD hierarchy.

Local CMOS Clock means W32Time has no usable configured source. That’s a W32Time failure or fallback condition, not proof that nothing external is correcting the guest. Hyper-V Integration Services or VMware Tools can still make event-driven corrections — on resume, snapshot revert, or startup — independently of what W32Time reports. Check those settings separately, as described later in this guide.

Then run w32tm /query /status to see the stratum, last successful sync time, and source. Our Windows Server 2025 NTP guide has the full field reference and NTP setup, so we won’t repeat it here.

Elevated PowerShell window inside a Windows Server guest showing the output of w32tm /query /source and w32tm /query /status

On Linux guests

# Shows the currently selected reference, offset, and leap status
chronyc tracking

Example output (your values will differ):

Reference ID    : C0A80101 (192.168.1.1)
Stratum         : 3
System time     : 0.000124512 seconds fast of NTP time
Last offset     : +0.000031270 seconds
Leap status     : Normal
# Lists all sources; the line starting with ^* is the one chrony selected
chronyc sources

If Leap status reads Not synchronised, or no source has the ^* marker, chrony isn’t disciplining the clock. A ^* source shows what chrony has selected, though, not that chrony is the only thing changing the clock. If the offset keeps jumping while a source is selected, look for a second mechanism such as hypervisor sync. Our Chrony NTS client guide covers the full setup.

On Hyper-V, also check whether the in-kernel Hyper-V time sync driver is loaded:

# hv_utils provides Hyper-V integration services, including time sync, on Linux guests
lsmod | grep hv_utils

A loaded hv_utils module only tells you the integration driver is present. It doesn’t show whether host time sync is turned on. Check that from the host with Get-VMIntegrationService (next section). To stop Hyper-V correcting a Linux guest, clear the same host-side Time synchronization setting you’d use for a Windows guest, then confirm chrony still has a ^* source.

Terminal session on an Ubuntu guest showing chronyc tracking and chronyc sources output with a selected source marked ^*

On the hypervisor

On a Hyper-V host, check the integration service state for the VM:

# Replace web01 with your VM name
Get-VMIntegrationService -VMName "web01" -Name "Time Synchronization"
VMName Name                 Enabled PrimaryStatusDescription
------ ----                 ------- ------------------------
web01  Time Synchronization True    OK

On a Proxmox host, confirm the guest agent responds:

# Replace 100 with your VMID
qm guest cmd 100 ping

qm guest cmd <vmid> <command> is the form documented in the qm manual, with ping as one of its commands. qm agent is listed there as an alias for it. If the agent responds, the command completes without an error. If it doesn’t, you’ll get an error such as QEMU guest agent is not running. The exact output can differ between Proxmox VE releases, so judge by the exit status and any error text rather than by a specific message.

Common Issues and Solutions

Problem: VM clock drifts even though time sync is configured

Symptoms:

  • The clock is correct after a fix, then wanders again within hours.
  • The offset jumps back and forth in chronyc tracking or the event logs.
  • w32tm /query /source shows the Hyper-V provider on a domain-joined VM.

Why it happens: Two sources are correcting the same clock. The hypervisor pushes host time while w32tm, the domain, or chrony pulls it somewhere else.

Depending on each mechanism’s polling interval and correction policy, this can make the clock oscillate or drift unpredictably. The exact pattern varies by configuration, so don’t assume you’ll always see a smooth, all-day tug-of-war.

Fix:

  • Use the decision table to choose the single authoritative source for this guest.
  • If the guest should follow NTP or the domain, first confirm that the in-guest source works (see the next problem). Then disable hypervisor sync.
  • If the guest should follow the host, leave hypervisor sync on and remove any separately configured NTP client.

On Hyper-V, you can toggle the setting from PowerShell on the host:

# Stops the host from correcting this guest's clock
Disable-VMIntegrationService -VMName "web01" -Name "Time Synchronization"

Verify: Run w32tm /query /source or chronyc sources again. The source should be the one you chose, and it should stay that way over time.

Problem: Clock drifts erratically after disabling hypervisor time sync

Symptoms:

  • The drift started right after you turned off Hyper-V time sync.
  • w32tm /query /source returns Local CMOS Clock.

Why it happens: Microsoft’s integration services documentation rates disabling Time Synchronization as high impact. Once nothing else corrects the guest clock, it can drift erratically.

Fix: Never disable hypervisor sync on its own. Set up and verify the replacement source first:

  • Domain members: confirm they sync from a domain controller.
  • PDC emulator: confirm an external NTP peer is configured.
  • Standalone Windows guests: set up NTP as described in our Windows Server 2025 NTP guide.
  • Linux guests: confirm chrony has a selected source.

Verify: The source is no longer Local CMOS Clock, and w32tm /query /status shows a recent last successful sync.

Problem: Hyper-V won’t correct a guest clock that’s running fast

Symptoms:

  • The guest is several seconds or minutes ahead of the host.
  • Time Synchronization is enabled and reports OK, but nothing changes.

Why it happens: This is by design. Microsoft’s KB on this behavior says Hyper-V Time Synchronization won’t correct the guest clock if it’s more than five seconds ahead of the host. No setting overrides this limit. Yes, really.

Fix (immediate): Microsoft documents three workarounds. Pick one:

# Option 1: pause and resume the VM
Suspend-VM -Name "web01"
Resume-VM -Name "web01"

# Option 2: toggle the integration service off and on
Disable-VMIntegrationService -VMName "web01" -Name "Time Synchronization"
Enable-VMIntegrationService -VMName "web01" -Name "Time Synchronization"

The third option is a full power off and power on of the VM. A restart from inside the guest doesn’t count.

Warning: Pausing or power-cycling interrupts every workload on the VM. Schedule it during a maintenance window.

Fix (lasting): Microsoft’s guidance is to disable Hyper-V time sync and set up a different time source. Then tune the Windows Time settings PhaseCorrectRate, MaxPollInterval, MinPollInterval, and UpdateInterval as needed. Take values from Microsoft’s Windows Time service docs. Forum posts are a poor source for these.

Verify: Compare guest and host time, then confirm the source with w32tm /query /source.

Problem: Kerberos authentication fails on a domain-joined VM

Symptoms:

  • Users or services suddenly can’t authenticate.
  • Event logs show KRB_AP_ERR_SKEW.
  • w32tm /query /source points at the Hyper-V provider instead of a DC.

Why it happens: Kerberos rejects tickets when client and DC clocks differ by more than the domain’s allowed skew. A VM that follows host time can drift away from domain time.

Fix:

  • Disable hypervisor time sync for the VM.
  • Make sure it syncs from the domain hierarchy. In the standard AD design, only the PDC emulator in the forest root domain points at an external NTP source. That PDC emulator needs a reliable, reachable source of its own, and members need working connectivity to their DCs. If your organization has a documented alternative design, such as for multiple forests, follow it instead.
  • Find the PDC emulator:
# Requires the ActiveDirectory PowerShell module (RSAT)
Get-ADDomain | Select-Object PDCEmulator
  • Set up external NTP on that DC with our Windows Server 2025 NTP guide. Every other member should stay on domain time.

How much skew is OK? The Kerberos policy Maximum tolerance for computer clock synchronization sets the limit. Five minutes is the commonly cited default, but confirm the value in your domain’s Group Policy. Small offsets well inside that window can be corrected automatically. For offsets near or past it, fix the clock by hand during a maintenance window (see the next problem).

Verify: w32tm /query /source returns a DC name, and authentication succeeds.

Problem: Large time offset after a restore, revert, or long power-off

Symptoms:

  • The guest is minutes or hours off after a backup restore or snapshot revert.
  • chrony logs report that the system clock is wrong by a large number of seconds.

Why it happens: The restored guest wakes up with the clock it had when the snapshot was taken. Gradual (slewed) correction can take a long time. Abrupt jumps can upset running apps.

Fix: Correct the clock on purpose, once, while workloads are quiet.

# Windows: force the Time service to resync from its configured source
w32tm /resync
# Linux: tell chrony to step the clock immediately instead of slewing
sudo chronyc makestep

Both commands depend on a working source. w32tm /resync fails with “no time data was available” if Windows Time can’t reach its source. W32Time can also decline a very large correction that exceeds its MaxPosPhaseCorrection or MaxNegPhaseCorrection limits. chronyc makestep does nothing useful if chrony has no selected source. Fix the source first, then check w32tm /query /status or chronyc tracking. If the service still won’t correct the offset, restart it or set the clock manually.

For domain-joined guests, fix the time before users log in. Otherwise Kerberos may reject tickets in the meantime.

Verify: chronyc tracking shows a small System time offset, or w32tm /query /status shows a fresh last sync time.

Problem: Proxmox guest time is stale after snapshot rollback, migration, or resume

Symptoms:

  • The guest clock lags after a live migration, a pause/resume, hibernation, or a snapshot rollback that included RAM.

Why it happens: The guest’s clock was frozen or restored, and nothing corrected it afterward.

Proxmox developers have discussed a sync-time-on-resume guest-agent property on the pve-devel mailing list for exactly this case. This is an evolving patch series, and related discussions have used other names, such as set-time-on-resume. It isn’t published release documentation, so the option’s final name and behavior aren’t confirmed. Don’t assume your installed release has it.

Fix:

  • Check your Proxmox VE release’s docs for a sync-time-on-resume option or something similar.
  • If your release has it, make sure the QEMU Guest Agent is installed and enabled (next problem), then turn the option on. It’s off by default in the patches.
  • If your release doesn’t have it, check and correct guest time by hand after these events, or let chrony step large offsets.

Verify: Run chronyc tracking right after the event.

Problem: Proxmox QEMU Guest Agent features don’t work

Symptoms:

  • The Proxmox UI shows “QEMU guest agent is not running”.
  • qm guest cmd VMID ping fails or times out.

Why it happens: The Proxmox qemu-guest-agent wiki covers three pieces: the package, the running service, and the VM’s agent option. Proxmox’s documentation also says a fresh VM start is needed after you change that option. Usually one of these is missing.

The agent handles host-guest communication, such as shutdown and filesystem freezes during backups. Installing it doesn’t keep the guest clock accurate by itself. That still comes from in-guest NTP. The agent matters here because a resume-time sync option, where a release offers one, depends on it.

Fix: Inside a Debian/Ubuntu guest:

sudo apt-get install qemu-guest-agent
sudo systemctl enable --now qemu-guest-agent   # start now and on every boot

On current RHEL-family guests (RHEL, Rocky, Alma), use dnf:

sudo dnf install qemu-guest-agent
sudo systemctl enable --now qemu-guest-agent

On the Proxmox host, enable agent communication. You can also open the VM’s Options panel in the web UI and enable QEMU Guest Agent.

# --agent 1 enables the virtio serial channel for the agent; replace 100 with your VMID
qm set 100 --agent 1

Warning: Proxmox documentation says a full VM stop and start is required after changing this setting. A reboot from inside the guest isn’t enough.

Proxmox VE web UI, VM Options panel with the QEMU Guest Agent row selected and its edit dialog showing the enable checkbox

Verify: qm guest cmd 100 ping returns without error, and the VM Summary page shows the guest’s IP addresses.

Error Messages Quick Reference

Error or outputWhere you’ll see itMeaningFix
KRB_AP_ERR_SKEWWindows Security/System logsClock skew exceeds Kerberos toleranceMove the VM to domain time and resync
Local CMOS Clockw32tm /query /sourceW32Time has no usable configured source (check Hyper-V/VMware Tools separately)Configure NTP or domain time, and verify hypervisor-level sync settings
VM IC Time Synchronization Provider on a domain memberw32tm /query /sourceHyper-V is overriding domain timeDisable Hyper-V time sync
“The computer did not resync because no time data was available.”w32tm /resyncWindows Time has no usable data from its source (unreachable, misconfigured, or rejected)Check the peer, UDP 123, w32tm /query /status, and the Time-Service log
Leap status : Not synchronisedchronyc trackingchrony has no usable sourceCheck chronyc sources and connectivity
“System clock wrong by N seconds”chronyd logsLarge offset detectedRun chronyc makestep during a quiet window
“QEMU guest agent is not running”Proxmox web UIAgent missing, stopped, or not enabledFollow the guest agent fix above
TLS “certificate is not yet valid”Browsers, apt, APIsGuest clock is behindResync, then retry

Platform-Specific Fixes

Hyper-V

  • Open Hyper-V Manager and select the VM.
  • Click Settings in the Action pane.
  • Select Integration Services.
  • Check or clear Time synchronization.
  • Click Apply, then OK.

This checkbox controls the Time Synchronization integration service. Microsoft lists its service name as vmictimesync on Windows guests and hv_utils on Linux guests, where it’s handled by the Hyper-V utilities driver.

Hyper-V Manager VM Settings dialog with Integration Services selected and the Time synchronization checkbox visible among the service list

Proxmox VE

We didn’t find a Hyper-V-style setting for continuous host-to-guest time sync in the Proxmox VE admin documentation. Plan on in-guest NTP as the authoritative source: chrony on Linux, Windows Time or domain time on Windows. Use the QEMU Guest Agent for host-guest communication. For Windows guests, the Proxmox wiki covers installing the agent from the virtio-win drivers ISO.

VMware ESXi

Broadcom’s KB Disabling Time Synchronization for virtual machines describes two separate VMware Tools behaviors. Periodic sync sets the guest clock to host time every 60 seconds. It’s off by default, and Broadcom recommends a native in-guest service (W32Time, chrony, or ntpd) instead. One-off sync runs on lifecycle events such as resume, vMotion, snapshots, and VMware Tools restarts. It’s on by default and recommended.

Unchecking periodic sync doesn’t stop one-off syncs. That’s the second correction path to watch for on domain members and chrony guests. Broadcom’s KB, which covers ESXi 7.x and 8.x, also says VMware Tools doesn’t set an ahead guest clock backwards, except once when periodic sync is turned on. A fast guest may stay fast until your in-guest service fixes it.

In vSphere 7.0 Update 1 and later:

  • In the vSphere Client, open the VM’s Edit Settings.
  • Go to VM Options > VMware Tools > Synchronize Time with Host.
  • Clear Synchronize time periodically for domain-joined and chrony-managed guests. Leave it set only for standalone guests with no native time service.
  • Leave Synchronize at startup and resume (recommended) on unless you have a specific reason to block all host time. Clearing it also forces periodic sync off.

On releases before 7.0 Update 1, the single Synchronize guest time with host checkbox controls periodic sync only. Broadcom’s KB lists the advanced settings (time.synchronize.*) that disable one-off sync on those releases. Advanced settings take effect only after the VM or VMware Tools restarts.

Inside the guest, check the periodic setting:

# Linux guest (open-vm-tools); reports whether periodic sync is enabled or disabled
vmware-toolbox-cmd timesync status

On Windows, run VMwareToolboxCmd.exe timesync status from the VMware Tools install folder. This command reports periodic sync only, not the one-off setting.

Broadcom also notes that guests read the virtual hardware clock at boot, and that clock comes from the host. Keep every ESXi host on reliable NTP whatever you choose for the guests.

Verify: Run w32tm /query /source or chronyc tracking right after a resume, vMotion, or snapshot revert. That’s when a one-off correction is most likely to show up on a guest you meant to leave on domain or chrony time.

Configuration Mistakes

  • Wrong: Hyper-V time sync enabled and a manual NTP peer configured in w32tm. Right: Use one or the other.
  • Wrong: Every domain member pointed at pool.ntp.org. Right: Only the PDC emulator uses external NTP. Members follow the domain.
  • Wrong: Hypervisor sync disabled “to fix drift” with no replacement source. Right: Verify the replacement first.
  • Wrong: Assuming Proxmox resyncs time after migration. Right: Verify after the event unless your release documents otherwise.
  • Wrong: Hosts with bad clocks. If the host drifts, every guest following it drifts too. Hosts need solid NTP, or a local time server such as a GPS-disciplined NTP appliance or a Raspberry Pi with a GPS module.

Getting Help

Gather the following before asking for help:

  • Windows: Event Viewer > System log, filtered on source Time-Service, plus the output of w32tm /query /status and w32tm /query /source.
  • Linux: journalctl -u chrony on Debian/Ubuntu (the unit is chronyd on RHEL), plus chronyc tracking and chronyc sources.
  • Proxmox: The VM config from qm config VMID and the agent ping result.

Then check:

Prevention Tips

  • Document the time source per VM. Add a note or tag such as “time: domain” or “time: host”.
  • Bake the decision into templates. Domain-member templates should ship with hypervisor sync off.
  • Check after maintenance. Run the quick diagnosis after migrations, restores, and host patching.
  • Protect hosts from hard power loss. A UPS helps hosts avoid booting with a stale hardware clock.
  • Monitor offset. Alert on chrony offset or Windows Time-Service warnings before Kerberos breaks.
Help & Answers

Frequently Asked Questions

3 questions

Should I enable or disable hypervisor time sync?

Enable it for standalone guests with no NTP client. Disable it for domain-joined Windows VMs and for Linux guests where chrony owns the clock.

What happens to time after a Proxmox snapshot rollback or live migration?

The guest may come back with a stale clock. Unless your release documents a resume-time sync option, correct it by hand or let chrony step it.

How do I check which source my VM uses?

Run w32tm /query /source on Windows. On Linux, run chronyc sources and look for the line marked ^*.

Wrapping Up

Most VM clock drift comes down to two sources fighting over one clock. Pick one source per guest, verify it with w32tm or chronyc, and the recurring drift usually stops. Also keep the Hyper-V five-second cutoff in mind: if a fast guest clock “won’t fix itself,” check that first.

StepActionApplies To
1Identify the current sourceAll guests
2Choose one source using the decision tableAll guests
3Verify the replacement source before disabling hypervisor syncHyper-V, VMware
4Install and enable the QEMU Guest Agent, then stop and start the VMProxmox
5Correct large offsets manually during a quiet windowRestored or migrated VMs

Last updated: October 30, 2026 | Applies to Hyper-V, Proxmox VE, and VMware ESXi guests running Windows and Linux