1

I'm using Windows 11 Home and had installed WSL. Apparently wsl2 uses hyper-v so that's causing problems when I want to run VMs. I'm not sure how to turn hyper-v off though. Since I'm using Home, Hyper-V is not listed in optional features, and the powershell command Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor doesn't work either.

I uninstalled WSL (using instructions from this post) and rebooted, but hyper-v is still running. How do I turn it off so I can use hardware virtualization for my VMs?

10
  • 1
    I suspect this question must have been asked here before, but I cannot find anything, so apologies if this is a blatant duplicate.
    – nobody
    Mar 12 at 2:54
  • 1
    @Gantendo I've seen that Microsoft one. Thing is, the methods given for disabling Hyper-V work for me. In the Control Panel, the Hyper-V feature isn't listed, and through powershell, I get an error along the lines of "Feature not found". I haven't tried the stackoverflow one yet.
    – nobody
    Mar 12 at 3:05
  • 1
    @Gantendo The stackoverflow method seems to have worked, thanks a lot!
    – nobody
    Mar 12 at 3:08
  • 1
    This seems relevant. Hyper-V cannot actually be enabled on Windows 11 Home. WSL2 does NOT actually require Hyper-V, it requires, Virtual Machine Platform. There is a significant difference. One can be enabled on Windows 11 Home the other cannot. Possible duplicate here and here
    – Ramhound
    Mar 12 at 5:36
  • 1
    @Ramhound I see. Its sort of confusing since Microsoft states WSL2 relies on the Hyper-V architecture, but as you say there seems to be some subtle differences between the two.
    – nobody
    Mar 12 at 6:17

1 Answer 1

1

In an elevated Command Prompt write this :

To disable:

bcdedit /set hypervisorlaunchtype off

To enable:

bcdedit /set hypervisorlaunchtype auto 

(From comments - restart to take effect)

Credit: LukeSkCzEnDeRuPl

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.