最近有空,把在上家公司办公退域的电脑装上了win10,准备装个VM搞搞liunx,发现错如下:


VMware 安装失败failed to install the hcmon driver (win10)_2d

failed to install the hcmon driver

百度了一下:

大致有如下几种方法:

1.把下面的内容保存后改成.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir"="C:\\Program Files"
"CommonFilesDir"="C:\\Program Files\\Common Files"
"ProgramFilesDir (x86)"="C:\\Program Files (x86)"
"CommonFilesDir (x86)"="C:\\Program Files (x86)\\Common Files"
"CommonW6432Dir"="C:\\Program Files\\Common Files"
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"ProgramFilesPath"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,\
00,69,00,6c,00,65,00,73,00,25,00,00,00
"ProgramW6432Dir"="C:\\Program Files"

2.cmd->regedit打开注册表

VMware 安装失败failed to install the hcmon driver (win10)_vm_02

查找对应的项目并删除,按f7可以查找下一个

3.安装.netframwork3.5和4.8

VMware 安装失败failed to install the hcmon driver (win10)_2d_03

VMware 安装失败failed to install the hcmon driver (win10)_百度_04 

 再次安装vm,启动ok

VMware 安装失败failed to install the hcmon driver (win10)_vm_05