- Vmware Client Failed To Install Hcmon Driver Windows 10
- Vmware Workstation Failed To Install Hcmon Driver Windows 10
Installing the VMware Remote Console fails with the error: VMInstallHcmon - Failed to install hcmon driver.
I tried the install the most recent version of VMRC which can be found here and I got this error message during the installation:
- USBDeviceInstUtil-build-1060398: MM/DD/YY 14:25:10 ERROR: Failed to install hcmon Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
- SYS files such as hcmon.sys are third-party (eg.VMWare) device drivers or critical system files that come as part of the Windows operating system. Most SYS files allow internal PC hardware or attached hardware, such as a printer, to communicate with third-party software programs (eg. Web browsers, word processors, VM Ware Workstation 3.0 Upgrade) and the operating system (eg.
I found the KB2130850 which mentioned that I should uninstall all vSphere Client instances, install VMRC and reinstall all vSphere Client instances. Unfortunately this was not the solution. I have then uninstalled the Horizon View Client too to be on the safe side. Again this was also not the solution.
I have then checked the vminst.log which can be found in the %TEMP% folder and saw the following error messages:
VNLCopyFileToSystemDir: Copying ‘C:Program Files (x86)Common FilesVMwareUSBhcmon.sys’ to ‘C:Windowssystem32drivershcmon.sys’
VNLGetLocalizedString: Failed to allocate a localized string 0x00000020: 317
VNLCopyFileToSystemDir: Failed to copy file: “C:Windowssystem32drivershcmon.sys”. (null) [32]
VNL_InstallHcmon: Failed to create service for hcmon driver.
This looked like that there are not sufficient permissions to copy the hcmon.sys to the destination folder, although the installer told me that he is using elevated permissions:
Because you haven’t “Run as Administrator” for msi packages I used an elevated cmd prompt to start the msi with Administrator permissions and lo and behold VMRC was installed without problems. There are 2 possibilities from my point of view why this happened.
- The elevation process of setups was little bit changed in Windows 10
- The hcmon.sys file was already there and the elevated permission was to less to replace it.
Vmware Client Failed To Install Hcmon Driver Windows 10
I did a quick check about these possibilities and it was 2. When there is an existing hcmon.sys (from vSphere Client), VMRC installer can’t replace it even if the installer gets elevated for installation. The only possibility was to start the installer as Administrator to get the hcmon.sys in the C:WindowsSystem32 directory replaced.