Engineering: Run 2 hypervisors on Windows 8 and beyond

Issue

Like many people i installed Windows 10 on my laptop and thought rather than purchasing my customary copy of VMWare Workstation i would try out Hyper-V which is now available out-of-the-box since Windows 8 (while you could run Microsoft Virtual PC since Windows XP it was not quite as complete a product as Hyper-V).

Engineering_Run2Hypervisors_HyperVAddRemove_22022015

However when using Hyper-V you will find a glaring omission in the product (ignoring missing functionality that can be regained when using RDP to your VM’s).

There is no USB support through the Hyper-V Manager.

What this means is if you want to access the USB outside of an OS

for example using a VMWare ISO to install to a USB drive

you are pretty much stuck.

So in order to get around the fact i had built up my dev environment on my laptop using Hyper-V i needed access to VMWare Workstation once again.

However as with all hypervisors you cannot have 2 on the same machine running at once (with the exception of Oracle Virtual Box with VMWare Workstation i am told, though i have not confirmed this myself as yet).

Solution

Create a new boot configuration with Hyper-V disabled so you can install and run a different hypervisor during a session.

This does not just apply to VMWare products, any other hypervisor product will need similar action taken.

Implementation

  1. Open an instance of command prompt with elevated permissions
    > Press the Windows button
    >
    Type cmd to search for command prompt
    > Right click command prompt
    > Click Run as Administrator
    Engineering_Run2Hypervisors_ElevatedCommandPrompt_22022015
    >
    Click Yes to the UAC prompt if you have it enabled (you should!)
  2. Generate a new boot configuration and get the GUID
    > Type:
    bcdedit /copy {current} /d “Disable Hyper-V”
    > Copy the GUID generated.
    In this case {c2ed6f43-baae-11e4-95ee-8c705a8372d4}
    Engineering_Run2Hypervisors_bcdedit1_22022015

    Note: If you get the following error:
    Engineering_Run2Hypervisors_bcdedit2b_22022015
    Type:
      bcdedit /copy {default} /d “Disable Hyper-V”
  3. Edit boot configuration to disable Hyper-V
    > Type:
    bcdedit /set {GUID} hypervisorlaunchtype off
    e.g.
    bcdedit /set {c2ed6f43-baae-11e4-95ee-8c705a8372d4} hypervisorlaunchtype off
    Engineering_Run2Hypervisors_bcdedit2_22022015
  4. Confirm changes
    > Type:
    bcdedit
    This should return all current boot configurations. Your newly created config should appear last and have the hypervisorlaunchtype parameter set to Off.
    Engineering_Run2Hypervisors_bcdedit3_22022015
  5. Restart with advanced options
    > Type:
    shutdown /r /o /t 5

    Note:
    /r – Restart machine
    /o – Go to the advanced boot options menu and restart the computer.
    /t 5 – /t indicated set restart time, in this case 5 seconds
    Type shutdown /? for further options

    OR
    > Click Start
    > Click the Settings cog
    > Hold Down Shift while clicking Restart

  6. At the Advanced Boot Options menu select your Boot Loader
    > Click Use another operating system
    Engineering_Run2Hypervisors_AdvancedBootMenu_22052015
    > Click Disable Hyper-V
    Engineering_Run2Hypervisors_SelectBootloader_22052015
  7. Confirm Hyper-V is disabled
    > Open an elevated command prompt as in step 1
    > Type
    bcdedit
    > Confirm the settings have been applied to the {current} config
    Engineering_Run2Hypervisors_bcdedit7_22022015

You are now free to run your hypervisor of choice on your host OS.

Advertisements

2 responses to “Engineering: Run 2 hypervisors on Windows 8 and beyond

  1. Pingback: Engineering: Hypervisors on USB | ConfigMonkey.co.uk·

  2. Pingback: Engineering: 1. Install VMWare ESXi onto USB | ConfigMonkey.co.uk·

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s