VMware Tools on a Windows virtual machine fails with the error: Exception 0xc0000005 (access violation) (2012572)
- After upgrading VMware Tools on a Windows virtual machine running on an ESX/ESXi host, the VMware Tools service repeatedly fails
- You see the error:
VMware Tools unrecoverable error: (vthread-3)
Exception 0xc0000005 (access violation) has occured
A core file is available in
toolsd-4612.dmp". You can request support and include the contents of the core file.
To collect data to submit to VMware support, choose "Collect Support Data"
from the Help menu
You can also run the "vm-support" script in the Workstation folder directly.
We will respond on the basis of your support entitlement.
This issue occurs if there are multiple versions of a shared DLL file.
For example, by default, the hgfsUsability.dll DLL file from VMware Tools build 381511 is installed at C:\Program Files\VMware\VMware Tools\plugins\vmsvc\. This .dll file has the version 22.214.171.12437.
To resolve this issue, you must identify if multiple DLL files with the same name, but different versions, exist on the system and then remove the older version of the DLL.
Enable debug logging for VMware Tools. For more information, see Enabling debug logging for VMware Tools within a guest operating system (1007873).
Start the VMware Tools service to capture logging.
To start the service:
Click Start > Run, type services.msc, and click OK. The Services window opens.
Locate and right-click VMware Tools Service and click Start.
Search the VMware Tools log file and look for DLL files with the same name, but different versions.
Note: The location of the log file depends on the path that you have set in Step 1.
Remove the DLL file with an older version or unregister the DLL from the operating system.
To unregister a DLL, run this command from the command prompt of your Windows system:
regsvr32 /u filename.dll
Reboot the virtual machine. VMware Tools should now start properly.
If the problem still persists or if you have difficulty isolating the offending DLL, contact VMware Support and open a Support Request. For more information, see How to File a Support Request.