Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Cleaning Up After Incomplete Uninstallation on a Windows Host
Solution
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, see Cleaning Up after an incomplete VMware ACE 1.x uninstall on a Windows host (1526).
Why This Problem Might Happen
VMware 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 Issue
To troubleshoot an incomplete installation:-
Be a Local Administrator. Make sure you are logged onto the Windows host as a Local Administrator. (A Domain Administrator imposes the wrong permissions on components the installer must access.)
-
Disable firewalls on protected systems. If your security policy allows this, disable any firewall software you have installed. Some firewalls can interfere with the installation process.
-
Uninstall using Add/Remove Programs > Remove. If the VMware product is still listed in Add/Remove Programs, try rebooting and uninstalling the VMware product:
-
Reboot the Windows host.
-
From the Control Panel, select Add/Remove Programs.
-
Select the VMware product in the list.
-
Click Remove.
-
Reboot the Windows host again.
-
Reinstall the VMware software.
-
-
Run the VMware registry cleaner script.
Note: VMware_Install_Cleaner.zip is located at the bottom of this KB.
Remember to run this script and the installer when you are logged on as a member of the Local Administrators group. The registry cleaner utility removes all registry keys used by the installers for Workstation 3.1, Workstation 3.2, Workstation 4.x, Workstation 5.x, Workstation 6.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.
If you are running the Workstation 5.x or 6.x installer. Run the installer command with the /c switch, which automatically removes the MSI installer registration information for VMware Workstation.
VMware-workstation-<version>.exe /c
For example:
VMware-workstation-5.0.0-13124.exe /c VMware-workstation-5.5.0-18463.exe /c -
Reboot. After you run the cleaner script or the installer, reboot. It's a good idea to reboot after you install or uninstall any programs on your system, and after you run any other programs that make changes to the registry.
-
Try the Microsoft CleanUp utility.
If this previous steps prove unsuccessful, you might find a utility provided by Microsoft helpful. You can find instructions and a link to the utility in Microsoft knowledge base article 290301 at http://support.microsoft.com/default.aspx?scid=kb;en-us;290301. -
Clean the registry manually. See the following section.
Manually Cleaning the Registry
Caution: 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.-
Log onto the Windows host system as the Local Administrator or a member of the Local Administrators group.
-
Stop the following services on the Windows host:
-
VMware Authentication Service
-
VMware Registration Service
-
VMware DHCP Service
-
VMware NAT Service
-
-
Uninstall the VMware network bridge adapter.
-
Choose Start > Settings > Network and Dial-up Connections.
-
Right-click any network adapter icon and choose Properties.
-
Select VMware Bridge Protocol and click Uninstall.
-
-
Uninstall all VMware devices.
-
Right-click My Computer and choose Manage.
-
Click Device Manager.
-
Double-click Network Adapters.
-
Right-click each adapter whose name begins with VMware and choose Uninstall.
-
Choose Show hidden devices from the View menu.
-
Double-click Non-Plug and Play Drivers.
-
Right-click the following devices and choose Uninstall.
-
hcmon
-
VMware Network Application Interface
-
VMparport
-
vmx86
-
VMware Bridge Protocol
-
-
-
Delete the program folder in which the VMware product was installed. The default installation directory is C:\Program Files\VMware\. (The drive letter is different if your Program Files folder is on a different drive.) If you have installed only one VMware product, you can delete the entire VMware folder; if you have installed other products, such as VirtualCenter Client, delete only the relevant subfolders for the product you are trying to remove. On a GSX Server machine, you should remove the subfolders for VMware GSX Server, VMware Management Interface, VMware Scripting API, and either VMware Virtual Machine Console or VMware Remote Console.
Note: If you have stored virtual machines in a folder under the program folder and want to save them, move them to a different folder before you delete the VMware program folder. -
Delete the application data folder. The default locations are C:\Documents and Settings\All Users\Application Data\VMware\ and C:\Documents and Settings\<username>\Application Data\VMware. If you have installed only one VMware product, you can delete the entire VMware folder; if you have installed other products, such as VirtualCenter Client, delete only the relevant subfolders for the product you are trying to remove. On a GSX Server machine, you should remove the subfolders for VMware GSX Server, VMware Management Interface, VMware Scripting API, and either VMware Virtual Machine Console or VMware Remote Console.
-
Delete the VMware program group folder. The default location is C:\Documents and Settings\All Users\Start Menu\Programs\VMware\. If you have installed only one VMware product, you can delete the entire VMware folder; if you have installed other products, such as VirtualCenter Client, delete only the relevant subfolders for the product you are trying to remove. On a GSX Server machine, you should remove the subfolders for VMware GSX Server, VMware Management Interface, VMware Scripting API, and either VMware Virtual Machine Console or VMware Remote Console.
-
Delete the VMware shortcut icons from the desktop.
-
Delete the files below from the Windows system folder. (Not all systems have all of these files installed.)
%SystemDrive%\WINNT\system32\vmnat.exe
%SystemDrive%\WINNT\system32\vmnetbridge.exe
%SystemDrive%\WINNT\system32\VMNetDHCP.exe
%SystemDrive%\WINNT\system32\vmnetdhcp.leases
%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 -
Delete the __vmware_user__ local user and the __vmware__ local group from the Windows system if they exist.
-
Reboot the Windows host system.
Attachments
Feedback
- KB Article: 1308
- Updated: Sep 25, 2009
- Products:
VMware ACE
VMware GSX Server
VMware Player
VMware Server
VMware Workstation - Product Versions:
VMware ACE 2.0.x
VMware GSX Server 2.x (Windows)
VMware GSX Server 3.x (Windows)
VMware Player 1.x (Windows)
VMware Server 1.0.x (Linux)
VMware Server 1.0.x (Windows)
VMware Workstation 3.x (Windows)
VMware Workstation 4.x (Windows)
VMware Workstation 5.x (Windows)
VMware Workstation 6.x (Windows)

