Search code examples
hyper-vhaxm

Making Hyper-V and Intel HAXM to co-exist


Windows phone emulator requires Hyper-V to run, but Android emulator in turn requires Intel Hardware Acceleration Manager (HAXM), which is intolerant to Hyper-V.

Is there a way to keep Hyper-V and disable it temporarily to have Intel HAXM operational, without rebooting?

  1. I run Windows Hyper-V manager and stopped the server (this involves stopping all services), but that didn't help: Android emulator still refused to start.

  2. I called services.msc to see if some Hyper-V services were still running. Indeed, all services starting with Hyper-V were NOT running. I also stopped HV Host service (Microsoft Hypervisor Host service), but it still didn't help!

Any ideas?


Solution

  • This is probably the best work around:

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

    You keep two BCD entries referring to same Windows 10 partition, but one with Hyper-V activated (hypervisorlaunchtype Auto), and another one with Hyper-V suppressed (hypervisorlaunchtype Off). Still you have to reboot the system, but no need to install/uninstall Hyper-V, which is a significant relief.

    A proposito, this article uses bcdedit which is a standard Windows command line utility. As an alternative, you can use a GUI application Visual BCD editor