I am trying to install Android Studio for the first time but there is an error for HAXM. I have tried different solutions without any success. My goal is to be able to install Android Studio/HAXM and get rid of the error messages.
Error message
Windows functions
####################################################
Error message:
Intel HAXM installation failed!
For more details, please check the installation log:
C:\Users\xxxxx\AppData\Local\Temp\haxm_install-20220905_0403.log
Intel® HAXM installation failed.
To install Intel® HAXM follow the instructions found at: https://github.com/intel/haxm/wiki/Installation-Instructions-on-Windows
###################################################
Log info:
Version: 7.6.5
Output folder: C:\Program Files\Intel\HAXM
Extract: checktool.exe... 100%
Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose
CPU vendor * GenuineIntel
Intel64 supported * Yes
VMX supported - No
VMX enabled - No
EPT supported - No
NX supported * Yes
NX enabled * Yes
Hyper-V disabled - No
OS version * Windows 10.0.22000
OS architecture * x86_64
Guest unoccupied * Yes. 0 guest(s)
The system requirements are not satisfied.
#################################################
The BIOS settings are:
Intel VTX: Enabled
Intel VTB: Enabled
TBT Detection Gain: Disabled
#################################################
In am using a laptop with Windows 11 (Swedish) and an Intel I5 11300H processor.
I tried to disable Hyper-V without success. Perhaps Windows device guard can be the problem? I haven't found Hyper-V or device guard in the menus for Windows 11. Therefore I tried to disable Hyper-V with: "bcdedit/set hypervisorlaunchtype off" without any luck. Now I have found a Microsoft device guard readiness tool but I get error messages. Perhaps the readiness tool can be the the solution if I can get it to work?
Readiness tool - cmd
Readiness tool - Powershell
Here is Microsoft readiness tool:
https://www.microsoft.com/en-us/download/details.aspx?id=53337
#########################################################
I also add some more information that I have found about how to disable device guard with the readiness tool. What can I do to make readiness tool to work and disable Windows device guard?
#########################################################
https://github.com/intel/haxm/blob/4c247c89b10fe979159ffaa182d4cabea2262f36/docs/manual-windows.md
Disabling Hyper-V on Windows 10
Certain advanced Windows 10 features, such as Device Guard (in particular, Hypervisor-protected code integrity or HVCI) and Credential Guard, can prevent Hyper-V from being completely disabled. In other words, when any of these features are enabled, so is Hyper-V, even though Windows may report otherwise.
The Device Guard and Credential Guard hardware readiness tool released by Microsoft can disable the said Windows 10 features along with Hyper-V:
Download the latest version of the tool from here. The following steps assume version 3.6.
Unzip.
Open an elevated (i.e. Run as administrator) Command Prompt.
@powershell -ExecutionPolicy RemoteSigned -Command "X:\path\to\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable"
Reboot.
########################################################
I found more information:
Disable Windows Defender Credential Guard by using the HVCI and Windows Defender Credential Guard hardware readiness tool
You can also disable Windows Defender Credential Guard by using the HVCI and Windows Defender Credential Guard hardware readiness tool.
PowerShell
Copy
DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot
Important
When running the HVCI and Windows Defender Credential Guard hardware readiness tool on a non-English operating system, within the script, change *$OSArch = $(gwmi win32_operatingsystem).OSArchitecture to be $OSArch = $((gwmi win32_operatingsystem).OSArchitecture).tolower() instead, in order for the tool to work.
This is a known issue.
CodePudding user response:
Think this has already been answered:
Error during installing HAXM, VT-X not working
Here for more information: https://github.com/intel/haxm/issues/361
CodePudding user response:
Uncheck Hyper-V and try installing this,
https://www.filehorse.com/download-intel-haxm/
Worked for me.