sodcalculator

10 Tech How-To

Install Windows 11 ISO on VirtualBox: Step-by-Step

Guide 10-32912 · Updated · Step by step

This guide walks you through installing a Windows 11 ISO on Oracle VirtualBox, turning your physical PC into a host for a virtual Windows 11 machine. You’ll create a new virtual machine, configure its settings to meet Windows 11’s requirements, attach the ISO, and complete the installation. Before starting, ensure you have the Windows 11 ISO file (downloaded from Microsoft’s official website) and VirtualBox installed (version 7.x recommended).

What You’ll Need

  • Oracle VirtualBox installed (latest stable version).
  • Windows 11 ISO file (64-bit, from Microsoft’s official download page).
  • At least 8 GB of free disk space (more is better for updates).
  • At least 4 GB of RAM available to allocate to the VM (8 GB recommended).
  • A CPU that supports virtualization (VT-x/AMD-V) – most modern CPUs do.
  • Optional: A product key if you plan to activate Windows 11.

Step-by-Step

  1. Open VirtualBox and click the New button in the toolbar (or press Ctrl+N).
  2. Name your VM – e.g., “Windows 11”. VirtualBox will auto-detect the type as “Microsoft Windows” and version as “Windows 11 (64-bit)”. If not, set them manually.
  3. Set memory size – allocate at least 4096 MB (4 GB). If your host has 16 GB or more, give 8 GB for smoother performance. Click Next.
  4. Create a virtual hard disk – choose “Create a virtual hard disk now”, then click Create.
  5. Choose hard disk type – select VDI (VirtualBox Disk Image) and click Next.
  6. Storage on physical disk – choose Dynamically allocated (grows as needed) and click Next.
  7. Set disk size – at least 64 GB (Windows 11 requires 64 GB minimum). You can go larger, e.g., 80 GB. Click Create.
  8. Select the VM and click Settings (gear icon).
  9. System > Processor – allocate at least 2 CPU cores (4 is better). Set “Extended Features” to enable both VT-x/AMD-V and Nested Paging if available.
  10. System > Motherboard – ensure “Enable EFI (special OSes only)” is checked. Windows 11 requires UEFI.
  11. Storage – click on the empty optical drive (or the CD icon) under Storage Devices. In the Attributes panel, click the disk icon next to Optical Drive and select Choose a disk file…. Browse to your Windows 11 ISO and select it.
  12. Network – keep default NAT (good for internet access). If you need network between VM and host, switch to Bridged Adapter.
  13. USB – if you need USB passthrough, enable USB 3.0 (xHCI) controller under USB.
  14. Click OK to save settings.
  15. Start the VM – click Start (green arrow). The VM will boot from the ISO.
  16. Windows Setup – choose your language, time, and keyboard, then click Next.
  17. Click Install now.
  18. If prompted for a product key, enter it or click I don’t have a product key (you can activate later).
  19. Select the edition (e.g., Windows 11 Pro) and click Next.
  20. Accept the license terms and click Next.
  21. Choose Custom: Install Windows only (advanced).
  22. Select the unallocated space (the virtual disk) and click Next. Windows will start copying files and restart automatically.
  23. After restart, the VM may boot back to the ISO. If so, press any key to boot from the hard disk (or remove the ISO from the virtual drive later).
  24. Complete the out-of-box experience (OOBE): choose region, keyboard layout, sign in with a Microsoft account (or create a local account if you skip), and set a PIN.
  25. Once at the desktop, install VirtualBox Guest Additions – click Devices menu in the VM window, then Insert Guest Additions CD image…. Run the installer inside the VM and restart when done. This improves display resolution, clipboard sharing, and drag-and-drop.
  26. After restart, you’re done. Windows 11 is running in VirtualBox.

Common Mistakes

  • Not enabling EFI – Windows 11 will fail with “This PC can’t run Windows 11” if UEFI is off. Ensure “Enable EFI” is checked in System > Motherboard.
  • Too little RAM – 2 GB is not enough; Windows 11 will be extremely slow or fail to install. Use at least 4 GB.
  • Not enough disk space – Windows 11 requires 64 GB minimum. If you set less, installation may fail or the system may run out of space.
  • Ignoring TPM requirement – Windows 11 normally requires TPM 2.0. VirtualBox 7.x includes a virtual TPM, but it’s not enabled by default. If you get a TPM error, go to Settings > System > Motherboard and check “Enable TPM” (or “Trusted Platform Module”).
  • Booting from the ISO after restart – If the VM keeps booting to the setup screen, you need to remove the ISO from the virtual drive or press a key to boot from the hard disk. In Settings > Storage, select the optical drive and choose “Remove disk from virtual drive”.
  • Forgetting Guest Additions – Without Guest Additions, the screen stays at 800×600 and features like shared clipboard won’t work.

Tips

  • Use a fixed-size virtual disk for slightly better performance, but it takes up the full size immediately.
  • Enable 3D acceleration in Settings > Display for smoother graphics (requires Guest Additions).
  • Take a snapshot after installation – it lets you roll back to a clean state if something goes wrong.
  • Allocate CPU cores based on your host’s core count. For a quad-core host, give 2 cores to the VM.
  • If you plan to use USB devices, enable USB 3.0 controller and install the Extension Pack from VirtualBox’s website.
  • Keep the Windows 11 ISO file on a fast SSD to speed up installation.

Troubleshooting

  • “This PC can’t run Windows 11” error – This usually means TPM or Secure Boot is missing. In VirtualBox Settings > System > Motherboard, enable “Enable TPM” and set it to version 2.0. Also ensure “Enable EFI” is checked. For Secure Boot, you may need to enable it in the same menu (if available).
  • VM won’t start or shows a black screen – Try increasing video memory to 128 MB in Settings > Display. Also ensure virtualization is enabled in your host’s BIOS (Intel VT-x or AMD-V).
  • Installation freezes or is very slow – Close other heavy applications on the host. Allocate more RAM and CPU cores if possible. Also check that the host has enough free disk space.
  • No internet in the VM – With NAT, internet usually works. If not, try changing the network adapter to “Bridged Adapter” or “Host-Only” and back to NAT.
  • Mouse gets captured and won’t release – Press the right Ctrl key to release the mouse. After installing Guest Additions, this becomes seamless.
  • Windows activation fails – The VM has a different hardware ID. If you have a retail key, it may still activate. If not, you can use a digital license linked to your Microsoft account.

Frequently Asked Questions

Can I install Windows 11 on VirtualBox without TPM?

VirtualBox 7.x includes a virtual TPM. Enable it in Settings > System > Motherboard. If your VirtualBox version lacks it, you can bypass the TPM check by using a modified ISO or registry tweaks, but that’s not recommended for security reasons.

How much RAM should I give the Windows 11 VM?

At least 4 GB is required, but 8 GB is recommended for smooth performance, especially if you run multiple apps. Ensure your host has enough RAM to spare.

Can I use the same Windows 11 ISO for a physical PC?

Yes, the ISO is universal. You can use it to create a bootable USB for a physical machine as well.

Do I need a product key to install Windows 11 in VirtualBox?

No, you can skip entering a key during installation. Windows will run unactivated, but you can activate later with a valid key.

Why is my screen resolution stuck at 800×600?

Install VirtualBox Guest Additions. After installation and a restart, the display should support higher resolutions and automatic resizing.

Can I run Windows 11 on a Mac with VirtualBox?

Yes, VirtualBox works on macOS. However, Apple Silicon Macs (M1/M2) have limited support; you may need to use a different virtualization tool or an ARM version of Windows.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →