中文部分:
在安裝VMware 的過程中由於各種各樣的原因而中斷安裝進程,或者卸載舊的VMware版本,安裝新的版本,結果安裝進程出現錯誤,顯示爲:Setup has detected that vmware workstation is already installed on this machine. please uninstall this product through add/remove programs and try again.
一、爲什麼會發生不完全卸載的情況?
VMware不可以安裝在已經安裝有VMware產品的windows主機上,VMware是否已經安裝在一臺Windows主機上,是根據註冊表的一些鍵值來判斷的。當卸載VMware的時候,這些鍵值沒有被刪除,於是在下次安裝VMware的時候,就會出現問題。
二、解決辦法:
方法①:
1、以本地管理員帳戶登陸你的主機
2、關閉主機上的所有的防火牆軟件,一些防火牆軟件會干涉安裝的進程
3、利用Windows的“添加刪除軟件”功能刪除VMware,如果VMware在添加刪除程序的列表中
4、運行VMware註冊表清理腳本,如果卸載不成功,則可以運行VMware_Install_Cleaner.exe也就 是我們常說的反安裝軟件。這個腳本可以清除 Workstation 3.1, Workstation 3.2, Workstation 4.x, Workstation 5.x, GSX Server 2.x, GSX Server 3.0, GSX Server 3.1, ACE Manager 1.0, ACE 1.0, VmPerl 2.0, VmPerl 3.0, VmCOM 2.0, and VmCOM 3.0安裝的時候,寫入Windows的註冊表鍵值。 如果你的VMware Workstation 的版本是5系列,則只需在命令行下輸入VMware-workstation-<version>.exe /c ,就可以清除由MSI安裝包寫入註冊表的鍵值。注意:在命令行中要把你的當前目錄設置到VMware-workstation-<version>.exe文件所在目錄,如果使用這個命令不起作用,則再使用VMware_Install_Cleaner。。
其下載地址:http://kb.vmware.com/Platform/Publishing/attachments/1308_fVMware_Install_Cleaner.exe
5、重新啓動計算機
當你操作完第4點或者成功安裝了VMware的時候請重新啓動計算機。
6、使用Microsoft CleanUp utility
具體使用方法support.microsoft.com/default.aspx?scid=kb;en-us;290301.
方法②:手動清除註冊表
對註冊表進行操作可能會導致系統無法正常啓動,請在修改註冊表之前備份註冊表
1、以管理員的身份登陸本地計算機
2、停止以下服務
VMware Authentication Service
VMware Registration Service
VMware DHCP Service
VMware NAT Service
3、卸載VMware network bridge
開始>設置> 網絡連接>右鍵任何網絡適配器>屬性
選擇VMware Bridge Protocol 並卸載
4、卸載VMware安裝的設備
計算機管理>設備管理器>查看>顯示隱藏的設備
雙擊非即插即用驅動程序,刪除如下:
hcmon
VMware Network Application Interface
VMparport
vmx86
VMware Bridge Protocol
雙擊網絡適配器
卸載含有VMware字樣的網絡設備
5、運行VMware_Install_Cleaner.exe
6、刪除你的安裝程序所在的文件夾默認的安裝位置爲C:\Program Files\VMware,具體的位置根據你安裝軟件的時候設定的位置,注意:如果你的虛擬系統也在這個目錄下,請刪除前保存虛擬系統文件
7、刪除應用程序信息文件夾 默認在C:\Documents and Settings\All Users\Application Data\VMware\.
8、刪除VMware程序組文件夾,默認位置在 C:\Documents and Settings\All Users\Start Menu\Programs\VMware\.
9、刪除桌面的快捷方式圖標
10、刪除如下文件在系統文件夾
%SystemDrive%\WINNT\system32\vmnat.exe
%SystemDrive%\WINNT\system32\vmnetbridge.exe
%SystemDrive%\WINNT\system32\vmnetdhcp.conf
%SystemDrive%\WINNT\system32\VMNetDHCP.exe
%SystemDrive%\WINNT\system32\vmnetdhcp.leases
%SystemDrive%\WINNT\system32\vmnetnat.conf
%SystemDrive%\WINNT\system32\vmxw2ksetup.dll
%SystemDrive%\WINNT\system32\vnetprobe.exe
%SystemDrive%\WINNT\system32\vnetprobelib.dll
%SystemDrive%\WINNT\system32\vnetinst.dll
%SystemDrive%\WINNT\system32\vnetlib.dll
%SystemDrive%\WINNT\system32\vnetlib.exe
%SystemDrive%\WINNT\system32\drivers\vmnet.sys
%SystemDrive%\WINNT\system32\drivers\vmnetx.sys
%SystemDrive%\WINNT\system32\drivers\VMparport.sys
%SystemDrive%\WINNT\system32\drivers\vmx86.sys
%SystemDrive%\WINNT\system32\drivers\vmnetadapter.sys
%SystemDrive%\WINNT\system32\drivers\vmnetbridge.sys
%SystemDrive%\WINNT\system32\drivers\vmnetuserif.sys
%SystemDrive%\WINNT\system32\drivers\hcmon.sys
%SystemDrive%\WINNT\system32\drivers\vmusb.sys
11、刪除__vmware_user__用戶和__vmware__用戶組在本地用戶組管理中
12、重新啓動計算機
英文部分:
I tried to uninstall a VMware product from my Windows host, but the uninstallation failed, or it seemed to work but I am unable to install again on the same host. What is going on? |
This article describes the procedures for cleaning up after an incomplete uninstallation of various VMware products, including VMware ACE Manager on an administrator's computer. If you need information on cleaning up after an incomplete uninstallation of a VMware ACE package on an end user's computer, please see knowledge base article 1526 at http://kb.vmware.com/kb/1526. Note: The utility VMware_Install_Cleaner.exe, described in this article, cleans incomplete uninstallations of VMware Tools (versions 1.0.0.x — 3.1.0.x) in addition to incomplete uninstallations of VMware products. Why This Problem Might OccurVMware products might not install on Windows hosts if the installer detects certain other VMware products on the computer. Sometimes registry keys that should be removed during the uninstallation of a product are left behind. This can happen if, for example, the host computer hangs or resets while you are uninstalling the previous product. When the installer finds these registry keys, it interprets their presence as an indication that the previous product is still installed. Solving This IssueTo troubleshoot an incomplete installation:
Manually Cleaning the RegistryCaution: This procedure involves modifying the registry. Incorrect changes to the registry can leave your system unstable or unable to run. Always back up the registry before editing it, and exercise caution in making changes to the registry. VMware takes no responsibility for problems that might arise.
|