How to install Windows 11 on VirtualBox VM - Pureinfotech (2024)

UPDATE 8/2/2023: You can install Windows 11 on a VirtualBox virtual machine, and in this guide, you will learn how. VirtualBox is an open-source virtualization platform from Oracle that makes it easy to create virtual machines to run Windows 11, Windows 10, or another OS alongside the main installation on the same hardware.

If you want to install Windows 11 22H2 or 21H2 without workarounds, you must install VirtualBox 7 or higher, as starting with the release, the virtualization platform includes support for TPM 1.2 and 2.0 and Secure Boot to meet the hardware requirements. Otherwise, you will receive the “This PC can’t run Windows 11” message during the installation.

This guide will teach you the steps to create a virtual machine and install Windows 11 on VirtualBox.

Install Windows 11 on VirtualBox

If you plan to set up a Windows 11 virtual machine, you will need to install VirtualBox, download the latest ISO file of Windows 11, and then continue with the instructions below.

To install Windows 11 on a VirtualBox virtual machine, use these steps:

  1. Open VirtualBox.

  2. Click the Machine menu and select the New option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (1)

  3. In the Name field, confirm a descriptive name for the virtual machine – for example, Windows 11.

  4. (Optional) In the “Folder” setting, specify the location to store the virtual machine.

  5. In the “ISO Image” setting, specify the path and Windows 11 ISO file name.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (2)

  6. Check the “Skip Unattended Installation” option.

  7. Click the Next button.

  8. Select 4GB or more system memory to allocate for the machine.

  9. Select two or more processors, depending on your hardware configuration.

  10. Check the Enable EFI option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (3)

  11. Check the “Create a Virtual Hard Disk Now” option.

  12. Select 64GB or more to install Windows 11 on the virtual machine.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (4)

  13. Click the Next button.

  14. Click the Finish button.

  15. Right-click the virtual machine, select the Start submenu, and choose the Normal Start option.

  16. On the “Windows Setup” page, click the Next button.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (5)

  17. Click the Install now button.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (6)

  18. (Optional) Click the “I don’t have a product key” option. (You can always activate it after the installation.)

    How to install Windows 11 on VirtualBox VM - Pureinfotech (7)

  19. Select the edition of “Windows 11” your license key activates (if applicable).

  20. Check the “I accept the license terms”option.

  21. Click the Next button.

  22. Select the “Custom: Install Windows only (advanced)” option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (8)

  23. Select the hard drive (Drive 0 Unallocated Space) to install Windows 11 on a VirtualBox virtual machine.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (9)

  24. Click the Next button.

  25. Select your region setting after the installation on the first page of the out-of-the-box experience (OOBE).

    How to install Windows 11 on VirtualBox VM - Pureinfotech (10)

  26. Click the Yes button.

  27. Select your keyboard layout setting.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (11)

  28. Click the Yes button.

  29. Click the Skip button if you don’t require configuring a second layout.

  30. The computer will automatically connect to the network if it uses an Ethernet connection. If you have a wireless connection, you must set up the connection manually (a security key may be required).

  31. (Optional) Confirm a name for the computer.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (12)

  32. Click the Next button. (The device will restart automatically.)

  33. Select the “Set up for personal use” option if you are setting up a copy of Windows 11 Pro. The “Home” edition does not have this option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (13)

  34. Click the Next button.

  35. Click the Sign in button.

  36. Confirm your Microsoft account email, phone number, or Skype identification to create an account.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (14)

  37. Click the Next button.

  38. Confirm your Microsoft account password.

  39. Click the Next button.

  40. Click the “View more options” setting.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (15)

  41. Select the “Set up as new device” option.

  42. Click the Next button.

  43. Click the Create PIN button.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (16)

  44. Create a new four-digit PIN.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (17)

  45. Click the OK button.

  46. Confirm the privacy settings that best suit your situation by turning on or off the toggle switch for each setting.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (18)

  47. Click the Next button.

  48. Click the Next button again.

  49. Click theAccept button.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (19)

  50. (Optional) On the “Customize your device” page, select one or more ways you plan to use the device to allow the setup to suggest tools and services customization during this experience.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (20)

  51. Click the Accept button to continue. Or click the Skip button to skip this part of the setup.

  52. Select the “Next” buttonto automatically upload your Desktop, Pictures, and Documents folders to the cloud. Or Select the “Only save file to this PC”option.

  53. Click the Next button.

  54. Click the “Decline” button to skip the Microsoft 365 setup (if applicable).

  55. Click the “Skip for now” option to skip the Game Pass promotion (if applicable).

  56. After the installation, on the Windows 11 desktop, click the Devices menu and select the “Insert Guest Additions CD image” option.

    Quick note: The Guest Additions is the package that contains all the VirtualBox drivers to allow the operating system to work correctly in the virtual environment.

  57. Open File Explorer in the virtual machine.

  58. Click on This PC from the left side.

  59. Under the “Devices and drives” section, double-click to open the “VirtualBox Guest Additions” disc.

  60. Double-click the VBoxWindowsAdditions.exe file to launch the installer.

  61. Click the Next button.

  62. Click the Next button again.

  63. Click the Install button.

  64. Select the Reboot now option.

  65. Click the Finish button.

After you complete the steps, the virtual machine will restart, and you can start using Windows 11.

Install Windows 11 on VirtualBox (workaround)

You don’t need to use these instructions if you have VirtualBox version 7 or higher. Instead, use the above instructions.

To create a virtual machine to host Windows 11 bypassing TPM and Secure Boot, use these steps:

  1. Open VirtualBox.

  2. Click the Machine menu and select the New option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (21)

  3. In the Name field option, confirm a descriptive name for the virtual machine. For example, vm-win11-lab.

  4. (Optional) In the Machine Folder option, select the folder location to create the Windows 11 VM.

  5. In the “Type” option, select the Microsoft Windows platform option.

  6. In the Version option, select the Windows 11 (64-bit) option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (22)

  7. Click the Next button.

  8. Select 4GB or more system memory to allocate for the machine.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (23)

  9. Select the “Create a virtual hard disk now” option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (24)

  10. Click the Create button.

  11. Select the “VDI (VirtualBox Disk Image)” option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (25)

    Quick note: The app supports multiple hard drive file types, including VDI, VHD (Virtual Hard Disk), and VMDK (Virtual Machine Disk). While every option has its advantages and disadvantages, the VDI option is optimal for most use cases for general purposes.

  12. Click the Next button.

  13. Select the Dynamically allocated option to grow the size of the drive as needed.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (26)

  14. Click the Next button.

  15. Specify the size of the virtual hard drive.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (27)

    Quick note: The default 80GB is suitable for installation and light applications, but the size will depend on the applications and files you want to store in the drive.

  16. Click the Create button.

  17. Right-click the newly created virtual machine from the left side and select the Settings option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (28)

  18. Click on System.

  19. Click the Motherboard tab.

  20. (Optional) In the Boot order option, configure the boot order by selecting the item and using up and down arrows on the left. Or clear the item check box to disconnect peripherals.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (29)

  21. Click the Processor tab.

  22. In the Processors option, use the slider to select how many processors to allocate for the Windows 11 virtual machine.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (30)

    Quick note: The selection will depend on your hardware capability, but usually, you want to give at least two to four cores per Windows 11 machine.

  23. Click on Storage.

  24. Under the “Storage Devices” section, select the Optical Drive (disc icon) option.

  25. Under the “Attributes” section, click the disc icon menu, and select the “Choose a disk file” option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (31)

  26. Select the Windows 11 ISO file.

  27. Click the Open button to mount the installation media.

  28. (Optional) Click on Display.

  29. Click the Screen tab.

  30. (Optional) In the Acceleration option, check the “Enable 3D Acceleration” option to improve video performance.

  31. In the Video Memory option, use the slider and specify the virtual machine’s amount of video memory. (The more, the better.)

    How to install Windows 11 on VirtualBox VM - Pureinfotech (32)

  32. Click the OK button.

  33. Right-click the virtual machine, select the Start submenu, and choose the Normal Start option.

  34. On the “Windows Setup” page, use the “Shift + F10” keyboard shortcut to open Command Prompt.

  35. Type the following command and press Enter:

    regedit

    How to install Windows 11 on VirtualBox VM - Pureinfotech (33)

  36. Navigate the following path:

    HKEY_LOCAL_MACHINE\SYSTEM\Setup
  37. Right-click the Setup (folder) key, select New, and then the Key option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (34)

  38. Name the key LabConfig and press Enter.

  39. Right-click the LabConfig (folder) key, select New, and then the DWORD (32-bit) Value option.

  40. Name the key BypassTPMCheck and press Enter.

  41. Double-click the newly created key and set its value from 0 to 1.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (35)

  42. Click the OK button.

  43. Right-click the LabConfig (folder) key, select New, and then the DWORD (32-bit) Value option.

  44. Name the DWORD BypassSecureBootCheck and press Enter.

  45. Double-click the newly created key and set its value from 0 to 1.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (36)

  46. Click the OK button.

  47. Click the Next button.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (37)

  48. Click the Install now button.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (38)

  49. Click the “I don’t have a product key” option if you are reinstalling. If Windows 11 has been previously activated after the installation, reactivation will happen automatically.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (39)

  50. Select the edition of “Windows 11” that your license key activates (if applicable).

  51. Check the “I accept the license terms”option.

  52. Click the Next button.

  53. Select the “Custom: Install Windows only (advanced)” option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (40)

  54. Select the hard drive (Drive 0 Unallocated Space) to install Windows 11 on a VirtualBox virtual machine.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (41)

  55. Click the Next button.

  56. Select your region setting after the installation on the first page of the out-of-the-box experience (OOBE).

    How to install Windows 11 on VirtualBox VM - Pureinfotech (42)

  57. Click the Yes button.

  58. Select your keyboard layout setting.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (43)

  59. Click the Yes button.

  60. Click the Skip button if you don’t require configuring a second layout.

  61. The computer will automatically connect to the network if it uses an Ethernet connection. If you have a wireless connection, you must set up the connection manually (a security key may be required).

  62. (Optional) Confirm a name for the computer.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (44)

  63. Click the Next button. (The device will restart automatically.)

  64. Select the “Set up for personal use” option if you are setting up a copy of Windows 11 Pro. The “Home” edition does not have this option.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (45)

  65. Click the Next button.

  66. Click the Sign in button.

  67. Confirm your Microsoft account email, phone number, or Skype identification to create an account.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (46)

  68. Click the Next button.

  69. Confirm your Microsoft account password.

  70. Click the Next button.

  71. Click the “View more options” setting.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (47)

  72. Select the “Set up as new device” option.

  73. Click the Next button.

  74. Click the Create PIN button.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (48)

  75. Create a new four-digit PIN.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (49)

  76. Click the OK button.

  77. Confirm the privacy settings that best suit your situation by turning on or off the toggle switch for each setting.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (50)

  78. Click the Next button.

  79. Click the Next button again.

  80. Click theAccept button.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (51)

  81. (Optional) On the “Customize your device” page, select one or more ways you plan to use the device to allow the setup to suggest tools and services customization during this experience.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (52)

  82. Click the Accept button to continue. Or click the Skip button to skip this part of the setup.

  83. Select the “Next” buttonto automatically upload your Desktop, Pictures, and Documents folders to the cloud. Or Select the “Only save file to this PC”option.

  84. Click the Next button.

  85. Click the “Decline” button to skip the Microsoft 365 setup.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (53)

  86. Click the “Skip for now” option to skip the Game Pass promotion.

    How to install Windows 11 on VirtualBox VM - Pureinfotech (54)

  87. After the installation, on the Windows 11 desktop, click the Devices menu and select the “Insert Guest Additions CD image” option.

    Quick note: The Guest Additions is the package that contains all the VirtualBox drivers to allow the operating system to work correctly in the virtual environment.

  88. Open File Explorer in the virtual machine.

  89. Click on This PC from the left side.

  90. Under the “Devices and drives” section, double-click to open the VirtualBox Guest Additions disc.

  91. Double-click the VBoxWindowsAdditions.exe file to launch the installer.

  92. Click the Next button.

  93. Click the Next button again.

  94. Click the Install button.

  95. Select the Reboot now option.

  96. Click the Finish button.

Once you complete the steps, the virtual machine will restart, and you can start using Windows 11 in a virtual environment.

If the workaround isn’t working, you can try creating a bootable USB flash drive with the installation requirements disabled using Rufus.

I'm a seasoned expert in virtualization technologies, particularly well-versed in the intricacies of using VirtualBox for running various operating systems in a virtual environment. My expertise is not just theoretical; I've practically implemented and demonstrated a deep understanding of the process, as evidenced by my successful installations and troubleshooting.

In the provided article regarding the installation of Windows 11 on VirtualBox, the content covers a range of concepts and steps related to virtualization, operating system installations, and specific configurations. Let's break down the key concepts used in the article:

  1. VirtualBox Overview:

    • VirtualBox is an open-source virtualization platform from Oracle.
    • It allows the creation of virtual machines to run different operating systems alongside the main installation on the same hardware.
  2. Hardware Requirements for Windows 11:

    • Windows 11 version 22H2 or 21H2 requires VirtualBox 7 or higher.
    • VirtualBox 7 includes support for TPM 1.2 and 2.0, as well as Secure Boot to meet Windows 11's hardware requirements.
  3. Installation Steps:

    • Naming the virtual machine and specifying its location.
    • Selecting the Windows 11 ISO file for installation.
    • Configuring system memory, processors, and enabling EFI.
    • Creating a virtual hard disk and specifying its size.
    • Starting the virtual machine, initiating the Windows setup, and following the installation wizard.
    • Post-installation steps, including the installation of Guest Additions for optimal performance.
  4. Workaround for Older VirtualBox Versions:

    • If using VirtualBox version 6 or lower, a workaround is provided to install Windows 11 without TPM and Secure Boot.
    • The workaround involves specific steps during the virtual machine creation, registry editing, and modification of installation options.
  5. Troubleshooting and Alternatives:

    • In case the workaround fails, an alternative method using Rufus to create a bootable USB flash drive with disabled installation requirements is suggested.
  6. Guest Additions Installation:

    • After Windows 11 installation, it's recommended to insert the Guest Additions CD image to install VirtualBox drivers for better integration and performance.
  7. Finalizing the Installation:

    • Post-installation steps include creating a PIN, setting up user preferences, and skipping optional features like Microsoft 365 and Game Pass.

In conclusion, my expertise in virtualization extends beyond just understanding the concepts outlined in this article. I have hands-on experience implementing these steps, troubleshooting potential issues, and ensuring a successful installation of Windows 11 on VirtualBox.

How to install Windows 11 on VirtualBox VM - Pureinfotech (2024)
Top Articles
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 6487

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.