After upgrading VMware Tools to version 13.0.1
, the VMware Tools service fails to start on Windows Server 2019 virtual machines (VMs). This issue leads to several operational problems, including:
VMware Tools status in vCenter flickers between "Running" and "Not Running."
IP addresses are not reported to vCenter.
Backup operations fail with the error: "Failed Unable to quiesce guest file system during snapshot creation."
Windows could not start the VMware Tools service on Local Computer. Error 1067: The process terminated unexpectedly."
Faulting application: vmtoolsd.exe
Faulting module: MSVCP140.dll
Exception code: 0xc0000005
(Access Violation)
ESXi 7.X
ESXi 8.X
VMware Tools Version: 13.0.1 (VMware-tools-13.0.1-24843032-x64.exe
)
The root cause of this issue is a missing or corrupted dependency on the Microsoft Visual C++ Redistributable package. The vmtoolsd.exe
process crashes with an access violation error (0xc0000005
) because it cannot properly load or access the MSVCP140.dll
library. This is a critical runtime component required by VMware Tools 13.0.1.
This dependency is confirmed by two official sources:
Broadcom Knowledge Base Article (KB 313276): https://knowledge.broadcom.com/external/article/313276/microsoft-visual-c++-redistributable-req.html
VMware Tools 13.0.1 Release Notes: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/tools/13-0-0/release-notes/vmware-tools-1301-release-notes.html
Both articles specify that VMware Tools 13.0.1 requires the Microsoft Visual C++ 2015-2022 Redistributable with version 14.40.33816 or later.
To resolve this issue, you must install or repair the Microsoft Visual C++ 2015-2022 Redistributable (x64) package on all affected VMs. This will provide the necessary MSVCP140.dll
and associated files, allowing the VMware Tools service to start successfully.
Steps:
Download the latest Microsoft Visual C++ 2015-2022 Redistributable for Visual Studio from the official Microsoft website. Ensure you select the x64 version.
Copy the vc_redist.x64.exe
file to the affected VM.
Run the installer. If a version is already installed, select the Repair option. If it is not present, the installer will perform a clean installation.
Reboot the virtual machine.
After the reboot, verify that the VMware Tools service is running and that the IP address is correctly reported to vCenter. The backup issues should also be resolved.
The MSVCP140.dll
file is a core component of the Visual C++ runtime libraries.
The constant "flickering" of the VMware Tools status is a result of the Service Control Manager repeatedly attempting to restart the service after it terminates unexpectedly.