(Fix) VT-x is disabled in the BIOS for both all CPU modes
While installing VirtualBox and trying to create a vm for the first time, many users face the problem
VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
There are two ways to fix this.
Fixing VT-x is disabled in the BIOS for
Easiest way to solve this problem is to disable PAE/NX in the VM Settings.
To do that, go to VM Settings -> System -> Processor and disable PAE/NX and set number of CPU to 1. After that start the vm again and you should not get this error.
Another way to fix this error is to actually go to your BIOS and enable VT-x support. VT-x is the hardware acclearation support in today's processor that makes the VMs faster. Sometimes you may see the warning - 'VT-x/AMD-v hardware accleration is not available on your system". To make this change, you will need to go to BIOS or UEFI. There you will see options under the title of Intel VT-x or Intel Virtualization Technology or Virtualization Extensions. Enable that option and reboot your computer and you should be all set