Intel HAXM installation error - This computer does not support Intel Virtualization Technology (VT-x)
Asked Answered
C

18

148

I have an issue with my HAXM installation. Here is the thing. I got this error every single time I tried to install HAXM for my computer: Installation error print-screen

Problem is, that my computer supports Virtualization Technology (see pic below). Any idea how to fix this issue? enter image description here

Chromolithography answered 18/4, 2013 at 19:40 Comment(6)
During installation, how much memory do I use ? I have 4GB and it is suggesting 1gbChristopher
Do you use Avast? If you do, try to disable "Enable hardware-assisted virtualization" under: Settings > Troubleshooting. Restart the PC and try to run the HAXM installation again. Work for me!Jacelynjacenta
If HAXM doesn't ask how much memory you want to give it and immediately gives the above error message, @Ajay has the solution you are looking for.Argumentum
developer.android.com/studio/run/emulator-acceleration c:\Users\janedoe\AppData\Local\Android> sdk\emulator\emulator -accel-check helped me to find that it is already installedPar
this link has the working answer in my case: github.com/intel/haxm/issues/105Posting
@Madushan's answer <strong>step 6</strong> did it for me!Disharmony
V
157

Just follows these steps:

  1. Go to Control Panel → Program and Feature.
  2. Click on Turn Window Features on and off. A window opens.
  3. Uncheck Hyper-V and Windows Hypervisor Platform options and restart your system.

Now, you can Start HAXM installation without any error.

Visser answered 8/1, 2015 at 11:41 Comment(19)
This was the one that worked for me and a couple of my buddies that had the same problem, should be top answer.Argumentum
@Dave: Always Welcome :)Visser
What if I can't uncheck this option because I don't have? Can't use HAXM until I change my laptop?Dundee
What do you mean by I don't have ? First , you check weather your laptop support Intel Virtualization technique or not ? As you seen above in second screen shot in question that Inter Virtualization Technology is 'YES'. What is it in your scenario ?Visser
Thanks that was it for me, I don't even user Hyper-V, shame both can't be used (I may one day make a windows Phone App)Protamine
I guess, Hyper-V option is only available in Windows 8 and higher versions. How can solve this in Windows 7?Wheat
No, Hyper-V is not depend on windows, I think, it depend on your motherboard. your motherboard may have or not support Hyper-V option.Visser
I have Hyper-V already unchecked but still getting same error.. What is next option remainingStrade
Check once also in BIOS settings, and it may be possibility that your antivirus stop you to use Hyper-v. So, once deactivate or stop your antivirus and then try again the above steps.Visser
I followed your steps...After crossing 2nd step.,I have not found Hyper-V in my system...What do I have to do? @AjaySharmaTo
@ParamaSudha if that option is not available, it means that your CPU not support this technology. It's my assumption. Don't go and buy new CPU on the basis of my comments :PVisser
Then, I can not use AVD in my Android Studio.Isn't it?To
You may use ARM system images for create Android AVD.Visser
@ParamaSudha - Yesterday, my friend bought a new laptop. When he go to above settings that Hyper-V option was not their but when I check his laptop system info it shows that his system support Hyper-V. So the conclusion is that if Hyper-V connection is not showing in Program and Feature , it doesn't means that your System not supported Hyper-V. Their are lots of other way to check that. Such as Intel Processor Identify Utility Software or Write command in cmd Systeminfo.exeVisser
Just FYI if anyone is struggling after disabling hyper-v and rebooting, this only worked for me after a 2nd reboot. I did run into some pending windows updates, possibly not a coincidence.Adiell
@AjaySharma, In my system there is no any option like Hyper-V optionJocular
If you own an AMD machine then also you will face similar issue and to enable virtualization in AMD processor its bit more complicated and there is a different approach. So make sure whether you are using AMD or Intel machineEfficacy
ok, but what if I'm actively USING the hyperv functionality in Windows?Tankoos
Read this: developer.android.com/studio/run/emulator-accelerationBioplasm
N
47

Hello and welcome to the 3rd installment of the infamous Android Emulator on Windows saga. Despite the combined 3 trillion dollar market cap of Microsoft and Google, this remains to be a problem harder than going to the moon.

Below is the somewhat comprehensive list for Windows (so far as of circa 11/2022)


First make sure you have the latest version of Windows. As of writing, this is Windows 11 22H2 with all updates installed. If you have an older version of Windows, you'll have to try each one of the below, with possibly different combinations. Otherwise follow from the top until your issue is solved. It is ordered from the easiest/most likely culprit on a decent Windows machine, to the most unlikely cause.

Note that if you're doing below on a corporate machine, some of the below actions may be blocked by your admin, and/or flag your machine as suspicious activity as some actions intentionally turns off some security features. Depending on your situation, you may want to give a heads-up to your IT/security team.

If your Windows device has Bitlocker enabled on your boot drive contact your IT admin first. Messing with virtualization and boot configuration may trigger bitlocker prompts upon reboot. If you're working from home,this may mean taking your laptop to the office to get it unlocked by IT, as Windows may refuse to boot without unlocking BitLocker.


To find what is blocking the emulator launch, the surefire way is to open a terminal (cmd or powershell) and launch to from there as below.

First kill any existing emulator.exe instances, adb.exe instances, java.exe instances, qemu instances, android studio instances. Check in task manager to be sure.

The adb relaunches itself so its ok be running. But make sure android studio is not running. It seems to lock files/cache and not flush emulator configs, that may crash the emulator at launch, without any useful logs.

in a terminal

  • cd your_sdk_location\emulator
  • emulator.exe -list-avds
  • this will list what AVDs you have. Find the one you want
  • emulator.exe -avd your_avd_name -verbose

This will have a long log, and will have some information on what the failure is. If you see a VM heap size being outside of limits, it may say that it it automatically set to lowest or highest value. This is a lie. Open emulator settings and set it to within the limits manually, usually 550MB works. Launch android studio and edit the emulator instance to be within this limit, then close android studio, then wait about 30 seconds before attempting to launch the emulator. For all attempts of launching the emulator below, do not rely on android studio, launch from command line instead.

Note that the emulator editor UI in android studio can corrupt the config at times. If this happens, I don't know where this is stored, so you may have to delete and re-create the AVD. If this doesn't work, do not change and configs during AVD creation, then launch it from command line.

If the emulator doesn't launch, no useful failure logs, yet the emulator.exe exits after a few minutes, you may have android studio running. Exit/Kill Android studio, wait a minute or so and try again. If still fails, reboot.


  1. Have an Antivirus (other than Microsoft Defender)?

    • Disable it
    • Reboot and try to launch the emulator
  2. Disable Hypervisor Boot

    • open an admin terminal (cmd or powershell)
    • run bcdedit /set hypervisorlaunchtype off
    • try to launch the emulator. If still broken, try rebooting.
  3. If your failure is due to install of HAXM/AMD hypervisor driver failing

    • run systeminfo in a terminal
    • at the end under Hyper-V Requirements: if it says A hypervisor has been detected this means emulator cannot launch virtualization.
    • Open Start > Windows Security > Device Security > Core isolation
    • turn off Core Isolation (previously known as Memory Integrity/Isolated User Mode)
    • Open Turn Windows features on or off and disable
      • Hyper-V Platform
      • Hyper-V Management Tools
      • Windows Hypervisor Platform
    • You can enable them after HAXM/AMD Driver install
    • on an admin prompt run bcdedit /set hypervisorlaunchtype off
    • reboot
    • try to launch the emulator
  4. Check BIOS

    • go into BIOS/UEFI setup and look for settings like
      • VT-x
      • VT-d
      • Virtualization Technology
      • Hardware Virtualization
    • Make sure these settings are enabled
    • try to launch the emulator
  5. Uninstall Docker Desktop

    • Some users have reported that uninstalling Docker Desktop fixed their issue.
    • It is unclear as to why docker desktop interferes with haxm installation. The reason is probably that it supports running docker images via a Hyper-V backend, and disabling this feature does not remove the hypervisor completely.
    • Go to Settings -> Add or remove programs, and uninstall docker desktop
    • reboot
    • try to launch the emulator
  6. Nothing works

    • You shouldn't get here, since Android emulator can now run alongside with Hyper-V if you have 'Windows Hypervisor Platform' enabled.
    • If nothing above works, as a last resort you can try running Android in a Hyper-V VM and get ADB to connect to it. (Not a solution, but a workaround)
    • You can also run android using a third-party emulator like Genimotion.
  7. ¯\(ツ)

Nickolas answered 7/12, 2018 at 20:3 Comment(6)
Step 6 did it for me! New Dell XPS15Pattison
The sixth step helped me too! Laptop: Asus N550JK, Windows 10 Pro, Build 19018 (Insider Program).Festoon
My PC processor is AMD Ryzen 5 and I did all things from above steps. But still I cannot install HXAM in Android Studio. Please help me.Jackanapes
In addition to this answer; if you memory integration toggle automatically turns on after reboot even when you turned off; turn the "Secure Boot" to disabled in your BIOS settings.Killen
It seems if "Virtual Machine Platform" is enabled in Windows Features also , you will not be able to install HAXM. Disabling "Virtual Machine Platform" fixed it for me. I enabled it for WSL.Laudian
step 6 winds the internetGruesome
C
30

After few days of googling I found, that problem was caused by hyperthreading (or hyper - v). I decided to edit my boot.ini file with option to start up windows with hyperthreading turned off. I followed this tutorial and now everything works perfect

Chromolithography answered 13/9, 2013 at 23:33 Comment(5)
This did it for me: "dism.exe /Online /Disable-Feature:Microsoft-Hyper-V"Balanchine
Yeah, this basically means I can't do windows phone development alongside android development on the same laptop since you need Hyper-V for WP emulators. This smells fishy...Resoluble
The problem is on Microsoft's side. You are right to say something smells fishy but if it is intentional, Microsoft is just slow at updating the HyperV virtualization layer that is supposed to detect the processor capabilities and expose the Intel-VT features to whatever OS is residing above Hyper-V.Tinsel
I just enabled the virtualization option on BIOS when starting windows, and worked.Dupont
Hyperthreading is something entirely unrelated to Windows' Hyper-V hypervisor using Intel VT-x or AMD-V hardware virtualization features.Sauncho
D
16

chances are that you have windows 8 with hyper-v installed? if yes remove hyper-v and your problem goes away!

Doty answered 13/8, 2013 at 10:52 Comment(0)
M
11
  1. First of all make sure you enabled Virtualization Technology in your BIOS. After restarting your computer press F1-F12 on your keyboard and find this option.

  2. Make sure you disabled Hyper-V in your Windows 7/Windows 8. You can turn it off in Control Panel -> Programs -> Windows functions

  3. You can try to disable your antivirus program for the whole installation process. Remember to restore all antivirus services after installing HAXM.

  4. Some people recommend cold boot which is:

    1. Disabling Virtualization in your BIOS
    2. Restart computer and turn it off
    3. Enable VT in your BIOS
    4. Restart computer, turn it off
    5. It's likely that now might be allowed to install HAXM

Unfortunately this step didn't work for me

  1. Last but not least: try this workaround patch released by Intel.

http://software.intel.com/en-us/blogs/2013/04/25/workaround-patch-for-haxm-installation-error-failed-to-configure-driver-unknown

All you have to do is to download the package, unzip it, put it together with HAXM installator file and run .cmd file included in the package - remember, start it as an Administrator.

I had a lot of problems with installing HAXM and only the last step helped me.

Mendes answered 1/1, 2014 at 23:14 Comment(2)
No problem! I was googling the solution very long and after I found it, I decided to share it on stackoverflow. This workaround patch is a key solution to be honest.Mendes
I think the script does not work if there are spaces in the path of intelhaxm.exe. Example: I use Android Studio and the file is stored under C:\Program Files (x86)\Android\android-studio\sdk\extras\intel\Hardware_Accelerated_Execution_Man‌​ager, then I need to copy it to somewhere else.Cease
D
7

In the "Turn Windows features on or off" window, un-check Hyper-V and also ensure that Windows Hypervisor Platform is unchecked. Windows Hypervisor Platform being enabled can also block the installation of the Intel HaxM

Features to be disabled

Distillery answered 13/8, 2018 at 6:3 Comment(2)
There is no Hyper-V in my Computer, Do I have to change my computer now :/Postprandial
After an hour of struggling, the Windows Hypervisor Platform is what blocked the installation. Didn't realize there were two of them!Westhead
E
6

Maybe VT-X is not enabled in your BIOS.

See Intel HAXM documentation here: http://software.intel.com/en-us/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows

Intel VT-x not enabled

In some cases, Intel VT-x may be disabled in the system BIOS and must be enabled within the BIOS setup utility. To access the BIOS setup utility, a key must be pressed during the computer’s boot sequence. This key is dependent on which BIOS is used but it is typically the F2, Delete, or Esc key. Within the BIOS setup utility, Intel VT may be identified by the terms "VT", "Virtualization Technology", or "VT-d." Make sure to enable all of the Virtualization features.

Egerton answered 2/5, 2013 at 8:18 Comment(0)
K
4

Anti-virus software may interfere with the HAXM installation. After trying to figure out what went wrong for a few hours I found a strange solution - uninstalling my anti-virus software , installing HAXM (which worked) and then re-installing the anti-virus software (Avast in my case but it could happen with other anti-virus programs as well.

The full check I went through to get this running is:

  1. Check the 'Virtualization' and vt-X feature in the BIOS.
  2. Verifying Hyper-V is not installed.
  3. Checking weather vt-X is enabled in windows with the Intel tool and MS tool (mentioned in previous posts in this thread).
  4. Disabling the anti-virus which didn't help.
  5. Uninstalling the anti-virus (which solved the problem for me).
Kane answered 28/1, 2015 at 8:26 Comment(1)
The feature in Avast that causes this problem can be disabled, see #21636004Leasehold
S
3

In Windows 10, Windows Defender has a feature of core isolation which uses virtualisation technology that will also interupt in working of HAXM. Disable it and try again. In my case disabling it solved my issue.

Stearin answered 18/9, 2018 at 10:0 Comment(0)
N
3

If you have an AMD Ryzen processor in your computer you need the following setup requirements to be in place:

  1. AMD Processor - Recommended: AMD® Ryzen™ processors
  2. Android Studio 3.2 Beta or higher - download via Android Studio Preview page
  3. Android Emulator v27.3.8+ - download via Android Studio SDK Manager
  4. x86 Android Virtual Device (AVD) - Create AVD
  5. Windows 10 with April 2018 Update
  6. Enable via Windows Features: "Windows Hypervisor Platform"

Note:There is Hyper-V features... You should enable Windows Hypervisor Platform not Hyper-V. Windows Hypervisor Platform is at the bottom

After conditions done avd x86 work without haxm install

Reference

Neal answered 3/12, 2018 at 13:14 Comment(1)
Ryzen 2700X here and was going mad because Hyper V disabled and VT-x enabled... this worked.. thanks!Cutlerr
P
2

In many cases some antivirus also start HyperV with window start and does not allow HAXM to install. I faced this issue because of AVAST antivirus. So I uninstalled AVAST, then HAXM installed properly after restart. Then I re-installed AVAST.

So its just a check while installing as now even with AVAST installed back, HAXM works properly with virtual box and android emulators.

Penalty answered 16/6, 2015 at 1:25 Comment(0)
J
1

After I installed Visual Studio 2013 Update 2, Visual Studio notified me about a Windows Phone emulator update, which I installed (it was really a new component, not an update). It turned out this enabled Hyper-V, which broke HAXM.

The solution was to uninstall the emulator from Programs and Features and to turn off Hyper-V from Windows Features (search for "Windows Features" and click "Turn Windows features on or off").

Jaysonjaywalk answered 16/5, 2014 at 20:36 Comment(0)
E
1

If you dont find Hyper-V option in control panel as said in other responses here, try entering BIOS setup (restarting and pressing F-12 or ESC or other depending on your PC) and enabling Virtualization, located probably in CPU options.

Esmeralda answered 27/9, 2016 at 9:18 Comment(0)
A
1

I'm running Windows 10 and had this problem after I changed my SSD, I fixed it by disabling the VT support on Bios. I got a different error after I ran the installer. I rebooted and enabled VT support again and voila, working now.

Acanthocephalan answered 31/1, 2020 at 5:21 Comment(0)
P
0

If any of the answers doesn't work just remove Android Emulator and reinstall it again. and after that try installing Intel Haxm.

Pictish answered 19/3, 2020 at 23:38 Comment(0)
I
0

If none of the answers worked out for you, try this,

Hyper-V might not be disabled If you have windows 10 features such as Device Guard and Credential Guard is enabled, it can prevent Hyper-V from being completely disabled.

The Device Guard and Credential Guard hardware readiness tool released by Microsoft can disable the said Windows 10 features along with Hyper-V:

Download it here, https://www.microsoft.com/en-us/download/details.aspx?id=53337

Download the latest version of the Device Guard and Credential Guard hardware readiness tool. Unzip Open the Command Prompt using Run as administrator @powershell -ExecutionPolicy RemoteSigned -Command "X:\path\to\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable" Reboot.

Immotile answered 26/4, 2020 at 5:8 Comment(0)
B
0

I already tried all of the possible solutions on stackoverflow and didn't work What I tried:

  1. Disable Hyper-V in windows feature
  2. Disable Hyper-V with command
  3. Disable Device Guard
  4. etc etc Above solution still give me information about Hyper-V in System Information and the HAXM still failed to install.

But finally I found the solution, you have to disable Hyper-V from System Configuration:

  1. Open System Configuration
  2. Click Service tab
  3. Uncheck all of Hyper-V related

Check System Information then Hyper-V is off now

Boak answered 30/9, 2020 at 7:18 Comment(0)
U
0

Fix the error. follow the following steps

  1. Turn off Hyper-V and Windows Hypervisor Platform
  2. Goto RegEdit "Windows Defender is blocking HAXM."
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard
    • Set the key EnableVirtualizationBasedSecurity to '0'

if Key is not available create a key

  1. Re-boot the machine
  2. Install the intelhaxm-android.exe
Underpants answered 28/8, 2021 at 12:26 Comment(1)
That worked perfectly for my case, I couldn't install the "Intel Haxm" on my machine in any way!Trichomonad

© 2022 - 2024 — McMap. All rights reserved.