Sunday, November 09, 2008

Creating a "no hypervisor" boot entry

Screenshot of Windows PowerShell 1.

Image via Wikipedia

Source: http://blogs.msdn.com/virtual_pc_guy/archive/2008/04/14/creating-a-no-hypervisor-boot-entry.aspx 

From time to time I want to run Virtual PC / Virtual Server 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 command prompt and run:

  1. bcdedit /copy {current} /d "Microsoft Windows Server 2008 - no hypervisor"
    1197@1196_14c5237b571080df95d2433e5d4d4335
    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.
  2. bcdedit /set {identifier for the new boot entry (copy from the output of a plain 'bcdedit' command)} hypervisorlaunchtype off
    1198@1196_bc47d895cb560750148b309cdaf82dfe

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

No comments: