安装vmware workstations 的时候 在virtual network editor 的时候停下了 安装,卸载或重装Vmware Workstation时失败的官方解决方案

来源:互联网 发布:手机淘宝看自己好评率 编辑:程序博客网 时间:2024/05/16 14:32
9. Re: Can't install Workstation Pro 12 because of virtual network driver
helpfuluserLurker

Hi guys,

@

i got it working today, so i've made this post to help you too.

 

Scenario: Windows 10 + VMWorkstation pro 12

Issue: While installing the application, the installer wizard stops while "installing virtual network drivers."

 

Solution:

1. Please have in mind the following:

     a. VMWare needs to be removed totally from the system

     b. the installed Virtual Network device driver for VMWare needs to be removed as well

 

2. Disable UAC in Windows (type Start > UAC > set on minimum)

3. Disable your Antivirus/Firewall (Kaspersky/Symantec i.e.)

4. Try to install VMWare as Administrator (Right click > Run as Administrator). When the application hangs at "Installing Virtual Network Drivers" go to:

5. Start > type Virtual Network Editor (this should have been installed by now by the VMWare install wizard)

6. In the Editor click right below on Change Settings

7. Open Task Manager and right click and kill two applications: the VMWare installation wizard and the VMWare Network drivers install tool (i cannot remember the name exactly, but it should be right below the VMWare wizard process)

8. After killing the processes, go to Virtual Editor and delete/remove all the networks that appear in the top list (should be listed as VMNet# etc)

9. Click Apply and wait for them to be removed.

10. Once removed, exit the Editor and go to in Control panel > DEVICE MANAGER

11. In Device manager > Network adapters > look for other devices other than your PHYSICAL Network cards. If you will see something like "VMWare Virtual Ethernet Adapter for VMNet 8", right click on it and UNINSTALL.

12. Go to Add/Remove programs and check if VMWare workstation appears in the list. If it does > click on it > change > UNINSTALL. Wait for the uninstall to finish

13. Reboot the computer

14. Start > type Virtual Network Editor (no results should appear, this indicates that VMWare was uninstalled correctly. Check also the Add/Remove programs to be sure)

15. Go again to Device manager > Network adapters and see if the VMWare Virtual adapter is still there. If it is, remove it again, then click on Action > Scan for hardware changes to be sure it does not appear again. If it reappeared, after removal, you'll have to reboot again.

 

Final steps:

16. Once VMWare and the Adapter were uninstalled, now run the VMWare install wizard again, as Admin

17. When it stops again at the "installing virtual network drives", in the task bar you should see an app highlighted, but if you click on it, no window will appear on the screen. This is the VMWare virtual adapter installer window, which is hidden. While stuck on installation, simply right click on that window in the taskbar and click CLOSE. Wait a few moments, the installer should now jump to the following steps, finishing the installation.

18. At the end, in the Dev Manager the new adapter should appear, and all the entries in the Editor should have been recreated.

Now it works.


Notes:

     Don't try to repair the VMWare. If it keeps getting stuck, uninstall it several times, and delete the VM adapters several times, to get it working. For me it worked from the first time.

 

 

Hope it helps. 


安装,卸载或重装Vmware Workstation时失败的官方解决方案




最近VMware Workstation又放出更新,遂更新之。安装时提示先卸载旧版本。控制面板和其他软件管理器都不能正常卸载,提示“ The MSI '' failed”,索性直接删除文件夹,清理了一下注册表,重启。再次安装,仍提示卸载旧版本,到网上找各种解决方法,也用了各种所谓清理工具,其实也是清理注册表,删除相关服务之类操作,仍不起作用。

其实这不是我第一次遇到这个问题,之前碰巧被这些清理工具搞定了,这次可没那么走运。最后终于找到了VMware的官方解决法案,还是官方靠得住,就是几个注册表,清理,重启,安装成功。相信很多朋友应该也或多或少遇到过这个问题,于是擅自翻译了一下,以济各位深陷苦恼的朋友。话说VMware官网的访问速度确实有些慢,我还是挂代理上的,而且有些解决方法的视频是放到Youtube上的…所以,啧啧,大家就不用谢我了。

PS:

1.推荐大家直接操作“手工清理Windows系统”部分,这是最终解决方案,虽然步骤繁多,但绝对100%成功,这要是再解决不了问题,我建议你重装系统…

2.文中提到的“VMware registrycleaner script我已放到文章末尾处,他是提供给Workstation 4.x及更低版本用的,一般用不到。

3.已将本文及官方原文打包,可下载保留。

4.原文地址:Cleaning up after an incomplete uninstallation on a Windows host (1308)

5.翻译水平有限,有任何问题,可留言。

译文:


Windows上进行不完全卸载后的清理工作 (1308)


详述


·   在Windows上卸载VMware产品失败

·   在Windows上卸载VMware产品成功之后,无法在同一台机器上重新安装

·   在先前安装过VMware产品的Windows上安装VMware产品产生错误或失败

·   当试图卸载或安装VMware View client的时候,出现了如下类似的错误:

oError 28030.The installer failed to install the USBdriver. To ensure a successful installation, please restart your machine andrelaunch this installer.
oError 28053.A DLL failed to register. Please see the mostrecent %TEMP%\vminst*.log file for details.
oError 1706.No valid source could be found for productVMware View Client. The Windows Installer cannot continue.

      ·   升级VMware Workstation失败并出现如下错误:

The MSI '' Failed

解决


原因

如果安装程序检测到其他VMware产品存在于计算机中,此VMware产品可能无法进行安装。尽管产品已被卸载,但这些产品仍可能被误认为仍存在于计算机中。在卸载的过程中,本应被移除的注册表信息若有残留,就会出现这种状况。若在卸载过程中发生了宕机(死机)或重启,注册表就会产生残留,用户许可证的问题也会产生残留。.当安装程序发现了这些注册表信息,它会终止安装。

措施

如果你从未安装过VMware的产品,但你在安装VMware ACE,VMware Server,VMware Player或VMware Workstation的时候仍出现问题,请参考修复不能安装的VMware主机产品 (1005027)

如果你出现了MSI错误,请参考修复VMware产品和工具安装过程中产生的MSI错误(1031302)

如果你的是Linux系统,并且使用的是VMware Workstation,请参考Linux主机上手动卸载VMware Workstation(38)

如果这些文章没有解决你的问题,请继续阅读本文的后续内容。完成先决步骤,然后进行修复步骤。不要跳过先决步骤。

先决步骤

1.确保以本地管理员身份登录Windows。对于安装程序需要用到的组件,域管理员可以不必拥有直接的访问权限,更多信息请参考:

oWindows XP Vista:微软文章用户帐户:经常遇到的问题

oWindows 7:微软文章我如何以管理员身份登录?

2.禁用防火墙和反病毒软件。如果你的安全策略允许的话,禁用任何防火墙和你安装的反病毒软件。因为一些安全软件会干预安装进程。你可以通过Windows系统配置(msconfig)功能禁用所有的非微软启动项。更多信息请参考:使用Windows系统配置工具 (1004010). 然后重启Windows,以保证只有微软的服务在运行。(Windows下:点击“开始”>运行,输入msconfig,点击确认;或者按键盘Win + R,输入msconfig。然后选择“服务”选项卡,勾选“隐藏所有Microsoft服务”,点击“全部禁用”。——译者注)

修复步骤

注意:每一步完成之后,请重启Windows。

1. 从“程序和功能”或“添加/移除程序”中卸载程序

oWindows XP:微软文章 如何更改或删除Windows XP中的程序

oWindows Vista:微软文章 卸载或更改程序

oWindows 7 and 8:微软文章 卸载或更改程序

2. 依据你使用的产品,参考以下步骤:

o如果你要卸载Workstation 5.x或者更高的版本,请使用Workstation卸载程序。

以本地管理员组成员的身份登录系统,从命令行运行安装程序,并附带一个选项来为VMware Workstation移除MSI注册表信息。更多信息请参考:打开命令行或Shell提示(1003892)。(Windows下:点击“开始”>运行,输入cmd,点击确认;或者按键盘Win + R,输入cmd,确定。——译者注)

  • 如果你运行的是Workstation 5.x 6.x,运行安装程序并附带/c选项。例如:

VMware-workstation-5.0.0-13124.exe /c

  • 如果你使用的是Workstation 10.x9.x8.x,或7.x,运行安装程序并附带/clean选项。例如:

VMware-workstation-full-7.1.2-301548.exe/clean

如果你没有安装程序的副本,可以从VMware下载中心获取:

Workstation 5.x

Workstation 6.x

Workstation 7.x

Workstation 8.x

Workstation 9.x

Workstation 10.x

注意:

请下载你之前安装过的对应版本的安装程序,以保证正确的注册表键值被移除。因为你只是卸载程序,所以下载时你不需要许可证,也不需要运行安装程序。(即只需要做clean这一工作。——译者注)


o如果你要卸载Workstation 4.x或更低的版本,请运行VMware registry cleaner script.

注意:

在你变更注册表之前,确保你已经正确并完整的备份了注册表和虚拟机。更多关于备份及还原注册表的信息,请参考:微软文章136393.

清理脚本VMware_Install_Cleaner.zip附在文章结束。

以本地管理员组成员的身份运行此脚本。注册表清理功能会移除Workstation 3.1,Workstation 3.2,Workstation 4.x,GSX Server 2.x,GSX Server 3.0,GSXServer 3.1,ACE Manager 1.0,及ACE 1.0在安装时用到的注册表键值。


如果以上步骤不能卸载此产品,并且仍然出现错误,请继续进行手工清理Windows系统步骤。手工清理过程需要移除VMware相关文件,VMware相关服务,注册表入口以及各种产品的组件。

手工清理Windows系统

要从Windows机器上手工清理VMware产品:

1. 以本地管理员身份或本地管理员组成员的身份登录Windwos

更多信息请参考:

oWindows XP及Vista:微软文章 用户帐户:经常遇到的问题

oWindows 7:微软文章 我如何以管理员身份登录?

oWindows 8:微软文章 我如何知道我是以管理员身份登陆的?

2. 在Windows上停止VMware服务:

o点击 开始 >运行,输入services.msc,点击“确认”。将打开“服务管理策略”。

o右击以下服务并选择停止

VMware Authorization Service

VMware Authentication Service

VMware Registration Service

VMware DHCP Service

VMware NAT Service

VMware USB Arbitration Service

VMware Workstation Server

VMware WSX Service

注意:依据不同的VMware产品,有一些服务不存在于你的Windows当中

3. 卸载VMware network bridge adapter(网络桥接适配器):

a.在Windows中打开网络连接选项:

Windows XP:点击 开始 > 设置 > 网络和拨号连接

Windows Vista,Windows 7及Windows 2008 Server:点击 开始 >运行,输入ncpa.cpl,点击“确认”。将打开“网络连接”。

Windows 8 and Windows 2012 Server:打开运行(运行在哪?)(Win + R ——译者注),输入ncpa.cpl,点击“确认”。将打开“网络连接”。

b.依次右击所有网络适配器图标,并选择“属性”

c.选择“VMwareBridge Protocol”,并点击“卸载”。

4. 卸载所有VMware设备:

a.右击“我的电脑”,选择“管理”。

b.点击“设备管理器”。

c.从“查看”菜单中选择“显示隐藏的设备”

d.双击“网络适配器”。

e.右击每一个名字以VMware开头的适配器,然后选择“卸载”

5. 从Windows上删除包含VMware产品的文件夹。

注意:

o对于所有的文件夹,如果你只安装了一个VMware产品,你可以将整个VMware文件列表都删除。如果你还安装了其他产品,如VirtualCenter Client,则只删除你试图移除的产品的文件夹。

o在GSX Server机器上,要移除VMware GSX Server,VMware Management Interface,VMware Scripting API,以及其它VMware Virtual MachineConsole或VMware Remote Console的相关文件夹。

删除这些文件夹:

a.你的VMware产品的程序安装目录

注意:如果你的虚拟机存放在程序安装目录并且你想保留他们,在你删除VMware程序安装目录之前将他们移动到别的文件夹中。

默认的安装目录是:

32位版本的Windows:C:\ProgramFiles\VMware\

64位版本的Windows: C:\Program File (X86)\VMware\

b.应用程序数据文件夹.

默认位置是: 

Windows XP:

C:\Documentsand Settings\All Users\Application Data\VMware\

C:\Documentsand Settings\username\Application Data\VMware\

Windows Vista/7/8/Server 2008:

C:\Users\username\AppData\Local\VMware\

C:\Users\username\AppData\Roaming\VMware\

c.开始菜单的VMware程序组文件夹。

默认位置是:

Windows XP: 

C:\Documentsand Settings\All Users\Start Menu\Programs\VMware\

WindowsVista/7/8/Server 2008: 

C:\ProgramData\Microsoft\Windows\StartMenu\Programs\VMware\

6.删除VMware桌面快捷方式。

7.删除这些文件:

注意:你的系统可能不会包含所有这些文件

oC:\Windows\system32\vmnat.exe

oC:\Windows\system32\vmnetbridge.exe

oC:\Windows\system32\VMNetDHCP.exe

oC:\Windows\system32\vmnetdhcp.leases

oC:\Windows\system32\vmxw2ksetup.dll

oC:\Windows\system32\vnetprobe.exe

oC:\Windows\system32\vnetprobelib.dll

oC:\Windows\system32\vnetinst.dll

oC:\Windows\system32\vnetlib.dll

oC:\Windows\system32\vnetlib.exe

oC:\Windows\system32\drivers\vmnet.sys

oC:\Windows\system32\drivers\vmnetx.sys

oC:\Windows\system32\drivers\VMparport.sys

oC:\Windows\system32\drivers\vmx86.sys

oC:\Windows\system32\drivers\vmnetadapter.sys

oC:\Windows\system32\drivers\vmnetbridge.sys

oC:\Windows\system32\drivers\vmnetuserif.sys

oC:\Windows\system32\drivers\hcmon.sys

oC:\Windows\system32\drivers\vmusb.sys

8.如果存在__vmware_user__本地用户及 __vmware__本地用户组,删除他们。

9.移除这些关于VMware产品的注册表键值。对应你的VMware产品查看以下列表。

注意:在你变更注册表之前,确保你已经正确并完整的备份了注册表和虚拟机。更多关于备份及还原注册表的信息,请参考:微软文章136393。

oWorkstation4.5/5.0/5.5

HKEY_CLASSES_ROOT\Installer\Features\317A1D89C83432A4A86B143BC7A4D274

HKEY_CLASSES_ROOT\Installer\Products\317A1D89C83432A4A86B143BC7A4D274

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\317A1D89C83432A4A86B143BC7A4D274

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\317A1D89C83432A4A86B143BC7A4D274

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\317A1D89C83432A4A86B143BC7A4D274

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{98D1A713-438C-4A23-8AB6-41B37C4A2D47}

HKEY_LOCAL_MACHINE\SOFTWARE\VMware,Inc.

oWorkstation6.x/7.x

HKEY_CLASSES_ROOT\Installer\Features\2BC5FF3A53BF85647815E9EDD1563BAA

HKEY_CLASSES_ROOT\Installer\Products\2BC5FF3A53BF85647815E9EDD1563BAA

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\2BC5FF3A53BF85647815E9EDD1563BAA

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\2BC5FF3A53BF85647815E9EDD1563BAA

HKEY_CLASSES_ROOT\Installer\Products\7A26F0EA2A1AF704F9C48439B99DDAD8

HKEY_CLASSES_ROOT\Installer\Products\7A79579133DA8984D9E8376086814B46

HKEY_CLASSES_ROOT\Installer\UpgradeCodes\3F935F414A4C79542AD9C8D157A3CC39

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\2BC5FF3A53BF85647815E9EDD1563BAA

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A3FF5CB2-FB35-4658-8751-9EDE1D65B3AA}

HKEY_LOCAL_MACHINE\SOFTWARE\VMware,Inc.

oWorkstation8.x/9.x/10.x

HKEY_CLASSES_ROOT\Installer\Features\A57F49D06AE015943BFA1B54AFE9506C

HKEY_CLASSES_ROOT\Installer\Products\A57F49D06AE015943BFA1B54AFE9506C

HKEY_CLASSES_ROOT\Installer\UpgradeCodes\3F935F414A4C79542AD9C8D157A3CC39

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0D94F75A-0EA6-4951-B3AF-B145FA9E05C6}

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware,Inc.\VMware Workstation

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware,Inc.\Installer\VMware Workstation

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\vmware.exe

oVMwarePlayer 2.x/3.x/4.x/5.x/6.x

HKEY_CLASSES_ROOT\Installer\Features\AE11A35A5900F39468AF1AE5A8684A50

HKEY_CLASSES_ROOT\Installer\Products\AE11A35A5900F39468AF1AE5A8684A50

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\AE11A35A5900F39468AF1AE5A8684A50

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\AE11A35A5900F39468AF1AE5A8684A50

HKEY_CLASSES_ROOT\Installer\Products\7A26F0EA2A1AF704F9C48439B99DDAD8

HKEY_CLASSES_ROOT\Installer\Products\7A79579133DA8984D9E8376086814B46

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\AE11A35A5900F39468AF1AE5A8684A50

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A53A11EA-0095-493F-86FA-A15E8A86A405}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\UpgradeCodes\3F935F414A4C79542AD9C8D157A3CC39

HKEY_LOCAL_MACHINE\SOFTWARE\VMware,Inc.

oACEManager 1.0.1

HKEY_CLASSES_ROOT\Installer\Features\BC5E922F5258EE74BAC9B3AA1D6E0B1B

HKEY_CLASSES_ROOT\Installer\Products\BC5E922F5258EE74BAC9B3AA1D6E0B1B

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\BC5E922F5258EE74BAC9B3AA1D6E0B1B

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\BC5E922F5258EE74BAC9B3AA1D6E0B1B

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\BC5E922F5258EE74BAC9B3AA1D6E0B1B

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F229E5CB-8525-47EE-AB9C-3BAAD1E6B0B1}

HKEY_LOCAL_MACHINE\SOFTWARE\VMware,Inc.

oACE Player1.0

HKEY_CLASSES_ROOT\Installer\Features\2C06509C057477E4FBEAC7E383CDFF3D

HKEY_CLASSES_ROOT\Installer\Products\2C06509C057477E4FBEAC7E383CDFF3D

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\2C06509C057477E4FBEAC7E383CDFF3D

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\2C06509C057477E4FBEAC7E383CDFF3D

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\2C06509C057477E4FBEAC7E383CDFF3D

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C90560C2-4750-4E77-BFAE-7C3E38DCFFD3}

HKEY_LOCAL_MACHINE\SOFTWARE\VMware,Inc.

10.   重启Windows。



阅读全文
0 0
原创粉丝点击