Search code examples
virtualboxremote-accessremote-desktopbios

Oracle VirtualBox "VT-x is disabled in the BIOS"


I'm getting this error while loading an image from a Oracle virtual box. How can I fix it? I installed virtual box 4.3.12 via a remote desktop connection to a Windows 7 64-bit, 32G RAM computer.

enter image description here

I have checked the Intel Visualization Setting, it says yes to hardware visualization. enter image description here

I saw this questions up online looks like the same issue. But I am using remote desktop control so I would not be able to change the setting at the restart page. I will be automatically logged off when I restart the this computer.

VERR_VMX_MSR_VMXON_DISABLED when starting an image from Oracle virtual box


Solution

  • if the machine does not require VT-x to work, changing the machine settings can help:

    Try to change setting HardwareVirtEx in your virtual machine config file (.vbox).

    It's a CPU section/ Looks like this

    <Hardware version="2"> <CPU count="1" hotplug="false"> <HardwareVirtEx enabled="false"/> <HardwareVirtExNestedPaging enabled="true"/> <HardwareVirtExVPID enabled="true"/> <HardwareVirtExUX enabled="true"/> <PAE enabled="false"/> <HardwareVirtExLargePages enabled="true"/> <HardwareVirtForce enabled="false"/> </CPU>

    from: https://forums.virtualbox.org/viewtopic.php?f=6&t=58820

    this can also be set using VBoxManage using:

    VBoxManage.exe modifyvm <machine name> --hwvirtex off

    or by using the API:
    void setHWVirtExProperty(HWVirtExPropertyType property, boolean value)