Skip to content

Instantly share code, notes, and snippets.

@niikoo
Last active October 25, 2021 20:01
Show Gist options
  • Save niikoo/07677ee9fb31a2b42ce402c68a3e1e5f to your computer and use it in GitHub Desktop.
Save niikoo/07677ee9fb31a2b42ce402c68a3e1e5f to your computer and use it in GitHub Desktop.
Creating a "no hypervisor" boot entry on Windows 11

From time to time I want to run Virtual PC / Virtual Server / HAXM on my Hyper-V system.

While I can do this with the hypervisor running, the result is that Virtual PC / Virtual Server run quite slowly. An easy fix for this is to create a second boot entry for my system that starts Windows without starting the hypervisor.

To do this you need to open an administrative PowerShell and run:

bcdedit /copy "{current}" /d "Windows 11 - no Hyper-V"

This copies your currently active boot entry (assuming that this is the one you want to copy) and gives the new copy an appropriate description.

bcdedit /set "{identifier for the new boot entry (copy from the output of a plain 'bcdedit' command) }" hypervisorlaunchtype off

After doing this you can choose whether the hypervisor gets loaded whenever you boot the system.

Based on: https://web.archive.org/web/20200816040443/https://docs.microsoft.com/en-us/archive/blogs/virtual_pc_guy/creating-a-no-hypervisor-boot-entry

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