Installing Windows 11 on VirtualBox is straightforward, but there are a few extra steps you need to take because of Windows 11’s system requirements (like TPM and Secure Boot). Here’s a step-by-step guide to help you:
✅ Requirements
- VirtualBox (latest version) – Download here
- Windows 11 ISO – Download from Microsoft
- At least 8 GB of RAM and at least 64 GB of free disk space
🛠 Step-by-Step Installation
1. Create a New Virtual Machine
- Open VirtualBox
- Click New
- Name: e.g., Windows 11
- Type: Microsoft Windows
- Version: Windows 11 (64-bit)
- Click Next
2. Allocate Memory
- Recommended: at least 4096 MB (4 GB) or more
3. Create Virtual Hard Disk
- Choose “Create a virtual hard disk now”
- VDI → Dynamically allocated → Size: at least 64 GB
- Click Create
4. Configure the VM
- Select the VM → Click Settings
- System > Motherboard:
- Uncheck Floppy
- Enable EFI (Optional, but useful)
- System > Processor:
- Set to at least 2 CPUs
- Enable PAE/NX
- Display > Screen:
- Video memory: 128 MB
- Storage:
- Click the empty disk under "Controller: IDE"
- Click the disk icon next to “Optical Drive” and select Choose a disk file
- Select your Windows 11 ISO
5. Enable TPM (optional but helpful)
- VirtualBox doesn’t officially support TPM 2.0, but you can bypass this requirement.
🛠 Option A: Modify Registry During Setup
- During Windows 11 installation:
- When you see “This PC can’t run Windows 11,” press Shift + F10
- In the command prompt, type regedit
- Navigate to:
#sql
HKEY_LOCAL_MACHINE\SYSTEM\Setup
Right-click “Setup” > New > Key → Name it: LabConfig
In LabConfig, create:
DWORD (32-bit) value: BypassTPMCheck = 1
DWORD (32-bit) value: BypassSecureBootCheck = 1
Close Registry Editor, type exit in CMD, and click “Back” then retry installation.
🖥 Step 6: Install Windows 11
- Boot the VM
- Proceed with Windows 11 installation normally
🧼 Optional Cleanup After Installation
- Remove ISO from optical drive (Settings > Storage)
- Install Guest Additions (for better performance):
- Devices > Insert Guest Additions CD image > Run installer inside VM
0 Comments