In such cases, the obvious solution is to uninstall and, if required, reinstall VirtualBox. This sounds easy enough, but things don’t always go smoothly. As such, we’ve detailed how to uninstall VirtualBox properly using various methods in this article.
How to Uninstall VirtualBox on Windows
The first couple of methods are easy to follow, but if they don’t work, you can also use the latter two CLI methods to force uninstall VirtualBox. If your issue isn’t resolved despite that, we recommend checking the final section for steps to perform a thorough removal.
Through App Settings
Windows 11 introduced the ability to uninstall applications easily via App Settings. Here are the necessary steps for this:
Through Control Panel
On older Windows versions, you can apply the traditional way of uninstalling applications via the Control Panel. Of course, you can use this method on Windows 11 as well if you want. With that said, here are the necessary steps:
Through CLI
If you need to force-uninstall VirtualBox, you can use the Get-Package and Uninstall-Package cmdlets in PowerShell. Here are the steps for this: Provided that VirtualBox is registered with WMI, you can also uninstall VirtualBox with the WMIC utility. Here are the necessary steps:
How to Uninstall VirtualBox Completely?
If the CLI methods didn’t work either, then you’ll need to perform manual steps for complete removal. But before you start, let’s get the Windows Update incompatibility issue out of the way. If you have any Android Emulators installed, such as LDPlayer, BlueStacks, Genymotion, Nox, Memu, etc., that are based on VirtualBox, you’ll want to remove these as we’ve found these to be the major cause for the incompatibility error. When removing such emulators, the first step is obviously to uninstall them. You can do this using the uninstaller executable, via settings, or via the control panel. But the second part is also important. Often, the error will persist because some residual files remain on the system despite uninstalling. As such, you’ll want to clear the files from the locations like the Temp folder, AppData, ProgramData, etc., and check the registry. The steps will slightly differ depending on the emulator you’ve installed, but you can check the sections below to get a general idea of how to thoroughly remove an application. Now, to remove all VirtualBox traces from your system, you’ll want to log in to an admin account first. If you plan to reinstall VirtualBox afterward, temporarily disabling security programs and clean booting might also be a good idea.
Remove VirtualBox Files
First, we’ll stop the VirtualBox background services and then proceed to delete the VirtualBox files from AppData, ProgramData, UserProfile, and System32. Here are the steps for this:
Uninstall VirtualBox Network Components
Now, we’ll remove the VirtualBox network adapters and drivers. Here are the steps for this:
Delete VirtualBox Registry Entries
The final part of the puzzle is to clear all VirtualBox entries from the registry. Before making any changes to your registry, we highly recommend following the steps from the linked guide to back up your registry. This is important in case you need to revert any changes. Once that’s done, you can follow the steps listed below: