
Removing the Hyper-V role is a single command, but "completely" removing Hyper-V takes a little more: Windows can still start the hypervisor for other features such as WSL 2, Windows Sandbox, Virtual Machine Platform or Memory integrity, which can block VirtualBox, VMware or Android emulators from using hardware virtualization. This guide covers both: uninstalling Hyper-V, and making sure the hypervisor is really off.
Quick answer
# Windows Server (PowerShell as Administrator)
Uninstall-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
# Windows 10 / 11
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -NoRestart
bcdedit /set hypervisorlaunchtype off
Restart-Computer
Before you uninstall
- Export or move your VMs. Uninstalling Hyper-V doesn't delete VM files, but you can't run them afterwards. Export each one in Hyper-V Manager (Action → Export) or with
Export-VM -Name vm01 -Path D:\Exports. - Note your virtual switches. External virtual switches are removed with the role; the physical network adapter gets its normal settings back, but check its IP configuration afterwards on a remote server.
- Remote servers: make sure you have console access in case networking changes during the restart.
Uninstall Hyper-V on Windows Server
PowerShell
Get-WindowsFeature Hyper-V* # what's installed
Uninstall-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
The server restarts (often twice) to finish removing the role.
DISM (Command Prompt)
dism /online /disable-feature /featurename:Microsoft-Hyper-V
Server Manager
Manage → Remove Roles and Features, untick Hyper-V under Server Roles, confirm removal of the management tools, and restart.
Uninstall Hyper-V on Windows 10 and 11
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -NoRestart
# or
dism /online /disable-feature /featurename:Microsoft-Hyper-V-All
Or open optionalfeatures, untick Hyper-V, click OK and restart.
Turn the hypervisor off completely
Even without Hyper-V, Windows starts the hypervisor if any of these are on. Turn off the ones you don't need:
Disable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform -NoRestart
Disable-WindowsOptionalFeature -Online -FeatureName Containers-DisposableClientVM -NoRestart # Windows Sandbox
bcdedit /set hypervisorlaunchtype off
Also check Windows Security → Device security → Core isolation → Memory integrity. It uses virtualization-based security and keeps the hypervisor running. Turning it off reduces protection, so only do it if your software really needs direct access to VT-x/AMD-V.
Restart, then check:
systeminfo | findstr /i "hypervisor"
If you see A hypervisor has been detected, something still starts it. Without the hypervisor, the output shows the Hyper-V requirements list instead.
To turn it back on later: bcdedit /set hypervisorlaunchtype auto and restart.
Clean up after uninstalling
- Delete leftover VM files you no longer need (by default in
C:\ProgramData\Microsoft\Windows\Hyper-VandC:\Users\Public\Documents\Hyper-V\Virtual Hard Disks). - Check network adapter settings with
Get-NetIPConfiguration. - Note that WSL 2 needs Virtual Machine Platform: if you disable it, WSL 2 distributions stop working (WSL 1 still works).
Frequently asked questions
How do I uninstall Hyper-V from the command line?
On Windows Server, run Uninstall-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart. On Windows 10/11, run Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All.
Why does VirtualBox still say Hyper-V is running after I uninstalled it?
Another feature (Virtual Machine Platform, Windows Sandbox, WSL 2 or Memory integrity) still starts the hypervisor. Disable them and run bcdedit /set hypervisorlaunchtype off.
Does uninstalling Hyper-V delete my virtual machines?
No, the files stay on disk, but you can't run them until Hyper-V is installed again. Export them first if you want to move them.
Can I disable Hyper-V without uninstalling it?
Yes. bcdedit /set hypervisorlaunchtype off and a restart stop the hypervisor from loading; set it back to auto to use Hyper-V again.


