6

I want to know how to uninstall virtual box correctly. I tried removing it from /Applications, but lots of things were left behind. I don’t want to use an app cleaner tool and would like a complete uninstall process if possible.

How can I remove the app and reverse the changes it makes when installed?

2 Answers 2

15

The correct method to uninstall Virtualbox is to use the official uninstall script that is included on the installation image. If you don't have the installation image anymore, you can re-download it. Since the program installs many helper scripts outside the /Applications folder, you need to clean those up with the included uninstall tool and not just trash the main app.

This information is available directly from the project page as well: https://www.virtualbox.org/manual/ch02.html#install-mac-uninstall

Screenshot of Virtualbox image mounted on Mac

2
  • Thanks the stars we can run a nice script and not have to mess with PsExec and RegEdit. superuser.com/a/1258517/76395
    – bmike
    Commented Aug 23, 2019 at 11:07
  • 1
    I prefer using Homebrew Cask to install GUI apps if available. Running brew cask uninstall virtualbox runs the same VirtualBox_Uninstall.tool script, without the hassle of keeping around the install DMG.
    – Nimesh Neema
    Commented Aug 23, 2019 at 12:17
0

Homebrew is now using this format: brew <command> --cask So the correct command will be brew uninstall --cask virtualbox

3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .