How to Install Windows 11 on VirtualBox Virtual Machine?


What is Virtual Machine?

To install Windows 10 on a virtual machine, you need to be aware of what it is. In computing, a Virtual Machine is the virtualization/ emulation of a computer system. These are based on computer architecture and provide the functionality of a physical computer. Installing Windows 10 on a virtual machine is quite an easy task. You have to download Windows 10 ISO. You can not use it to install on a virtual machine without making any changes to the ISO file. Secure Boot and TPM 2.0 are mandatory to install Windows 11. However, they do not include Oracle VirtualBox. You need to remove the requirements of Secure Boot and TPM 2.0 to install Windows 11. Also,  remember that Windows 11 ISO boot file is not disturbed while editing.

We have written an article on risewindows to help you remove TPM 2.0 and Secure Boot on Windows 11 ISO. Once you have done that, Windows 11 is ready to be installed on a virtual machine.

How to Install Windows 11 on VirtualBox Virtual Machine?

Step 1: First, you need to download and install the latest version of free Oracle VM VirtualBox.

Step 2: Launch the app by double-clicking on the desktop icon.

Step 3: Click on New to create a new virtual machine.

Step 4: As the next window opens, write Windows 11 next to the Name box. From the Machine Folder drop-down menu, go to the folder’s location where you want to store the new virtual machine. In the Type drop-down, go to Microsoft Windows. Finally, select Windows 10 (64-bit) from the Version drop-down menu.

Step 5: Click on Next after completing all the above steps.

Step 6: In the following window, specify the RAM size for your virtual machine. Use the slider to increase or decrease the RAM size as suitable.

On a side note, 2 GB RAM is recommended for a 64-Bit OS, and for a 32-Bit operating system, at least 1 GB of RAM is recommended. However, it can consistently be increased or decreased according to your system capacity. For our example, let us set the RAM capacity to 3GB.

Step 7: Click on Next.

Step 8: In the next window, you will find three options:-

  • Do not add a virtual hard disk,
  • Create a virtual hard disk now,
  • Use an existing virtual hard disk file.

Here, select the second option, i.e., “Create a virtual hard disk now,” and click on Create.

Step 9: Leave the default option VDI (VirtualBox Disk Image) as the hard disk file type on the next screen.

Step 10: Click on Next.

Step 11: On the next window, you will see the following options:-

  • Dynamically allocated
  • Fixed-size

Now you need to choose between the two options given above. If you select the Dynamically allocated option, it will keep increasing or decreasing the virtual hard disk’s size automatically depending on your virtual machine’s size. You might notice an issue with the performance; however, it is suitable for those whose storage space is running out. On the other hand, choosing the Fixed-size will get the size of your virtual hard fixed according to what you specify.

Select the Dynamically allocated or Fixed size option, and click the Next button.

Step 12: As the following screen appears, specify the maximum size of your virtual hard disk. The slider can increase or decrease the maximum allocated hard drive size. Although you can write your own by clicking on its size, allocating at least 64GB of HDD to run your Windows 11 smoothly.

Step 13: Now, click on Create.

Step 14: You will see that a virtual hard disk is created that will show the details of your virtual machine.

Step 15: Up to here, the Windows version to install is specific, a virtual hard disk drive is created, and RAM is allocated for installing the Windows 11 OS. Now you are ready to install Windows 11 on VirtualBox. You will need a bootable Windows 11 USB flash drive, Windows 11 Bootable DVD, or a bootable ISO. The bootable ISO of Windows 11 is generally preferred to install Windows 11 on a virtual machine.

After getting the edited bootable ISO file of Windows 11 ready, go to the VirtualBox Setting icon mentioned above.

Step 16: Next, click on the Storage option you see on the left side pane, and then on the right, click on the Empty as shown above.

Step 17: Now, you will find a CD icon next to Optical Drive. Click on it and select “Choose/Create a Virtual Optical Disk.”

Step 18: Go to Add option from the menu you see under the Optical Disk Selector dialog box.

Step 19: After that, find the modified Windows 11 ISO file and open.

Step 20: Go to Choose and attach the Windows 11 ISO file to your virtual Windows 11 OS.

Step 21: If the Empty place has been filled with Windows 11 ISO file and looks like the following image, click OK.

Step 22: Finally, Windows 11 is ready to be installed on your virtual machine. Go to the Start button now.

Step 23: Once you’re done with the above steps, your Virtual Machine will be booted from the selected Windows 11 ISO and will be installed on your Virtual Machine. Now, select language, time & currency format, and keyboard input method when prompted. Now, click on Next.

Step 24: Click on Install now in the next window.

Step 25: On the next screen, you will be prompted to enter the product key and activate Windows. Type the genuine product key if you have or click the link “I don’t have a product key.”

Step 26: Next, select the Windows 11 edition that you would like to install in the next window. Next, click on Next.

Step 27: You need to check the box, “I accept the Microsoft Software Licence Terms. I am authorized to bind the organization if an organization is licensing it.” After doing that, click on Next.

Step 28: You will see the below two options:-

  • Upgrade: Install Windows and keep files, settings, and applications.
  • Custom: Install Windows only (advanced).

You need to choose the second option since you will install a fresh Windows 11, “Custom: Install Windows only (advanced).”

Step 29: Click on Next.

Step 30: Next, the installation progress will show up for your Windows 11. The virtual machine will start copying the required files to run Windows 11. After completing that, the computer will be restarted automatically.

Step 31: Next, select the country and then click on Yes.

Step 32: If you find an error on the next screen, you need to ignore it and click on the Skip button. This OOBEKEYBORD is just a keyboard error.

Step 33: Now, Windows 11 will start searching for the update. After waiting a while, click on the option “Set up for personal use” you see on the next screen. Then, click on Next.

Step 34: Create a user account on your Windows 11 machine. You can log in with Microsoft Account if your PC has active internet or click on the link “Sign-in options” if you want to add an offline user account.

Step 35: Now, click on the Offline account option.

Step 36: Click on the Limited experience link.

Step 37: Find the “Enter your name” field and type the user name you’d like to use on your system, then click on Next.

Step 38: Enter the user name’s password and click on Next.

Step 39: Confirm the password and click on Next.

Step 40: Next, choose the security question and answer. You have to select three security questions one by one and need to reply to them. After that, click on Next.

Step 41: Now, the privacy settings options will open. All the options will be turned On by default. However, you can disable them if you want. Finally, click on Accept.

It will successfully install Windows 11 on your virtual machine, and when you’re done with that, it will open the Settings app.

Check the virtual Windows 11 if it’s running fine. Also, we recommend you install Guess Additions to Windows 11 in VirtualBox.

That’s it.

You guys are amazing; Keep reading, learning, and growing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.