VMware Tools Heartbeat Lost: Quick Fixes That Actually Work
VMware lost contact with your VM's guest OS. Here's how to get the heartbeat back without rebuilding the VM.
You've Got a Heartbeat Lost Warning – Let's Fix It
That yellow triangle next to your VM in vCenter means VMware Tools lost the guest heartbeat. The VM still runs, but snapshots, shutdowns, and resource reporting stop working. I've seen this on everything from a single Windows 10 dev VM to a 200-VM cluster hosting a critical SQL database. Nine times out of ten, it's a simple fix. Let's go step-by-step.
First Fix (30 Seconds): Restart VMware Tools Service
Don't overthink this. Half the time, the service just hung. Start here:
- For Windows VMs: RDP into the VM. Open
services.msc. Look for VMware Tools (or VMware Tools Service). Right-click, select Restart. Wait 30 seconds, then check vCenter – the heartbeat should turn green. - For Linux VMs: SSH in and run
systemctl restart vmtoolsd(orservice vmware-tools restarton older distros).
If the service won't start, check the Event Viewer on Windows or journalctl -u vmtoolsd on Linux for a specific error. I've seen a corrupted VMware Tools configuration file cause the service to crash immediately – but that's rare. Try the next fix.
Second Fix (5 Minutes): Reinstall VMware Tools
If restarting didn't work, the installation got borked. Maybe an update overwrote a driver, or a patch broke something. Reinstalling is the fastest path to a clean state.
For Windows VMs
- Right-click the VM in vCenter, go to Guest OS > Install/Upgrade VMware Tools.
- RDP into the VM. Mount the virtual CD (usually D: or E:).
- Run
setup.exe. Choose Repair if prompted, or do a full reinstall. A repair takes 2 minutes – a full reinstall takes 5. - Reboot the VM after the install completes.
For Linux VMs
- Mount the VMware Tools ISO via vCenter same as above.
- SSH in. Mount the CD:
mount /dev/cdrom /mnt. - Extract the tarball:
tar -xzf /mnt/VMwareTools-*.tar.gz -C /tmp. - Run the installer:
cd /tmp/vmware-tools-distrib && ./vmware-install.pl– accept defaults. - Reboot the VM.
I had a client last month whose entire print queue died because of a corrupt VMware Tools install on a Windows print server. Reinstall fixed it instantly. If you're still seeing the heartbeat lost after a clean reinstall, move to the advanced fix.
Advanced Fix (15+ Minutes): Manual Cleanup and Registry/Config Fix
Sometimes the heartbeat won't come back because of a deeper conflict. Here's what I do when the first two steps fail.
Check for VM Hardware Version or Driver Conflicts
On Windows, a mismatched or stale SCSI or network driver can kill the heartbeat. Open Device Manager. Look for devices with yellow exclamation marks – if you see VMware SVGA II or VMware VMCI with errors, uninstall them and rescan. The VM will reinstall them on reboot.
Check the VMTools Logs
On Windows, logs are in C:\ProgramData\VMware\VMware Tools\vmtoolsd.log. Search for error or heartbeat. Common culprit: Heartbeat: No response from guest – that means the VM is running but the service isn't talking to the hypervisor. If you see Failed to open VMCI device, the VMCI driver is toast. Reinstall VMware Tools with the VMCI driver explicitly enabled.
Repair or Reinstall VMware Tools from Command Line (Windows)
Sometimes the GUI installer doesn't fully clean up. Use the command line for a forced uninstall and reinstall:
msiexec /x {ProductCode} /qn # Find ProductCode in Add/Remove Programs
msiexec /i "path\to\VMwareTools.msi" ADDLOCAL=ALL REBOOT=R
Replace {ProductCode} with the actual GUID from the registry (look in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall). This nukes everything and reinstalls clean.
On Linux: Manually Check and Restart the Guest Agent
The issue might be a stale lock file or a hung process. Kill the daemon, remove lock files, then restart:
killall -9 vmtoolsd
rm -f /var/run/vmware-guestd.pid
systemctl start vmtoolsd
If that doesn't work, check /var/log/vmware-vmtoolsd-root.log for failed to connect to VMCI. I've seen this on CentOS 7 after a kernel update – you'll need to recompile the kernel modules:
cd /tmp/vmware-tools-distrib
./vmware-install.pl -d
The -d flag defaults all answers. It rebuilds the kernel modules and reboot.
Final Resort: Remove and Re-add the VM to Inventory
If nothing works, the VM's configuration in vCenter might be corrupt. Power off the VM. Remove it from inventory (right-click, Remove from Inventory). Re-register it by browsing to the .vmx file and adding it back. This resets the heartbeat state without touching the guest OS. I've used this twice in 10 years, but it works.
What If the VM Is Unresponsive?
If you can't RDP or SSH in, the heartbeat lost might be a symptom of a deeper problem – not the cause. In that case, power cycle the VM from vCenter (right-click > Power > Reset). If that fails, force a power off and back on. This only works if the VM is in a state where the hypervisor can still communicate.
But honestly? 90% of the time, the restart fixes it. Try that first. You'll save yourself 15 minutes of hunting.
Was this solution helpful?