Skip to Content

8 Easy Steps to Install Windows 11 on VirtualBox- No TPM and SecureBoot.

When Microsoft officially launched the windows 11 iso to the public, it ‘was and still is’ not compatible with the VirtualBox, As Microsoft made sure TPM and the Secure boot are the important pre-requisites even for you to proceed with the installation. without which you cannot install windows 11 on VirtualBox. You will end up with the below error.

This PC Cant run windows 11.

oops, that’s not good..

Soon after, there was an update from Oracle that they are working on it to provide the TPM and secure-boot to the VirtualBox, however, that will be on version 7, and at the time of this writing, the latest version is 6.31 and it is still doesn’t have TPM and secure boot support.

Can we install the Windows 11 VirtualBox without TPM and secureBoot ?

There are alternate ways to still install Windows 11 on Virtualbox, and we are going to follow easy steps, which we will perform during the installation, and you will be able to install the windows 11 operating system successfully. I have been running official windows 11 on VirtualBox for quite some time now and it works great.

One of the reasons people prefer to use VirtualBox over other hypervisors is that it is free for anyone to use it. It doesn’t matter what host operating system you use, whether Windows, MAC, or Linux. The VirtualBox can be installed on it and run your favorite operating system in it. Moreover, it is open source too.

If in case you are using a VMware workstation on your machine and wanted to install windows 11 on it, you may check out the article here to learn more, because VMware workstation 16 supports TPM and Secure boot.

If you are using a Linux host, instead of using VirtualBox, I would recommend you to use KVM instead, and you can see here how you can install windows 11 on KVM step by step, you can enable TPM and secure boot on KVM as well.

If you are using Windows 10 on your physical machine and wanted to upgrade to Windows 11, you may do so by following the guide here.

So let’s go ahead and install windows 11 on VirtualBox hypervisor.

Prerequisites,

Steps to install Windows 11 on Oracle Virtualbox.

  1. Create the Windows11 Virtualbox VM.
  2. Configure the required memory and Hard disk.
  3. Configure the Windows 11 Virtual machine.
  4. Begin the Windows 11 installation in VirtualBox.
  5. Bypass TPM and SecureBoot in Windows11.
  6. Choose the Windows 11 edition.
  7. Windows 11 initial setup wizard.
  8. Install VirtualBox guest additions on windows11.

1. Create the Windows11 Virtualbox VM.

Create windows 11 VM in VirtualBox

The Virtual machine creation wizard will now open, you have to modes to install the VM, either expert mode or guided mode. We are choosing the guided mode here.

  • Enter the name of the VM- > Windows 11.
  • Machine folder, if you would like to change the VM location based on your Storage, you may click on the down arrow key.

As you can see, when we typed the windows 11 name, the type and version by default picked up by the VirtualBox, click on Next.

Choose the windows 11 operating system in virtualbox

2. Configure the required memory and Hard disk.

We are now going to configure the Memory and Hard disk for the virtual machine.

You may provide memory for the VM based on your requirements, It is recommended to have at least 4GB of RAM for Windows 11 to work fine. Since I have plenty of memory on my machine. I am giving 8GB of RAM.

Create virtual hard disk.

We will create the virtual hard disk for the VM, so choose to create a virtual hard disk now and click on Create.

Though I am creating this VM on VirtualBox, I need the flexibility to move this VM from VirtualBox to other hypervisors such as VMware workstations, or KVM, and so on in the future. So instead of choosing the VirtualBox default virtual hard disk format VDI, I am selecting the VMDK format and clicking on Next.

choose the virtual hard disk type for windows 11 in virtualbox

Choose dynamically allocated and click on Next.

Choose dynamically allocated virtual hard disk for windows 11 in virtualbox

You may enter the virtual hard disk capacity here. By default, VirtualBox picked up the 80GB of Storage, and I am okay to leave the default and click on Next.

In case you would like to increase or decrease the Storage, you may do so here, however, 80GB is recomended.

3. Configure the Windows 11 Virtual machine.

Let’s make some more changes before you proceed with the installation.

Change CPU cores.

By default Windows 11 picked up 2 CPUs during the VM creation. You can still run the VM with a dual CPU, since I have enough CPU cores I am going to give 4 Processors.

Right-click on the VM that we just created and click on settings.

configure windows 11 cpu in virtualbox

And the settings, click on system and click on Processor.

Based on your requirement, you may increase the CPU, and I am giving 4 CPUs cos I have about 12 cores in my machine.

increase windows 11 cpu in virtualbox

Attach windows 11 ISO.

We have downloaded the windows 11 iso already, however we have not attached that into the virtualbox.

Let’s attach the Windows 11 ISO image to the VirtualBox storage as CDROM.

In the same settings window, click on Storage, and under storage devices, click on the empty CD DRIVE, Under attributes, on the extreme right, click on the down arrow key under the CDROM and click on Choose a disk file.

attach windows 11 iso in virualbox

And attach the windows11 iso image to the VirtualBox, and click on okay.

4. Begin the Windows 11 installation in VirtualBox.

We have now completed the windows 11 VM creation step in VirtualBox. We are now going to start the VM and proceed with the VM installation.

Select Windows 11 VM, click on start.

start windows 11 in virtualbox

If you have configured everything as above, you will get the windows installation wizard after a few seconds.

Choose the Language, Time, and Keyboard layout based on your location and click on Next.

windows 11 installation in VirtualBox

Click on Install now to start the windows 11 installation.

windows 11 installation in VirtualBox

Since I am not using any product key now, I am choosing I don’t have a product key to proceed to the next step.

windows 11 activation in VirtualBox

Choose the desired windows 11 version, and click on Next.

choose windows 11 version in virtualbox

And you will end up with an error message. Let’s go ahead and fix that, click on the back button.

5. Bypass TPM and SecureBoot in Windows11.

To bypass the TPM and secure boot, you will have to make some changes to the registry.

Note: You need to follow exactly what is in the steps.

  • While on the select operating system you want to install screen, you may press shift+f10 (you might need to press function key )
  • A command prompt window will appear, you may type regedit and hit enter.
  • In the Registry Editor, goto HKEY_LOCAL_MACHINE->SYSTEM->Setup
  • Right click on Setup and click on New->Key.
  • In the New Key field type Labconfig.
  • Select Labconfig, right-click on the registry Value field->New->DWORD (32-bit) Value.
  • Add below values.
BypassTPMCheck
BypassSecureBootCheck

As you can see, two values are added.

  • Right click on each value and click on Modify..
  • Change the Value from 0 to 1

Once both the values changed to 1, you may close the registry window and the command prompt.

That’s it, we have told window 11 to bypass the TPM and the secure boot.

6. Choose the Windows 11 edition.

After selecting your desired windows 11 version, you may click on Next, if you have done everything perfectly in the previous steps you will no longer see the error message that you got before.

Accept the license agreement, and click on Next.

In the which type of installation, click on Custom.

You should see the Virtual hard disk that we have set up during the VM creation. Choose the hard disk and click on Next.

The windows 11 installation will now begin. This process will take some time to complete.

windows 11 installation process in VirtualBox

`

7. Windows 11 initial setup wizard.

The Windows installation wizard will restart once the installation is completed.

After a few minutes, you will be taken to the Windows 11 initial setup wizard.

Choose the location and click on Next.

windows 11 installation wizard in virtualbox

Next, you will be asked to choose the keyboard layout of your operating system, you may choose that and click on Next.

Disconnect the Windows 11 VM from the network.

Before you proceed with anything, let’s disconnect your VM from the network.

We are not connecting to the network because, during the installation, Windows will start checking for updates that will cause delays for the windows installation to complete. Also, you won’t get an option to create a local account either. We can later link the Microsoft account post the installation.

disconnect windows 11 network on VirtualBox

Click on I don’t have internet.

disconnect windows 11 network on VirtualBox

Click on Continue with limited setup.

windows 11 local account with virtualbox

Setup your windows 11 local account and set the security questions.

You will be asked to set up a local account on your Windows 11 machine. Enter your username and password, and you will need to set up your three security questions as well.

Choose Privacy settings for your device.

You may choose the settings you like since I will not use any of them, let me disable all, and I click on Accept.

After a few minutes, the installation will be completed, and you will be taken to the windows 11 desktop page.

windows 11 desktop in VirtualBox

Connect your Windows 11 VM to the internet.

Now the installation is completed, you may go ahead and connect the network adapter back.

Right-click on the network adapter icon on the bottom right of the Virtualbox windows and click on connect network adapter.

Connect VirtualBox windows11 back to the network.

After few seconds, you should see the machine connected to the network.

8. Install VirtualBox guest additions on windows11.

We have now completed the installation of windows 11 on VirtualBox. To get better performance out from any VM running on VirtualBox, you need to install something called VirtualBox guest additions.

Click on Devices, and click on Insert Guest Additions CD image…

This step will mount the VirtualBox guest additions CD image to the Windows 11 machine.

install VirtualBox guest additions on windows 11.

To access the image, click on the folder icon at the bottom of the screen.

Browse for VirtualBox guest additions in windows 11.

In the ‘This PC’ window, click on CD Drive on the left.

Doubleclick on Vboxwindows additions amd64 to install the VirtualBox guest additions.

install VirtualBox guest additions on windows 11.

After the installation, you will be asked to reboot the machine, choose Reboot Now, and click on Finish.

VirtualBox guest additions on windows 11 installation completed.

That’s it. You have now successfully installed windows 11 on a Virtualbox hypervisor bypassing the TPM and secure boot, that is the best way to install windows 11 on VirtualBox currently.