How to Install Windows 11 on VirtualBox
Installing Windows 11 on VirtualBox lets you run the operating system inside a safe window on your current PC for free. VirtualBox is a free program that creates a software-based computer, so you can test new software without touching your main system files.
The main challenge is bypassing strict system checks like TPM 2.0 and Secure Boot that Microsoft requires for Windows 11. You can easily get around these rules by tweaking a few settings in the Registry Editor during setup so the installer lets you finish.
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
Setting up your virtual machine is the first step to install Windows 11 VirtualBox. Giving your virtual computer enough power, especially RAM (Random Access Memory), is crucial. Open VirtualBox and navigate to Settings System. Under the Motherboard tab, set the RAM to at least 4096 MB (4 GB) so Windows 11 runs smoothly.

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

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

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

Installing 🪟 Windows 11
Installing Windows 11 on VirtualBox involves loading its setup files from an ISO image. This is done by going to your virtual machine's storage settings and selecting the Windows 11 ISO file you downloaded. Once the ISO is attached, click OK. Then, press the Start button to begin the Windows 11 installation process.

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


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.

On the "Install Now" screen, press SHIFT + F10 on your keyboard. This opens a command prompt window, which requires administrator privileges.

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

In the window that opens, navigate to this path:
HKEY_LOCAL_MACHINE\SYSTEM\Setup
Right-click the Setup folder, select New > Key, and name it LabConfig.

BypassTPMCheckBypassRAMCheckBypassSecureBootCheck

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.











Once the setup steps are complete, your virtual computer will restart. You can now log in to your new Windows 11 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. Be prepared to use the Registry Editor to bypass security checks like TPM and Secure Boot.
Is VirtualBox safe for 🪟 Windows 11?
Running Windows 11 in VirtualBox is entirely possible with some configuration adjustments. Setting it up takes patience, but anyone who enjoys tinkering with operating systems will find the process rewarding.
Was this guide helpful?
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.
No comments yet — be the first to share your thoughts!