当前位置:Gxlcms > linux教程 > Linux安装VMWare时蓝屏如何解决?

Linux安装VMWare时蓝屏如何解决?

时间:2021-07-01 10:21:17 帮助过:10人阅读

  不少网友反映,在Linux上安装VMWare时出现了蓝屏现象,再次重启出现错误提示,换个版本安装还是出现了同样的问题,下面小编就给大家介绍下Linux安装VMWare时出现蓝屏的解决方法。

Linux安装VMWare时蓝屏

  安装VMWare过程中蓝屏,重启再次安装发现:

  The MSI ‘C:\DOCUME~1\LOCALS~1\Temp\vmware_1295537967\vmware workstation.msi’ failed

  不管换多少个版本,都是上面的结果,原因是vmware在系统中有残留文件以及注册表信息。测试了网上一些删除操作,发现都不行。

  解决方法:

  退出所有的安全软件(安装存在冲突)

  将以下代码保存为文本文件,改后缀为.cmd然后以管理员身份执行,命令会自动清理以前残留的VMware信息。

  卸载VMware.cmd

  cls

  @echo off

  CLS

  color 0a

  Title 卸载 VMware

  set vmbit=

  IF “%PROCESSOR_ARCHITECTURE%” neq “x86” set vmbit=64

  echo 你确定要卸载 VMware 8 吗?

  echo 按任意键继续卸载 VMware 8 !!!&pause》nul

  echo 正在删除服务和设备,可能需要几分钟,请稍后。。。

  echo 如果三分钟后还没动静,请在卸载批处理上敲一下回车键后继续等待。。。

  msiexec.exe /x vmwarevmcisockets.msi /qn /norestart

  msiexec.exe /x vmwarevmcisockets64.msi /qn /norestart

  vnetlib%vmbit%.exe -- stop authd 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall authd 》nul 2》nul

  net stop VMAuthdService 》nul 2》nul

  sc delete VMAuthdService 》nul 2》nul

  net stop VMwareHostd 》nul 2》nul

  sc delete VMwareHostd 》nul 2》nul

  vnetlib%vmbit%.exe -- stop dhcp 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall dhcp 》nul 2》nul

  vnetlib%vmbit%.exe -- stop nat 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall nat 》nul 2》nul

  vnetlib%vmbit%.exe -- stop bridge 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall bridge 》nul 2》nul

  vnetlib%vmbit%.exe -- stop userif 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall userif 》nul 2》nul

  vnetlib%vmbit%.exe -- stop adapter 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall adapter 》nul 2》nul

  rundll32 vnetlib%vmbit%.dll,VNL_RemoveAllNetworkDevices

  net stop VMUSBArbService 》nul 2》nul

  sc delete VMUSBArbService 》nul 2》nul

  vnetlib%vmbit%.exe -- stop usb

  vnetlib%vmbit%.exe -- uninstall usb

  vnetlib%vmbit%.exe -- stop hcmon 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall hcmon 》nul 2》nul

  net stop vstor2-mntapi10-shared 》nul 2》nul

  sc delete vstor2-mntapi10-shared 》nul 2》nul

  vnetlib%vmbit%.exe -- stop vmkbd 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall vmkbd 》nul 2》nul

  net stop vmkbd 》nul 2》nul

  sc delete vmkbd 》nul 2》nul

  vnetlib%vmbit%.exe -- stop vmparport 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall vmparport 》nul 2》nul

  vnetlib%vmbit%.exe -- stop vmx86 》nul 2》nul

  vnetlib%vmbit%.exe -- uninstall vmx86 》nul 2》nul

  vnetlib.exe -- uninstall vmci

  echo.

  echo 取消DLL文件的注册。。。

  regsvr32 /u /s “%cd%\vmappcfg.dll”

  regsvr32 /u /s “%cd%\vmappsdk.dll”

  regsvr32 /u /s “%cd%\vmdbCOM.dll”

  echo.

  echo 删除注册表。。。。

  reg delete “HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.” /f 》nul 2》nul

  reg delete “HKEY_CURRENT_USER\SOFTWARE\VMware, Inc.” /f 》nul 2》nul

  reg delete “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc.” /f 》nul 2》nul

  reg delete “HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\VMware, Inc.” /f 》nul 2》nul

  reg delete “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32” /f /v “VIDC.VMnc” 》nul 2》nul

  reg delete “HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Drivers32” /f /v “VIDC.VMnc” 》nul 2》nul

  reg delete “HKLM\SYSTEM\CurrentControlSet\Services\VMware” /f 》nul 2》nul

  echo.

人气教程排行