Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Virtualization»How to Uninstall VMware Workstation in Windows and Linux

How to Uninstall VMware Workstation in Windows and Linux

Abhishek SilwalBy Abhishek SilwalSeptember 12, 2022
how to uninstall vmware

If you no longer need VMware, you might as well uninstall it to free up the space it takes. Additionally, you may need to uninstall it if you encounter any issues while using the app.

This process is very quick to perform. However, due to issues like power failure or conflicts from other applications, such as antivirus, you may not be able to uninstall the VMware.

Table of Contents

  • Uninstalling VMware on Windows
    • Using Control Panel
    • Through App Settings
    • With Windows PowerShell
    • Directly Using the Uninstaller/Modify Script
    • Manually Remove VMware Files
  • Uninstalling VMware on Linux
    • Using the Uninstaller
    • Manually Uninstalling VMware

Uninstalling VMware on Windows

The installation folder of older VMware versions included an uninstall.exe file that you could run to uninstall it. However, for the latest versions, you need to use the app settings or programs and features. You can also use a PowerShell cmdlet to uninstall this application.

If you can’t completely uninstall the program using these methods, you need to manually remove all its files and registry entries.

Using Control Panel

The traditional way of uninstalling an application is through the Programs and Features tool included in the Control Panel. Here’s how you can use it to uninstall VMware:

  1. Open Run by pressing Win + R.
  2. Type appwiz.cpl and press Enter to open the Control Panel’s Programs and Features page.
  3. Search for and select VMware Workstation or VMware Player and click on Change.
    vmware-workstation-change
  4. Select Next and then Remove.
    remove-vmware-workstation
  5. Check the option you need to save and click Next.

Through App Settings

Windows 8 introduced the Settings app as an alternative for the Control Panel. You can use its App Settings to uninstall VMware on Windows 10 and later versions. To do so,

  1. Open Run.
  2. Enter ms-settings:appsfeatures to open the App Settings.
  3. Scroll down and search for VMware workstation or VMware Player.
  4. Select on it or click on the triple-dot icon next to it and choose Modify. You will be able to select Uninstall on older versions.
    modify-vmware-workstation-settings
  5. Select Next and then Remove.
  6. Check the option you need to save and click Next.

With Windows PowerShell

You can also use the Uninstall-Package PowerShell cmdlet to uninstall your apps. Here’s how you can use it to remove VMware:

  1. Open Run.
  2. Type powershell and press Ctrl + Shift + Enter to open the Elevated Windows PowerShell.
  3. Enter the following command:
    Get-Package -Name "VMware Workstation*" | Uninstall-Package
    Replace Workstation with Player if you want to remove this app instead.
    powershell-uninstall-vmware
  4. Type Y and press Enter if prompted.

Directly Using the Uninstaller/Modify Script

It is also possible to directly run a shortcut for the uninstaller wizard for VMware. First, you need to figure out what the script is through the Registry Editor and then run it. Here are the necessary steps for the complete process:

  1. Open Run and enter regedit to open the Registry Editor.
  2. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9D6C87F1-2E07-4B8D-99D8-D00248F62D55}
  3. This key is for VMware Workstation 16.x. Other versions may use a separate key. To get there,
    • Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
    • Select each key inside Uninstall and check the value of the DisplayName entry. It should show VMware Workstation or VMware Player.
      registry-vmware-uninstall-displayname
  4. Double-click on ModifyPath and copy its Value data. For older versions, you need to copy the value of UninstallString.
    modify-path-value-data
  5. Open Run and paste the ModifyPath value.
  6. Replace /l with /x, then press Enter. For example, if the script in ModifyPath is msiexec.exe /l{9D6C87F1-2E07-4B8D-99D8-D00248F62D55}, you need to enter msiexec.exe /x{9D6C87F1-2E07-4B8D-99D8-D00248F62D55}
    msiexec-run-x
  7. Confirm your choice and follow the onscreen instructions.

Manually Remove VMware Files

If the above uninstallation processes fail, you won’t be able to uninstall the application properly. Then, you also can’t install VMware again on your system due to the persisting files.

In such cases, you need to manually remove the VMware files to clean up the incomplete uninstallation and properly remove the app from your PC.

First, log in with an administrator account and temporarily disable your antivirus and firewall. Then, follow the steps below one by one to manually remove VMware from your system:

Stop VMware Services

  1. Open Run and enter services.msc to open Services app.
  2. Search for all services starting with VMware.
    vmware-services
  3. Right-click on them and select Stop.

Uninstall VMware Devices

  1. Open Run and enter devmgmt.msc to open the Device Manager.
  2. Select View > Show hidden devices.
    device-manager-show-hidden-devices
  3. Expand Network Adapters.
  4. Right-click on the devices starting with VMware and select Uninstall device > Uninstall.
    vmware-network-adapters
  5. Then, open Run and enter ncpa.cpl to open Network Connections.
  6. Right-click on a network and select Properties.
  7. Select VMware Bridge Protocol and click Uninstall.
    vmware-bridge-protocol
  8. Click OK after uninstalling it. Then, do the same for other networks.

Delete VMware Folders and Files

  1. Press Win + E to open File Explorer.
  2. Navigate to C:\Program Files\ or C:\Program Files(X86)\ and delete the folder VMware.
    vmware-program-files
  3. Select Yes to provide admin permissions.
  4. Now, open Run and enter %programdata%
  5. On the ProgramData folder, delete VMware.
  6. Then, open Run and enter %windir%\system32 to navigate to this directory.
  7. Delete the following files if available:
    • vmnat.exe
    • vmnetbridge.exe
    • VMNetDHCP.exe
    • vmnetdhcp.leases
    • vmxw2ksetup.dll
    • vnetprobe.exe
    • vnetprobelib.dll
    • vnetinst.dll
    • vnetlib.dll
    • vnetlib.exe
  8. Then open the drivers folder inside System32 and delete these files if present:
    • vmnet.sys
    • vmnetx.sys
    • VMparport.sys
    • vmx86.sys
    • vmnetadapter.sys
    • vmnetbridge.sys
    • vmnetuserif.sys
    • hcmon.sys
    • vmusb.sys
      vm-drivers

Delete VMware Users and Groups

  1. Open Run and enter lusrmgr.msc to open Local Users and Groups Manager.
  2. Double-click on Users and look for __vmware_user__.
  3. If it’s there, right-click on it and select Delete > Yes.
  4. Then, go to Groups and look for __vmware__.
  5. Use a similar way to delete it as well.
    local-group-vmware-delete

Delete VMware Registries

  1. Open the Registry Editor
  2. Navigate to Computer\HKEY_CLASSES_ROOT\Installer\Products\ and select the first key within Products.
  3. Check its Product Name.
  4. If it’s not VMware Workstation or Player, press the down arrow key to check for the next key inside Products.
    product-name-vmware-installer-products
  5. Use steps 3 and 4 to find out the key for VMware and note it down. The key is the folder inside Products.
  6. Right-click on this key and select Delete > Yes to remove it.
    delete-vmware-installer-products
  7. Then, navigate to Computer\HKEY_CLASSES_ROOT\Installer\Features\<copied key name> and delete this key as well. For example, the key may be Computer\HKEY_CLASSES_ROOT\Installer\Features\1F78C6D970E2D8B4998D0D20846FD255
  8. Now, delete the following keys as well:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\<copied key name>
    • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\<copied key name>
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\<copied key name>
    • HKEY_CLASSES_ROOT\Installer\UpgradeCodes\3F935F414A4C79542AD9C8D157A3CC39
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc.\VMware Workstation
    • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\vmware.exe
    • HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.
  9. Then, navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
  10. Select each key inside Uninstall and check the value of the DisplayName entry.
    registry-vmware-uninstall-displayname
  11. If it shows VMware Workstation or VMware Player, delete the key altogether.

Uninstalling VMware on Linux

On a Command line-based system like Linux, you can easily use some commands to uninstall VMware on your computer.

Here, we use the commands for the Ubuntu Linux system. Other distros use different commands, so you need to search for and use those accordingly.

Using the Uninstaller

The default way of uninstalling VMware on Linux is by using the uninstaller script. Here’s how you can do so:

  1. Open the Terminal.
  2. Enter the following command depending on whether you want to remove VMware Workstation or VMware Player:
    • sudo vmware-installer -u vmware-player
    • sudo vmware-installer -u vmware-workstation
      linux-vmware-uninstall-script
  3. You may also need to use the full path for vmware-installer, i.e., /usr/bin/vmware-installer

Manually Uninstalling VMware

If uninstalling VMware using the uninstaller fails, you need to manually remove all of its files. To do so,

  1. Open the Terminal.
  2. Enter the command below to stop VMware services and processes:
    /etc/init.d/vmware stop
    linux-stop-vmware-services
  3. Move the VMware libraries to /tmp using the commands:
    • uname -r (to check the kernel version)
    • cd /lib/modules/<kernel version>/misc (replace <kernel version> with your kernel version)
    • mv vm* /tmp
      linux-move-temporary-files-vmware
  4. Then, you need to unload the kernel modules,
    • rmmod vmnet.o
    • rmmod vmmon.o
    • rmmod vmci.o
    • rmmod vmblock.o
    • rmmod vmppuser.o
  5. Now, remove the VMware logon scripts using the commands:
    • rm /etc/rc2.d/*vmware*
    • rm /etc/rc3.d/*vmware*
    • rm /etc/rc5.d/*vmware*
    • rm /etc/rc6.d/*vmware*
      remove-vmware-files
  6. After that, you can remove the VMware files and directories (if available),
    • rm -rf /etc/vmware*
    • rm /usr/bin/vmware-usbarbitrator
    • rm /usr/bin/vmnet*
    • rm -r /usr/lib/vmware*
    • rm -r /usr/share/doc/vmware*
how-to
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

virtual machine disks consolidation is needed

4 Ways to Fix “Virtual Machine Disks Consolidation is Needed”

December 27, 2022
virtualbox shared folder

How to Create Shared Folder on Virtualbox

November 29, 2022
failed to open a session for the virtual machine

How to Fix “Failed to Open a Session For The Virtual Machine” Error?

September 30, 2022
how to uninstall virtualbox

How to Uninstall VirtualBox on Windows

September 28, 2022
how to use vmware

How to Use VMware (Detailed Guide)

September 23, 2022
virtualize a physical machine vmware

How To Virtualize A Physical Machine With VMware

September 17, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
firmware vs software

Firmware Vs Software – What’s the Difference?

March 8, 2023
keyboard sizes

All the Types of Keyboard Sizes Explained

March 8, 2023
Memory-Compression

What is Memory Compression in Windows? Should You Enable or Disable It

March 1, 2023
You may also like
keyboard is double typing

Keyboard is Double Typing? Here’re 6 Ways to Fix it

March 9, 2023
enlarge-hp-printer

How to Enlarge Copy on HP Printer

March 9, 2023
reset msi bios

How to Reset MSI BIOS

March 9, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.