VirtualBox: Disabling Hyper-V on Windows 11 Home

Windows 11 Home does not give you the option to enable or disable Hyper-V. It enables Hyper-V by default, and if you ever need to turn it off, here are the steps:

1. Launch Notepad

2. Paste in the following commands:

pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL

3. Save it as a cmd file like “Hyper-V.cmd”.

4. Right-click the file and select Run as administrator.

5. From the start menu, search for and launch Turn Windows features on or off.

6. Disable Hyper-V.

Happy troubleshooting!