Skip to content

Instantly share code, notes, and snippets.

@TomieAi
Forked from ichadhr/Disable_Enable.md
Created April 3, 2024 09:51
Show Gist options
  • Save TomieAi/7ee71b7cd48aacadc2041bf8afc0af1f to your computer and use it in GitHub Desktop.
Save TomieAi/7ee71b7cd48aacadc2041bf8afc0af1f to your computer and use it in GitHub Desktop.
Disable/Enable Hyper-V and VT-X

If you run bcdedit with no arguments, you should see a property called hypervisorlaunchtype. This will be set to off or auto.

To disable Hyper-V in order to use VirtualBox, open a command prompt as administrator and run the command:

bcdedit /set hypervisorlaunchtype off

You’ll need to reboot, but then you’ll be all set to run VirtualBox. To turn Hyper-V back on, run:

bcdedit /set hypervisorlaunchtype auto

and then reboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment