How to get Intel HAXM working on Windows 10

Viewed 5940

When installing the IntelHaxm-Android package I get the following error despite Hyper-V being disabled: Install dialog error

From the image it is visible that hyper-v is disabled. Processor is Intel i7-6700 that definitely supports VT-x, and virtualization is enabled in BIOS.

Any ideas on how to solve this problem?

2 Answers

Hyper-V prevents running HAXM on your computer. You have two choices:

Remove Hyper-V

(if you don't use Hyper-V at all)

  1. Open PowerShell window as Administrator and execute command:

    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
    
  2. Restart computer and voila - you can use HAXM or VirtualBox.

Create alternative Windows 10 configuration with Hyper-V disabled

(if you have to use Hyper-V for another purpose)

  1. Open command line as Administrator.
  2. Clone existing configuration (with Hyper-V installed and enabled) and give it meaningful description:

    BCDEDIT /copy {current} /d "Hyper-V enabled"
    
  3. Disable Hyper-V in current configuration:

    BCDEDIT /set {current} hypervisorlaunchtype off
    
  4. Rename current configuration:

    BCDEDIT /set {current} description "Hyper-V disabled"
    
  5. Restart computer and select configuration with Hyper-V disabled to run HAXM.
Related