Last updated on February 14th, 2022 at 07:03 am
Introduction
VirtualBox allows you to install Windows 11 on a virtual machine relatively quickly without any potential post-installation problems. Follow the steps with me in this tutorial.
Step 1. Download Windows 11 iso
Go to the Windows Insider Preview download page and login.
You need to be a member of the Windows Insider program to download the iso. You can check how to become a member on the Microsoft website.
![Log in to Windows Insider Program](https://nixspace.io/wp-content/uploads/2021/08/Screenshot-from-2021-08-31-14-09-21-e1630392421961-1024x907.png)
After that scroll down until you see the Select Edition heading.
![Select edition and language](https://nixspace.io/wp-content/uploads/2021/08/Screenshot-from-2021-08-31-14-09-44-e1630392748586-1024x850.png)
Select Windows edition and press Confirm. I recommend selecting Windows 11 Insider Preview (Beta Channel). Then select language.
![Press confirm and download Windows 11 image](https://nixspace.io/wp-content/uploads/2021/08/Screenshot-from-2021-08-31-14-10-26-e1630392932285-1024x804.png)
Step 2. Create VM in VirtualBox
Install VirtualBox if you don’t have it, launch it and select New.
![VirtualBox Manager Window](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-10-21-19-1024x608.png)
Choose a name for the virtual machine, and select Microsoft Windows > Windows 10 (64 bit).
![Choose virtual machine name and operating system](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-10-29-14.png)
Then select the amount of RAM that you want to allocate to the virtual machine. The maximum number depends on your hardware, but I recommend at least 6GB for a Windows 11 machine.
![Virtual machine memory size](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-11-29-04.png)
After that you will need to create a virtual hard drive for your machine. The default choice works in most cases, so, unless you need something specific, just click Create, then choose VDI (VirtualBox Disk Image).
![Create a virtual hard disk](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-11-33-54.png)
![VirtualBox hard disk file type](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-11-38-24.png)
After you click Next you will need to choose how the virtual disk file will be stored on your computer. A Dynamically allocated hard disk file is more convenient, since it expands as it fills up, while a Fixed size virtual hard disk is faster, but allocates the whole size when you create it.
![Virtual hard drive file storage on physical hard disk](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-11-58-51.png)
The only thing left to do is to select virtual hard drive size and location. Unless you plan to install some software on Windows 11, 50GB should be enough.
![Virtual hard disk file size and location](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-12-09-10.png)
Step 3. Select system configuration and boot from iso
Select your newly created virtual machine and choose Settings.
![VirtualBox Manager Window](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-12-14-46-1024x608.png)
Select System, then click on Processor tab. Adjust the number of virtual CPUs that the machine is allowed to use. In general, the more the better.
![Number of virtual CPUs in VirtualBox](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-12-15-35.png)
Then in the Display category adjust the amount of video memory that the machine can use.
![VirtualBox video memory settings](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-12-15-52.png)
After that go to the Storage category and click on the Empty optical drive. Click on the optical drive icon on the right, then click on Choose a disk file and select the Windows 11 image that you downloaded earlier, and click OK.
![Virtual machine storage settings](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-12-19-30-1024x551.png)
Step 4. Boot the virtual machine and install Windows 11
In the VirtualBox Manager choose your newly created virtual machine and click Start.
![VirtualBox Manager window](https://nixspace.io/wp-content/uploads/2021/09/Screenshot-from-2021-09-02-12-37-32-1024x603.png)
You will see a familiar installation screen. Choose a language, a keyboard layout and click Next and then Install now.
![Windows 11 Installation Screen](https://nixspace.io/wp-content/uploads/2021/09/VirtualBox_Windows-11-Test_02_09_2021_16_20_20.png)
On the next screen select I don’t have a product key, then choose the Windows 11 edition that you want.
![Windows 11 installation: Choose Edtition](https://nixspace.io/wp-content/uploads/2021/09/VirtualBox_Windows-11-Test_02_09_2021_16_55_27.png)
After accepting the terms select Custom: Install Windows only (advanced). Then select the hard drive and click Next.
![Windows 11 Installation Options](https://nixspace.io/wp-content/uploads/2021/09/VirtualBox_Windows-11-Test_02_09_2021_16_56_34.png)
![Windows 11 Hard Drive Options](https://nixspace.io/wp-content/uploads/2021/09/VirtualBox_Windows-11-Test_02_09_2021_17_53_13.png)
All that is left to do is to wait for the installer to copy the files. After the installer reboots the machine a couple of times you will see a Windows 11 setup screen.
![Windows 11 setup screen](https://nixspace.io/wp-content/uploads/2021/09/VirtualBox_Windows-11-Test_02_09_2021_23_41_50.png)
After this the process is very straightforward: just choose your country and keyboard layout, name your virtual PC, and create a user account. You can also add your Microsoft account.
After you finish going though the steps and Windows 11 updates itself, you can finally login into the system.
![Windows 11 welcome screen](https://nixspace.io/wp-content/uploads/2021/09/VirtualBox_Windows-11-Test_03_09_2021_00_07_35.png)