1. 程式人生 > >安裝vmware workstations 的時候 在virtual network editor 的時候停下了 安裝,解除安裝或重灌Vmware Workstation時失敗的官方解決方案

安裝vmware workstations 的時候 在virtual network editor 的時候停下了 安裝,解除安裝或重灌Vmware Workstation時失敗的官方解決方案

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.已將本文及官方原文打包,可下載保留。

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)

如果這些文章沒有解決你的問題,請繼續閱讀本文的後續內容。完成先決步驟,然後進行修復步驟。不要跳過先決步驟。

先決步驟

1.確保以本地管理員身份登入Windows。對於安裝程式需要用到的元件,域管理員可以不必擁有直接的訪問許可權,更多資訊請參考:

oWindows XP Vista:微軟文章

2.禁用防火牆和反病毒軟體。如果你的安全策略允許的話,禁用任何防火牆和你安裝的反病毒軟體。因為一些安全軟體會干預安裝程序。你可以通過Windows系統配置(msconfig)功能禁用所有的非微軟啟動項。更多資訊請參考:使用Windows系統配置工具 (1004010). 然後重啟Windows,以保證只有微軟的服務在執行。(Windows下:點選“開始”>執行,輸入msconfig,點選確認;或者按鍵盤Win + R,輸入msconfig。然後選擇“服務選項卡,勾選“隱藏所有Microsoft服務”,點選“全部禁用”。——譯者注)

修復步驟

注意:每一步完成之後,請重啟Windows。

1. 從“程式和功能”或“新增/移除程式”中解除安裝程式

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下載中心獲取:

注意:

請下載你之前安裝過的對應版本的安裝程式,以保證正確的登錄檔鍵值被移除。因為你只是解除安裝程式,所以下載時你不需要許可證,也不需要執行安裝程式。(即只需要做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

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