Intel Virtualization Technology and VT-X won’t work in Windows 8.1

virtualizationvt-x

I am trying to run an x86 Android Virtual Device using Intel Virtualization Technology and VT-X. These features are required for the emulator to run correctly. However, I can't seem to get it to work.

The very strange thing about this is that the OS always appears to contradict my BIOS settings. When both features are enabled in the BIOS, Windows thinks they are unavailable:

enter image description here

On the other hand, when they are both disabled in the BIOS, Windows thinks they are available. Unfortunately I still can't start the emulator despite the OS thinking the features are available, since they are effectively disabled in the BIOS. Under these circumstances, I get this error message when I try to launch the emulator:

Starting emulator for AVD 'x86_10-inch' 
emulator: device fd:1096
HAX is not working and emulator runs in emulation mode
emulator: VT feature is not enabled, HAXM not working.
creating window 0 0 845 528

Sometimes, after restarting what appears to be an infinite number of times, I randomly get it to work. I'm sort of at my wit's end, this problem makes working really inefficient. Any help would be really appreciated!

To clarify, pure emulation is not an option. The only way to achieve decent speed is to use HW virtualization. When everything randomly works correctly, I am able to launch the virtual device with HW virtualization and it works pretty well.

My specs:

Asus N56J,
Intel i7-4700HQ 2.4GHz,
Windows 8.1 Pro,
8GB RAM

Best Answer

For anyone who may still have this issue, I've successfully resolved it. The problem is caused by the fact that Intel Virtualization Technology and Hyper-V cannot run at the same time. There are several possible solutions, pick the one that best fits you:

  1. Completely disable Hyper-V in your system.

    This can be done either by opening Control Panel -> Programs and Features -> Turn Windows Features on or off and then deselecting Hyper-V in the list, or via the command prompt by using the command:

    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
    

    Note that this operation requires a command prompt with elevated privileges (i.e. admin mode). To re-enable Hyper-V, use the command:

    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
    
  2. Prevent Hyper-V from running on system startup

    This way may be more comfortable for those who occasionally need Hyper-V (e.g. for Windows Phone emulation). To prevent Hyper-V from starting automatically, use the command:

    bcdedit /set hypervisorlaunchtype off
    

    To re-enable automatic start, use the command:

    bcdedit /set hypervisorlaunchtype auto
    

    Again, this requires a command prompt window with elevated privileges.

    All of these commands require a reboot before they take effect.

Related Question