Wednesday, April 3, 2013

Hyper-V and VMware on the same PC

I have finally got my new Ultrabook and was really looking forward to start running my test labs in Hyper-V when using my old VMWare Player setup.

I moved my VMware machines, changed couple settings and tried to start my Ubuntu server only to be spanked by dialog box " VMware Player and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Player.



So with excitement gone from reading blog posts and forums about this, here is the only solution I have found so far:

Default Boot Configuration Data Store needs to be copied to a new one and then hypervisor neds to be disabled. Because the Ultrabook reboots in about 8 seconds, changing the the configuration does not take much time.

bcdedit /copy {default} /d "No Hypervisor"

The above command will create a copy of  the default Windows Boot Loader and returns the GUID of the copy - in my case: {c1b9bb88-e12e-11e2-8be0-de688297e5fd}
Boot Manager and Boot Loader settings can also be listed with a command bcdedit /enum

To change the hypervisorlaunchtype enter another bcdedit command:

bcdedit/set {GUID_OF_THE_COPY_CREATED_ABOVE} hypervisorlaunchtype off


And you are done. Next boot you should see following boot options to choose from:

The only thing left might be changing the default to boot without user intervention. This can be done by a command:

bcdedit /default {GUID_OF_THE_COPY_CREATED_ABOVE}