Skip to content

Instantly share code, notes, and snippets.

@robert-claypool
Created December 5, 2016 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robert-claypool/40921727ca4e2d27f97cccd29b4c065f to your computer and use it in GitHub Desktop.
Save robert-claypool/40921727ca4e2d27f97cccd29b4c065f to your computer and use it in GitHub Desktop.
Make Room for VirtualBox: Toggle Hyper-V On/Off

I tried running these commands in PowerShell, but bcdedit commands would not work even as Admin.

bcdedit /copy {current} /d "No Hyper-V" 
# The entry was successfully copied to {01afc27f-do-not-use-5e2f3b11ce9a}. 

bcdedit /set {01afc27f-do-not-use-5e2f3b11ce9a} hypervisorlaunchtype off 
# The operation completed successfully.

To access this new boot menu, click the Windows Key, then Power and Restart but hold down Shift while clicking Restart with the mouse.

See https://msdn.microsoft.com/en-us/windows/hardware/drivers/devtest/adding-boot-entries , http://www.hanselman.com/blog/SwitchEasilyBetweenVirtualBoxAndHyperVWithABCDEditBootEntryInWindows81.aspx

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