Docker + Virtual Box = VT-x is not available (VERR_VMX_NO_VMX)

DrDamnit picture DrDamnit · Dec 13, 2016 · Viewed 15.2k times · Source

I installed docker. During installation, it complained that you can't have two virtualization environments, and that it would make docker the primary one. I said: "OK."

Now, I need to go back to enabling virtualbox. I uninstalled Docker, hoping it would put things back the way they were, but: no joy.

How do I re-enable virtualization for VirtualBox now that docker is gone?

Note: Virtualization bit is set / enabled on the chip.

OS: Win10 Enterprise.

Answer

DrDamnit picture DrDamnit · Dec 21, 2016

Virtualbox will get upset and not run if Microsoft Hyper-V is enabled.

Here's the solution:

  1. Open command prompt as administrator
    • search for 'command'
    • right-click then select 'run as administrator'
  2. paste the following command:

    dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
    
  3. Then reboot.