Technical Anshu
Tutorials Blog
Time Sync Problem

VMware Virtual Machine Clock Keeps Drifting Fix Time Sync the Right Way

The VM clock says 10:42 while your watch says 10:57, and it is worse every week. Files get strange timestamps, schedules fire late, and one day a domain login refuses outright because the clock is too far from the server's. Virtual clocks drift by nature - the fix is understanding which tool should be correcting them, and letting only that one do it.

Technical AnshuVMware WorkstationTools sync versus Windows Time
Watch the full process in the video - the VMware settings behind the scenes that quietly keep a VM healthy

A physical PC has a hardware clock chip. A VM has a simulated one, and simulation loses time whenever the host is busy, the VM is suspended, or a snapshot is restored. Two separate systems try to correct it - VMware Tools time sync to the host, and the guest's own Windows Time service to a server or domain. When both fight, the clock flaps. When neither runs, it wanders. The whole fix is choosing one master and setting it up properly.

The same moment, three clocks - the classic drift picture
Your watch and phone10:57
Host PC clock10:57
VM clock after a week of suspends10:42 - 15 MINUTES BEHIND
Domain logins start failing atAbout 5 minutes of difference
Fifteen lazy minutes is not a cosmetic issue. Windows domain authentication tolerates only about five minutes of clock difference before it starts refusing logins.
1

Why a Virtual Clock Drifts at All

The guest counts time by tracking timer interrupts, and under load some get delayed or merged. Suspend the VM and its clock effectively sleeps too. Restore a snapshot and the guest wakes believing it is still the snapshot's moment. None of this is damage - it is the physics of a simulated clock on a shared machine, and it is exactly why Tools carries a time sync feature in the first place.

2

How VMware Tools Time Sync Really Behaves

With Tools running, the guest clock is pulled to the host's clock at power on, at resume from suspend, and periodically when sync is enabled. Two honest details matter. First, this makes the host's clock the master - a wrong host clock makes every guest wrong together. Second, Tools' periodic sync historically corrects a clock that is behind; a guest running ahead may need a reboot or a manual correction rather than waiting for sync to pull it back.

3

Pick One Time Master - This Is the Actual Fix

Decide who owns the VM's time and disable the other candidate:

  1. Standalone VM: let VMware Tools sync to the host, and make sure the host itself syncs to internet time
  2. Domain-joined VM: the domain is the master - Windows Time inside the guest takes time from the domain hierarchy, and Tools periodic sync should be off so the two never fight
  3. Linux guest: open-vm-tools sync or chrony - again, exactly one

Check what Windows Time is doing inside the guest with w32tm /query /status - it names the source the guest is actually trusting.

4

Fix the Big Jumps After Suspend and Snapshots

The dramatic cases - a VM waking hours or days in the past - come from long suspends and snapshot restores. Tools sync at resume repairs ordinary cases automatically. If a guest wakes with a clock that is still badly wrong, a full guest reboot forces a clean sync at power on. Build the habit too: a VM you intend to keep should be shut down or left running, not suspended for a fortnight and expected to know what day it is.

5

Start at the Host Clock

Before blaming any guest, look at the host. If the host's own clock is wrong or drifting - a dying CMOS battery on an older desktop does exactly this - every guest syncing to it inherits the error perfectly. Enable internet time sync on the host, confirm it agrees with your phone, and only then judge the guests. It is the cheapest step on this page and the one most often skipped.

Why minutes matter: domain authentication (Kerberos) refuses logins when clocks differ by more than about five minutes, certificates validate against the clock, and logs with wrong times make every later investigation a lie. Time drift is a small symptom with a long shadow - fix the master, not the display.

Watch the Full Fix in the Video

The video covers the Tools and configuration habits that keep VMs quietly healthy - time sync included. Watch it and audit your own VMs.

Watch Full Video
Common Questions (FAQ)

My domain-joined VM has the wrong time but the host is right. Why?

Because a domain-joined guest does not take time from your host - it takes it from the domain hierarchy. If the domain controller's time is wrong, every member follows it faithfully. Fix the time at the domain source, and leave Tools periodic sync off on members so nothing competes with it.

Should I use VMware Tools sync or NTP on a Linux guest?

Either works; both together do not. open-vm-tools can sync to the host, or chrony can sync to NTP servers like a physical machine. Pick the one that matches how the rest of your systems are run, and disable the other cleanly.

Does clock drift actually break anything, or is it just untidy?

It breaks real things. Domain logins fail beyond roughly five minutes of difference, certificates can appear expired or not yet valid, scheduled tasks fire at wrong times, and log files become unreliable evidence. Treat a drifting VM clock as a fault, not a quirk.

This guide is based on the Technical Anshu VMware VM common problems video - stuck on a step? Ask in the video comments and you will get a reply.