Windows 11 has had its fair share of ups and downs since its release. The OS is now much more stable and features numerous changes that seem to accommodate most users. Windows as a platform have always been versatile with the ability to create virtual machines, drives, hardware devices, and more.
This helps with internal testing, coding in different environments, or just some good old tinkering. If you’ve been looking to emulate or virtualize platforms on Windows 11 then VirtualBox is a great option for you. Let’s find out more about it!
Contents show
What is VirtualBox?
VirtualBox is long-standing virtualization software that has been preferred by most users since its release. Currently published and managed by Oracle, VirtualBox allows you to virtualize x86 environments on your PC.
The tool not only supports Windows but also has dedicated clients for other platforms including the likes of Linux and macOS. If you’ve been looking to test tools, platforms, or code in a virtual environment then VirtualBox is a great option for you. You can create multiple virtual machines and boot them at will with the ability to install a custom OS on them.
You even have access to all basic drivers and the ability to use your native keyboard in host and virtualized environments.
How to use install and use VirtualBox on Windows 11: Everything You Need to Know
Here’s how you can use VirtualBox on your Windows 11 PC. There are a few hardware requirements that your setup will need to meet so that VirtualBox can function as intended. Additionally, there are a few things that you should keep in mind before proceeding with this guide.
The same have been listed below. Once you’ve prepared your setup as intended, you can use the guide below to install and set up VirtualBox on your PC.
Requirements:
Here are the minimum system requirements to run VirtualBox on a Windows 11 PC.
- CPU: x86 compatible hardware (Most modern Intel and AMD CPUs supported)
- RAM: Minimum requirement of Host OS (Windows 11: 4GB) + Minimum requirement of OS you wish to virtualize
- DiskSpace: Minimum space requirement by virtualized OS + 50 MB maximum for VirtualBox installation
- Windows 7: 16GB for 32-bit or 20GB for 64-bit
- Windows 8 & 8.1: 16GB for 32-bit or 20GB for 64-bit
- Windows 10: 16GB for 32-bit or 20GB for 64-bit
- Windows 11: 64GB or higher
- A supported OS for your virtual machine: Popular supported Operating Systems have been listed below
- Windows 10
- Windows 7
- Windows 8 & 8.1
- Windows Vista
- Windows XP
- Windows 2000
- Windows Server 2003, 2008 & 2012 (including R2)
- Windows NT
- Ubuntu Desktop
- Debian 6.0 to 8.0, 5.0, 4.0 & 3.1
- Fedora Core 1, 4, 5, 6
- Solaris 11
- Solaris 10 (5.08 and higher)
You can find a complete list of supported Operating Systems at this link if your OS isn’t listed above.
Preparation:
There are a few ways you will need to prepare before you start using VirtualBox. You might need to enable a few settings on your system and download a few files to help you along the way. Use the sections below to help you along with the process.
1. Operating System (OS)
Firstly, you will need the OS you wish to install on your virtual machine. We recommend you download the same beforehand to help you along with the process. We have listed download links for popular operating systems below to get you started.
- Windows 7 | Download Link
Note: This is a web archive link that might stop working after some time.
- Windows 8.1 | Download Link
- Windows 10 | Download Link
- Ubuntu desktop | Download Link
Download and keep your OS ISO handy. We will require this during the initial VirtualBox setup to boot and install the OS from the same.
2. Free Space
You can run out of free space pretty easily when using VirtualBox. If you plan on virtualizing for a long time then it is recommended you create enough free space on your disk drive. While VirtualBox creates and manages its own virtual disk space depending on the size of your OS and contained files, you should create a separate partition if possible just to be safe.
Do keep in mind that Page files can also interfere with virtual folders used by VirtualBox as virtualized disk drives. If you’re running out of space then turning off the Page file for the current disk might be a good idea.
3. Drivers (optional)
VirtualBox is bundled with most generic drivers and the ability to install extension packs that offer additional choices and capabilities. While ideal for most systems, some proprietary hardware or components might need their drivers to be manually installed.
This includes custom monitors, USB hubs, unsupported iGPUs, and more. If you have any such components we recommend you keep their drivers handy. This way you can install them and get your setup up and running in case VirtualBox drivers do not support your components.
How to install and get started with VirtualBox
Now that you’re prepared and ready to virtualize, here’s how you can use VirtualBox on your PC. Follow the steps below to help you along with the process.
Step 1: Download and install VirtualBox
- VirtualBox | Download Link
Click the link above to visit the VirtualBox download page in your preferred browser. Now click Windows hosts to download the latest package of VirtualBox for Windows.
Save the setup in a convenient location on your local storage.Once downloaded, double click and launch the same on your PC.
ClickNextto initiate the setup.
ClickBrowseand choose an installation directory for VirtualBox on your PC as needed.
Note: This will be the VirtualBox installation directory and not the space used by your virtual machine unless you specify the same.
ClickNextonce you’re done.
Check the following boxes depending on where you wish to place VirtualBox shortcuts and context menus. We recommend you leave these at their default values if you’re unsure of what to select.
- Create start menu entries
- Create a shortcut on the desktop
- Create a shortcut in the Quick Launch Bar
- Register file associations
ClickNext.
You will now be notified that the internet will be disconnected for a while during the installation process. This might be a good time to pause any ongoing downloads in the background. Click Yes once you’re ready.
ClickInstall to confirm your choice.
Once the setup is completed, uncheck the box forStart Oracle VM VirtualBox n.n.nn after installation.
ClickFinish.
And that’s it! VirtualBox has now been installed on your PC. You can now follow the next step to create a new virtual machine using VirtualBox on your PC.
Step 2: Create your Virtual Machine & install the extension pack
Here’s how you can create your first virtual machine in VirtualBox.
Start by launching VirtualBox using your desktop or start menu shortcut.
ClickNew.
Now enter a name for your new virtual machine at the top. We recommend using a name that helps you easily identify the machine as well as the OS installed on it. We will be using Windows 10 for this guide.
Now click the drop-down menu for Machine folderand selectOther.
Choose a location where your virtual machine will be created. This space will be used by your virtual machine to install the OS as well as additional tools as needed. If you created a dedicated partition for the same, this is where you should select the same. ClickSelect Folder once done.
Click the drop-down menu for Typeand select your OS. We will select Windows for this guide.
Subsequently, click the drop-down menu for Versionand select the appropriate OS version you wish to install on the new Virtual Machine.
ClickNextonce you’re done.
You will now be shown the available RAM on your PC. This will be shared by your Virtual Machine whenever it is running. Use the slider to adjust the amount of RAM you wish to assign to your virtual machine. VirtualBox will have automatically selected the recommended amount of RAM needed by the selected OS.
Once you’re done, clickNext.
You will now be asked if you wish to add a virtual hard drive. If you plan to use the OS as is, then it is a good idea to add a virtual hard drive. However, if you wish to split your storage or try a dual boot setup then you can choose to do so later on when installing your OS as needed. Choose one of the options below depending on your preferences.
- Do not add a virtual hard disk
- Create a virtual hard disk now
- Use an existing virtual hard disk file
ClickCreate.
You will now be asked the type of virtual hard drive you wish to create. You can use the VDI option if you wish to use the space only with VirtualBox. If you wish to use it with other emulators or virtualization software then you can select one of the following options depending on its support.
- Virtual Hard Disk (VHD)
- Virtual Machine Disk (VMDK)
ClickNext once you’ve made your choice.
Now choose one of the following options depending on the type of disk you wish to create.
- Dynamically allocated: The virtual disk will use up space on your physical disk as it fills up.
Note: While space will be used as needed, space can not be reclaimed once freed up.
- Fixed-size: A fixed size will be assigned to your virtual drive. It won’t be able to grow or reduce in size later on.
ClickNextonce you’ve made your choice.
Click the folder icon on the next page.
Now choose a location for your virtual hard drive on your system. ClickSave.
Note: Do not change the file extension for your virtual hard drive when choosing a location.
Now use the slider at the bottom to choose the initial space you wish to assign to your virtual hard drive if you choseDynamically allocatedearlier. This will be the fixed size of your virtual hard drive if you chose the same.
Once done, clickCreate.
You will now have created your new virtual machine. We will now install the extension pack. Start by downloading the extension pack on your PC using the link below.
Switch back to VirtualBox. Click Tools on your left and thenPreferences at the top.
Now clickExtensionson your left.
Click theAdd extensionicon.
Select the extension pack we downloaded earlier.
ClickInstall.
Scroll to the bottom of the license agreement and clickI Agree once available.
Once installed successfully, click OK.
ClickOK again.
You can now use the step below to install the OS on your new machine.
Step 3: Install your OS on your Virtual Machine
Installing an OS on your new Virtual Machine should be the same as installing one on any setup. We will be using Windows 10 as an example for this guide, but the steps below should help you configure other operating systems as well. Let’s get started.
Launch VirtualBox on your PC and click and select the desired machine from the left sidebar.
ClickSettings.
ClickStorage on your left.
Now click and select the Disk icon below your virtual drive.
Click theDisk iconbeside the default SATA port on your right.
ClickChoose a disk file.
Now select the operating system ISO you downloaded earlier from your local storage.
Once done, clickOK.
You will now be taken back to the home page. ClickStart at the top.
The virtual machine should now automatically boot on your system using the downloaded ISO. If not, use F12
to enter the boot menu and select the same.
How to use VirtualBox
Now that your virtual machine is set up in VirtualBox here’s how you can use and troubleshoot the same in case you face any issues.
1. Powering On & Off
You can Power On your virtual machine by selecting the same on the VirtualBox homepage and then clickingStart.
You can click the drop-down menu to access the following startup options for your virtual machine.
- Headless start
- Detachable start
To power off a machine, you can clickFile > Close.
You can now select one of the following options depending on your preferences.
- Save the machine state: This will simulate hibernation and start your machine from its current state once you power it on in the future.
- Send the shutdown signal: This will be the shutdown signal to the virtual machine. The OS can then respond based on its default power settings.
- Power off the machine: This will simulate a manual power off for your virtual machine.
ClickOK once you’ve made your choice.
You can also use the Host + Q
keyboard shortcut to access the Power Off options. The host key can be customized on your preferences. By default, Right Ctrl
will be the host key for every virtual machine created in VirtualBox.
2. Managing the resources
Let’s see how to manage resources like RAM, Video Memory, Graphics controller, Storage devices, Displays, Audio Devices, Network Interfaces, and Serial Ports.
There might be times when you wish to assign more resources to your virtual machine. Here’s how you can do the same in VirtualBox.
Launch VirtualBox on your system and click the concerned virtual machine on your left.
ClickSettings.
ClickSystem.
Use theBase Memoryslider to increase or decrease the amount of RAM assigned to your virtual machine.
Use theBoot Ordersection to manage your boot devices. Check the boxes for boot devices to include them or uncheck the same to exclude them.
You can also re-order your devices to change the boot order. Click and select a device.
Now use the Arrows on your right to move it up or down in the boot order as needed.
If your OS does not support touch input, you can select a mouse input using the drop-down menu for Pointing Device.
Click and switch to theProcessortab now.
Use the slider for Processor(s) to increase or decrease the number ofCPU threadsused by your virtual machine. If you have a muli-CPU setup then you should have different sliders for each of your CPUs in this section.
You can use theExecution capslider to dictate the CPU cap on your assigned threads.
Click and switch to theAccelerationtab.
You can select your Paravirtualization Interface in this tab. This choice will help your Guest OS kernel work as intended with additional capabilities depending on your hardware. Here are the choices at your disposal and the recommended OS for each choice.
- Minimal: Required mostly by Mac OS X operating systems.
- KVM: Linux Hypervisor interface. Recommended choice for Linux operating systems.
- Hyper-V: Microsoft’s hypervisor interface, recommended for most Windows guest OS.
- None: Turns off the paravirtualization interface
- Default: This is the default option before you make your custom choice. It allows VirtualBox to select the appropriate paravirtualization interface depending on the OS you are using.
- Legacy: This option is applicable when you’re using older versions of VirtualBox to install and use deprecated operating systems.
Once done, clickDisplay on your left.
You can adjust the amount of Video Memory used by your virtual machine by adjusting its slider at the top.
If you have a multi-monitor setup, you can increase or decrease the ones used by your virtual machine using the slider forMonitor Count.
If you’re having scaling issues with your monitor, you can increase or decrease the same using theScale Factorslider.
The Graphics Controller option allows you to change the type of graphics controller used by your virtual machine. Here are all the options and their recommended uses.
- VBoxVGA: This is the older emulated graphics controller with inferior 3D capabilities. It is recommended for older versions of VirtualBox and older versions of Windows released before Windows 7.
- VMSVGA: This is the newer emulated graphics controller with VMware SVGA 3D acceleration. It is the recommended choice for Linux users.
- VBoxSVGA: This is the same emulated controller as VMSVGA. The only difference is that hardware wise it reports itself with the same PCI ID as the VBoxVGA controller. This is the recommended graphics controller for modern versions of Windows.
- None: This will force VirtualBox to discard an emulated graphics controller. This is the recommended choice if you do not need a GPU or are using a dedicated GPU with a PCI pass-through to your virtual machine.
Now let’s get familiar with Storage options for your virtual machine. Click Storage on your left.
You can add additional storage controllers to your virtual machine using the icon at the bottom as shown below.
You can use the icon beside it to remove the selected storage controller.
Now click and select a storage controller to view and add storage devices.
You can change the name as well as the ports offered by the controller on your right.
You can even change the type of storage controller detected by your virtual machine using theTypedrop-down menu.
Similarly, click theDisk icon beside your storage controller as shown below to add a virtual disk to your machine.
You can now mount an ISO to the same as we did earlier by using the Disc icon beside the assigned SATA port. Click the Drive iconbeside your storage controller to add a virtual drive to your virtual machine.
Click and select the same to view its customizable options.
You can choose a new virtual drive using the Drive icon beside the assigned SATA port. You can also create a new virtual drive for your machine in VirtualBox itself using the same option.
Check the following boxes depending on the type of Drive you wish to emulate in the environment.
- Solid-state Drive
- Hot-pluggable
We can now move on and customize your machine’s audio devices. ClickAudioon your left.
Check or Uncheck the box forEnable audio depending on your preferences.
Click the drop-down menu for Host Audio Driver and select your audio driver.
Similarly, select your sound controller using the Audio Controller drop-down menu.
Check the following boxes underExtended features depending on your preferences.
- Enable Audio Output: This option will help enable audio output for your virtual machine through your default devices.
- Enable Audio Input: This will allow your virtual machine to access and use your audio input devices from your host machine.
Click and selectNetworkon your left.
Check the box forEnable Network Adapter if you wish to use the selected adapter. You can enable multiple network adapters using the tabs at the top depending on your needs.
Now click the drop-down menu for Attached to and configure your virtualized network adapter as needed.
ClickAdvanced to configure additional settings for your network adapter.
ClickPort Forwarding and configure the same depending on your preferences if needed.
ClickUSB on your left.
Check the box forEnable USB controllerif you wish to use one with your virtual machine.
Now click the Add new USB icon on your right.
Select the desired USB device from the ones available on your host machine. Continue adding more USB devices as needed based on your current needs and the host machine’s setup.
Finally, clickOK.
And that’s it! You will now have customized the resources for your new virtual machine in VirtualBox.
Troubleshooting: How to fix VirtualBox issues
Here are some common issues faced when setting up a new machine in VirtualBox. You can use the mentioned fixes to try and troubleshoot your issue accordingly.
Display issues
Display issues mainly occur due to incorrectly assigned Video Memory and Graphics controller. We recommend you verify and assign the correct ones based on your host machine and virtualized OS.
Storage issues
Storage issues occur due to incorrectly assigned storage controllers or an incorrect number of SATA ports. It could also be that your boot order is incorrectly assigned or missing the newer virtual drives and disks added by you. We recommend you verify the same in your virtual machine settings. Additionally, keep in mind that virtual disks might fail to show up depending on the OS if there is no ISO or disk image assigned to them.
Audio issues
Audio issues are a hit or miss when virtualizing depending on your hardware and its PIN configuration. We recommend you adjust your audio settings and add new devices based on availability. You can also try switching drivers or the audio controller.
USB 2.0 and 3.0 issues
USB support out of the box is limited when it comes to VirtualBox. USB 2.0 and 3.0 is unsupported unless you have installed the VirtualBox extension pack. Use the steps above to add the same to your setup. This will help introduce USB 2.0 and 3.0 support on your virtual machine along with the following features.
- Host webcam pass-through
- VirtualBox Remote Desktop protocol
- Disk Image encryption (AES)
- Intel PXE Boot ROM
FAQs
Here are some commonly asked questions about installing and setting up VirtualBox that should help you get up to date with the latest information. Let’s get started.
Can I transfer Virtual Machines?
Yes, VirtualBox easily allows you to export and import virtual machines between different hosts. Use File > Export Applianceor Ctrl + E
keyboard shortcut to do the same.
What are snapshots in VirtualBox?
Snapshots are saved states of a VM that allow you to recover data or restore the machine to its Snapshot state. This can come in handy when making changes, testing code, or developing apps.
Can I use the same keyboard and mouse with my virtual machine?
Yes, you can use the same keyboard and mouse with your VM by default. Use the host key to switch between your host and the virtual machine easily. By default, Right Ctrl
is your host key. You can easily customize this key using the VirtualBox preferences.
We hope this post helped you easily set up and use VirtualBox on your system. If you face any issues or have any questions, feel free to reach out using the comments below.
FAQs
How to setup VirtualBox on Windows 11? ›
- Open VirtualBox.
- Click the Machine menu and select the New option.
- In the Name field option, confirm a descriptive name for the virtual machine. ...
- (Optional) In the Machine Folder option, select the folder location to create the Windows 11 VM.
- Select Start, enter Windows features, and select Turn Windows features on or off from the list of results.
- In the Windows Features window that just opened, find Virtual Machine Platform and select it.
- Select OK. You might need to restart your PC.
Microsoft confirms: Virtualbox now compatible
Microsoft had added the entry Compatibility issues have been found between Oracle VirtualBox and Windows 11 on March 11, 2022 in the Windows 11 status section in the resolved issues section.
- Click the Task View icon (the black square with a transparent square over it) on your taskbar. ...
- Click New Desktop +.
- Click the thumbnail of the new desktop. ...
- Your view will switch to the new virtual desktop.
- Select Create a New Virtual Machine in the main window. ...
- Select the Installer disc image file (iso) option.
- Click Browse and locate your Windows 11 ISO file.
- Select Next. ...
- Select Microsoft Windows in the Guest operating system section.
- Step 1: Prepare your computer for Virtualization. ...
- Step 2: Install Hypervisor (Virtualization Tool) ...
- Step 3: Import a Virtual Machine. ...
- Step 4: Start the Virtual Machine. ...
- Step 5: Using the Virtual Machine. ...
- Step 6: Shut down the Virtual Machine.
- Download VirtualBox for Windows hosts. ...
- Launch setup to install VirtualBox on Windows. ...
- Welcome message. ...
- Customize VirtualBox installation. ...
- Custom setup options. ...
- The Network Interfaces Warning Message. ...
- Click to install VirtualBox on Windows 10. ...
- Closing the Wizard.
- Click on New to create a new virtual machine. ...
- Name the Virtual Machine and click Next. ...
- Set the VM's available memory and click Next. ...
- Select a new virtual hard disk for the VM and click Create. ...
- Select a VDI (VirtualBox Disk Image) and click Next.
No compatibility problems here. I've been running VDJ on Windows 11 for months, doing regular three hour live streams with full on graphics, without a hitch.
Is a TPM required for Windows 11 virtual machine? ›Microsoft has some strict hardware requirements that your PC must meet to install Windows 11, including TPM 2.0 support.
Does virtual desktop work on Windows 11? ›
The virtual desktop feature in Windows 11 helps you organize and work on different things on one screen.
How do I use Oracle VirtualBox on Windows 11? ›- Download the Windows 11 ISO file.
- Install Oracle VM Virtual Box if you haven't already.
- Initialize a new Virtual Machine and select the Windows 11 ISO file.
- Allocate system resources and install the ISO.
The Snap feature allows you to display all opened windows side-by-side, and it will automatically resize itself to fit alongside the screen, so you can work or switch between windows conveniently.
Why is VirtualBox not installing on Windows 11? ›Fix 1: Change the Windows Version You Choose
This method is proved useful to fix the “Windows 11 not installing on Virtualbox” issue. Step 1: Open the VirtualBox and click the Settings icon and go to the General tab. Step 2: Scroll down the menu next to the Version line and change the Windows version.
...
- Click the Next button.
- Select the "Create a virtual hard disk" option.
- Specify a name for the virtual drive.
- Specify the size of the virtual drive to install the Linux distro.
The virtualization technology is available on Windows 11 Pro and higher editions. It's not available on Windows 11 Home. If you have the Home edition of Windows, you can try other virtualization alternatives, such as VirtualBox, or use the workaround outlined in this guide.
Is Virtual Desktop better than link? ›Virtual Desktop offers significantly more settings, so you have more control over PC VR streaming. Air Link is compatible with all PC VR apps, which is not the case with Virtual Desktop (see compatibility list).
How to install VirtualBox 7 on Windows 11? ›First, you need to download VirtualBox 7.0 for Windows from its official website. The setup executable is only around 100MB in size, so that's good. Next, run the EXE file and install VirtualBox 7.0 on your Windows 11 PC.
Why does Windows 11 keep failing to install? ›This may signify that your PC doesn't meet the minimum requirements to download or install the upgrade to Windows 11. Learn more about the minimum requirements for Windows 11. This might indicate that a driver or other software on your PC isn't compatible with the upgrade to Windows 11.
How do I download and install VirtualBox? ›- Enable CPU virtualization features.
- Download the VirtualBox installer.
- Run the installer and define the installation options.
- Creating a Virtual Machine.
- Creating a Virtual Hard Disk.
- Installing a guest OS.