Workaround Patch for HAXM Installation Error "Failed to configure driver: unknown error. Failed to open driver"

There are occasional reports that when developers are installing Intel HAXM, they got an error said" Failed to configure driver: unknown error. Failed to open driver". There are many factors that could cause this error. If you happen to have an issue on your system, you can follow the workaround steps outlined below to see if the issue can be resolved.  Almost all developers who reported the issue to Intel Android forum ( http://software.intel.com/en-us/forums/android-applications-on-intel-architecture) got HAXM installed successfully by those steps.

1.       Download archive (haxm_extra_workaround.zip) attached to this message.

2.       Extract file to any directory (for example to temp directory).

3.       Copy file “hax_extract.cmd” into same directory where your HAXM executable was extracted.

4.       Open Explorer window in directory where “hax_extract.cmd” was extracted, right click on “hax_extract.cmd” and select “Run As Administrator” item in menu.

5.       On prompt Allow/Not Allow launch application – answer “Yes” to launch script file with administrative permissions. 

After these steps driver will be installed to system.

If for some reason that your system is still having issue. There is one more way to install driver: after script failed, go to extracted folder, right-click on intelhaxm.inf file and select “Install” item.

As I can see this way just register driver in system, without any significant error processing. After system reboot driver will (or will not :-)) work depend on which brand  and model your system is,  and when it was made.

AttachmentSize
Package icon haxm-extract-workaround.zip12.38 KB
For more complete information about compiler optimizations, see our Optimization Notice.

12 comments

Top
wix w.'s picture

I ran the cmd as admin but got errors as following:

DIFXDRVINSTALL: installing driver package.
LOG: 1, ENTER:  DriverPackageInstallW
LOG: 1, RETURN: DriverPackageInstallW  (0xA)
ERROR: failed with error code 0x0000000A

Any ideas for this? Thanks!

Marco S.'s picture

I solved running Window7 in Test Mode e signing for Test the file C:\Windows|System32\drivers\IntelHaxm.sys.

To do so I used the utility I've found here: http://www.ngohq.com/?page=dseo

Marco

 

 

Marco S.'s picture

I followed the steps of Reiner T. but at this point:

.... 3. cmd -> sc query intelhaxm
       it should says service running..

It still says SERVICE STOPPED.

Prior to this, when I Right-Click+Install on intelhaxm.inf a window popped-up but immediatly disappear and I cannot see anything)

I've tried this command:

net start intelhaxm

but the Windows give me an Error 577 telling : It is impossible to verify the digital signature ....." and refuse to start it

It's really a pain to solve this issue, it blocks me to use Android Studio at all. And as I understand this bug lasted for years. I wonder why Intel don't put the right signature on it.

If anyone can help me it would be very very very appreciated. Thanx in advance

Marco

PS In a previous attempt after registering the driver a windows showed to me a message saying the a driver was registered but this Windows Installation don't allow any unsigned driver to run in the kernel. Is it my personal config that don't let me have it running ? Mah !

 

 

 

Lord K.'s picture

The solution provided by Reiner T works fine for me!  

 

Thanks!

 

Reiner T.'s picture

hello,
this is what i did to install haxm 1.1.4 on win 8.1 Pro 64-bit.
you may test it with or without admin-privileges, i've done it with them :-|
(this means to start cmd and any other exe in admin mode)

I. Preparing---------------------------------------------------------
(Optional: check or change your BIOS settings for Intel VT, disable hyper-v, ... as mentioned in other answers.)

1. download and extract the file to a folder
2. cmd -> sfc /SCANNOW
3. reboot
4. cmd -> Bcdedit -set TESTSIGNING ON
5. reboot

II. Installation-----------------------------------------------------
1. start install-android.exe in the folder of the extracted file and install
1.1 if you don't get an error the previous steps have handled the error - continue to III.
1.2 if you get an error DO NOT click OK when the error occurs
3. go to C:\Program Files\Intel\HAXM and copy all files, except *.tmp to a new folder
4. then continue/finish the setup (click OK and finish)
5. copy the files from the new folder to C:\Program Files\Intel\HAXM and delete *.tmp
6. go to C:\Program Files\Intel\HAXM, right-click on the inf-file and choose install
a window with driverinstallation should appear. install driver. it should says ok then..

hint: this is what made the difference for me!
Starting "HaxInst64.exe /i intelhaxm.inf 1" as well as with parameter 4 in the console did
not pop up the driverinstallation-window

III. Test------------------------------------------------------------
1. cmd -> sc query intelhaxm
it should show the service
2. reboot
3. cmd -> sc query intelhaxm
it should says service running..

IV. Reset------------------------------------------------------------
1. cmd -> Bcdedit -set TESTSIGNING OFF
2. reboot

sorry for my english :-)

Tom X.'s picture

1. Right click command prompt and run as administrator

2. type "sfc /SCANNOW". Reboot your laptop after it is completed.

3. After script failed ,go to C:\Program Files\Intel\HAXM. 

4. Right click command prompt and run as administrator

5. type "cd C:\Program Files\Intel\HAXM"

6. type "HaxInst64.exe /i intelhaxm.inf 1"

7. Then try to install the installation file again

Dee A.'s picture

For anyone landing on this page while trying to get HAXM to work on 64bit machines, the digital signature catalog file cat is named wrong in both installs android sdk or HAXM intel install. I fixed it by following these steps:

https://software.intel.com/en-us/forums/topic/537144

 

Hopefully that will help fix your problem

Bancroft, Joshua A (Intel)'s picture

Hi - I'm Josh, and I'm the community manager for Android on Intel Developer Zone. This post is almost a year old, and we have newer versions of HAXM that have been released since it was written.

If you're having trouble with HAXM, can you try the following:

Thanks!

Gael H. (Intel)'s picture

This question has moved to Stackoverflow.  Has anyone gotten this to work?

http://stackoverflow.com/questions/21000179/haxm-not-working/22107915#22107915

 

Kaju B.'s picture

Last step fails. There is no intelhaxm.ini file in the extracted folder.                                 

I have an i7 920 CPU @ 2.67 GHz I'm sure it is VT-x and XD compatible and it's enabled in BIOS. Major problem is that there is no intelhaxm.inf file in the extracted folder.

Pages

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.