Skip to content
Follow
Windows

How to Install Windows 11 on VirtualBox

Richard
Written by
Richard
Feb 21, 2022 Updated Jun 20, 2026 3 min read
How to Install Windows 11 on VirtualBox
How to Install Windows 11 on VirtualBox

You install Windows 11 on VirtualBox by creating a virtual machine and then manually bypassing its strict hardware requirements, such as TPM 2.0. VirtualBox is free virtualization software that allows you to run an operating system, like Windows 11, within your existing Windows or PC environment.

This method creates a sandboxed computer inside your computer, ideal for testing software or exploring new OS features without affecting your main system. You’ll prepare a new virtual machine within VirtualBox and then proceed with a standard Windows 11 setup.

The key step involves modifying the installation process to bypass the mandatory TPM 2.0 check, which is often not automatically satisfied by VirtualBox. Once you’ve successfully navigated these checks, you’ll have a working Windows 11 environment running in a window on your desktop.

⚡ Quick Answer

Install Windows 11 on VirtualBox by creating a new virtual machine with sufficient RAM, CPU, and storage. During installation, press Shift+F10 to open a command prompt, run regedit, and create specific registry keys to bypass TPM, RAM, and Secure Boot checks. Then, proceed with the Windows 11 setup.

Setting Up Your Virtual Machine

To install Windows 11 on VirtualBox, you first need to set up your virtual machine’s system settings, making sure it has enough RAM and processing power for Windows 11. Open VirtualBox, go to Settings, then System, and under Motherboard, set the RAM to at least 4096 MB (4 GB).

Open VirtualBox and go to Settings > System. Under the Motherboard tab, set the RAM to at least 4096 MB (4 GB).

Configuring system memory settings for Windows 11 VirtualBox virtual machine
windows 11 virtualbox system memory

Under the Processor tab, ensure you have selected at least 2 CPUs.

Setting processor count to two for Windows 11 VirtualBox installation
windows 11 virtualbox system processor

Go to the Storage tab and ensure your virtual hard drive is at least 64 GB.

Allocating 64 GB of storage for Windows 11 virtual machine
windows 11 virtualbox storage size

In the Display window, set Video Memory to 256 MB. For the Graphics Controller, choose VBoxSVGA and then check the box for 3D Acceleration.

Configuring display settings and video memory for Windows 11 VirtualBox
windows 11 virtualbox display settings window

Installing 🪟 Windows 11

Now that your virtual machine is ready, installing Windows 11 on VirtualBox means loading the operating system’s setup files using your Windows 11 ISO. You do this by going to the virtual machine’s storage settings and selecting your ISO file before you start the machine. Once selected, click OK, then Start.

Windows 11 installation screen running inside a VirtualBox virtual machine
windows 11 install on virtualbox

Once selected, click OK. Now, click the Start button to boot your virtual machine.

Selecting the Windows 11 ISO file in VirtualBox storage settings
windows 11 install virtualbox iso file
Clicking the start button to boot Windows 11 in VirtualBox
windows 11 install on virtualbox start


When the machine starts, press any key if prompted. Choose your language and time settings, then click Next. This includes your language, time and currency format, and keyboard input method.

Initial Windows 11 setup screen during VirtualBox installation process
windows 11 install on virtualbox setup

On the “Install Now” screen, press Shift+F10 on your keyboard. This opens a command prompt window. (Requires Admin Privileges)

Windows 11 installation progress window within a VirtualBox environment
windows 11 install on virtualbox install

Type the following command into the black box and press Enter:

regedit

Opening Registry Editor to bypass Windows 11 installation requirements
windows 11 setup regedit

In the window that opens, go to this path:

HKEY_LOCAL_MACHINE\SYSTEM\Setup

Right-click the Setup folder, select New > Key, and name it LabConfig.

Creating a new registry key to bypass Windows 11 checks
windows 11 setup new key

Now, right-click the LabConfig folder. Select New > DWORD (32-bit) Value. Create these three items, one by one. For each, set the ‘Value data’ to 1:

  • BypassTPMCheck
  • BypassRAMCheck
  • BypassSecureBootCheck
Registry settings configured to bypass Windows 11 hardware security requirements
windows 11 bypasschecks

Close the Registry Editor and the command prompt. Click Install now to continue. If asked for a product key, enter one or click the link to skip it. country or region, keyboard layout or input method, name of your computer, Microsoft online account.

Entering Windows 11 product key during the virtual machine installation
windows 11 install on virtualbox enter key
Selecting Windows 11 Pro edition for virtual machine installation
windows 11 install on virtualbox select pro
Accepting the Windows 11 license agreement during virtual machine setup
windows 11 install on virtualbox accept eula
Choosing custom installation for Windows 11 on a virtual drive
windows 11 install on virtualbox custom install
Selecting the virtual hard drive for Windows 11 installation
windows 11 install on virtualbox drive install
Configuring region and location settings for Windows 11 virtual machine
windows 11 install on virtualbox location
Selecting keyboard layout settings during Windows 11 virtual installation
windows 11 install on virtualbox keyboard
Naming the virtual computer during Windows 11 setup process
windows 11 install on virtualbox pc name
Choosing personal use setup for Windows 11 virtual machine
windows 11 install on virtualbox personal use
Configuring offline account settings for Windows 11 virtual machine
windows 11 install on virtualbox offline use
Setting up a user account and password for Windows 11
windows 11 install on virtualbox user password











Once you finish the setup steps, your virtual computer will restart. You can now log in to your new Windows 11 desktop.

Windows 11 desktop successfully running inside a VirtualBox window
windows 11 install on virtualbox desktop

Summary

To successfully install and run Windows 11 on VirtualBox, ensure your virtual machine has at least 4 GB of RAM, 2 processors, and 64 GB of storage, and be prepared to use the Registry Editor to bypass security checks like TPM and Secure Boot.

Is VirtualBox safe for 🪟 Windows 11?

Yes, you can definitely run Windows 11 in VirtualBox, with some tweaking and adjustments. It's a bit of a journey, but if you enjoy tinkering and experimenting with operating systems, you'll find it a joy.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

Registry Editor in Windows 11: How to Quickly Switch between HKCU and HKLM Keys
Windows Registry Editor in Windows 11: How to Quickly Switch between HKCU and HKLM Keys
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Access Settings in Windows 11
Windows How to Access Settings in Windows 11
How to Restart Start Menu Process in Windows 11
Windows How to Restart Start Menu Process in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *