Windows

How to Install Windows 11 on VirtualBox

Richard
Written by
Richard
Feb 21, 2022 Updated Apr 15, 2026 2 min read
How to Install Windows 11 on VirtualBox

This guide explains how to install Windows 11 on a virtual computer using VirtualBox.

VirtualBox is free software that lets you run a “virtual” computer inside your regular computer. This is useful for testing new software or trying out a new operating system without changing your main PC.

Why do this? Windows 11 has strict security requirements. VirtualBox sometimes struggles to meet these, so we have to manually bypass them.

What happens when done? You will have a fully functional Windows 11 environment running inside a window on your desktop.

Setting Up Your Virtual Machine

Before you begin, ensure you have VirtualBox installed. If not, follow this guide: How to install VirtualBox on Windows 11. Next, create a new virtual machine by following these instructions: How to create a Windows 11 virtual machine.

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

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

Setting processor count to two for Windows 11 VirtualBox installation

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

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

Configuring display settings and video memory for Windows 11 VirtualBox

Installing Windows 11

Go to Settings > Storage. Click on the empty disc icon and use the browse button to select your Windows 11 ISO file.

Windows 11 installation screen running inside a VirtualBox virtual machine

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

Selecting the Windows 11 ISO file in VirtualBox storage settings
Clicking the start button to boot Windows 11 in VirtualBox


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

Initial Windows 11 setup screen during VirtualBox installation process

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

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

regedit

Opening Registry Editor to bypass Windows 11 installation requirements

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

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

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

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
Selecting Windows 11 Pro edition for virtual machine installation
Accepting the Windows 11 license agreement during virtual machine setup
Choosing custom installation for Windows 11 on a virtual drive
Selecting the virtual hard drive for Windows 11 installation
Configuring region and location settings for Windows 11 virtual machine
Selecting keyboard layout settings during Windows 11 virtual installation
Naming the virtual computer during Windows 11 setup process
Choosing personal use setup for Windows 11 virtual machine
Configuring offline account settings for Windows 11 virtual machine
Setting up a user account and password for Windows 11











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

Summary

To run Windows 11 on VirtualBox, you must configure the virtual machine with at least 4 GB of RAM, 2 processors, and 64 GB of storage. Because Windows 11 has specific security requirements, you must use the Registry Editor (regedit) to create three specific keys—BypassTPMCheck, BypassRAMCheck, and BypassSecureBootCheck—inside HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig. Once these are set, the installation will proceed normally, allowing you to use Windows 11 for testing and development.

Was this guide helpful?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights 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.

2458 articles → Twitter

📚 Related Tutorials

How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Get Windows 11 ISO Files
Windows How to Get Windows 11 ISO Files
How to Open Command Prompt at Boot in Windows 11
Windows How to Open Command Prompt at Boot in Windows 11
What are the Minimum System Requirements for Windows 11
Windows What are the Minimum System Requirements for Windows 11

Leave a Reply

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