4 tips to enable Nested Virtualization like a PRO

Enable Nested Virtualization in VirtualBox for Windows 10 or Windows 11

Virtualbox Nested Virtualization


Table of Contents:

  1. Problem Description
  2. Solution
  3. Steps for BIOS
  4. Turn Nested Virtualization On



Nested virtualization is used to enable, use or create virtual machines within virtual machines, consider Virtualbox is running CentOS virtual machine and within that virtual machine someone wants to create another virtual machine of Windows.

VirtualBox out of the box doesn’t not enable Nested Virtualization, this need to be enabled and have the following procedure.



Below is the step-by-step procedure to turn Hyper-V ON/OFF:

  1.  Open CMD as administrator
  2.  Turning hyper-v OFF with and a reboot:
    bcdedit /set hypervisorlaunchtype off
  3. To TURN it back ON (or auto start) and reboot:
    bcdedit /set hypervisorlaunchtype


Steps for BIOS:

  1. Enable Intel Virtualization Technology
  2. Enable VT-d


Turn Nested Virtualization On

  1. Open Command Prompt with Administrator privileges
  2. cd C:\Program Files\Oracle\VirtualBox
  3. VBoxManage modifyvm "OSNAME" --nested-hw-virt on

Change OSNAME with your virtual machine name.







Virtualbox, Nested Virtualization, Windows 10, Windows 11, Enable, Hardware Virtualization, Hyper-V