How To Install VirtualBox And Create A Virtual Machine (2026)

Quick answer

  • Download the Windows hosts installer from virtualbox.org/wiki/Downloads, run it and accept the driver prompts, then open VirtualBox Manager and click New to start the Create Virtual Machine wizard.
  • In the wizard, name the VM, pick the ISO image, set Base Memory and Processor(s), create a virtual hard disk, then click Finish and Start. The OS installation begins from the ISO.
  • Press the Host key, the right Ctrl key by default, to release the mouse and keyboard from the VM. The manual says to avoid giving a VM more than half of your processor threads.

Applies to: Oracle VirtualBox 7.2 on 64-bit Windows hosts (Windows 8.1, Windows 10, Windows 11 21H2)

To install VirtualBox on Windows, run the installer from virtualbox.org, then use the New button to build a virtual machine from an ISO file. The whole job takes a few wizard pages.

This guide follows the official Oracle VirtualBox User Manual, in the same order, with the warnings that matter on a first run.

The Downloads page lists VirtualBox 7.2.22 as the current release at the time of writing.

Table of Contents

What you need before you start

ItemWhat the official pages say
Windows host64-bit only: Windows 8.1, Windows 10, Windows 11 21H2, and Windows Server 2012 to 2022
ProcessorThe manual says SSE2 support is required on the host CPU
InstallerThe “Windows hosts” link on virtualbox.org/wiki/Downloads
Installation mediaAn ISO file for the operating system you want to run inside the VM
Extension PackOptional; needed for VRDP, webcam passthrough, disk encryption and cloud integration

The manual does not mention hardware virtualization extensions on this page, so if a VM refuses to start, see our guide to turning on virtualization in Windows 11.

Need an ISO for Windows itself? Our Windows 11 installation media guide covers the Media Creation Tool.

Download VirtualBox

  1. Open virtualbox.org/wiki/Downloads in your browser.
  2. Click the Windows hosts link, which points to the VirtualBox Win.exe installer.
  3. Save the file and wait for the download to finish.

The Downloads page lists SHA256 and MD5 checksum files for each release, and the platform packages are released under GPL version 3.

Install VirtualBox on Windows

  1. Double-click the downloaded installer.
  2. On the Welcome dialog, choose the install location and the components.
  3. Click through the setup pages and let the installer finish.
  4. If Windows shows driver warnings, such as an unsigned driver notice, continue through them.
  5. Open VirtualBox from the new VirtualBox group in the Start menu.

The manual says that if you do not continue through the driver prompts, VirtualBox may not work correctly.

Custom setup features

FeatureWhat it does
VirtualBox ApplicationThe main binaries; required, so you cannot leave it out
VirtualBox USB SupportInstalls drivers that let guest VMs use USB devices
VirtualBox NetworkingInstalls extra drivers for bridged networking
VirtualBox Python SupportAdds scripting for the VirtualBox API; Python must already be installed

By default the installer sets VirtualBox up for all users on the PC.

The manual gives a command-line option, ALLUSERS=2, to install for the current user only.

Create your first virtual machine

Open VirtualBox Manager and click New to start the Create Virtual Machine wizard.

Wizard pageWhat to enter
Name and Operating SystemName, Folder (where VM files are stored), ISO Image, and the guest Type and Version
Unattended Guest OS InstallUsername and Password, optional Guest Additions install, and Hostname
HardwareBase Memory, Processor(s), and Enable EFI
Virtual Hard DiskDisk Size and Pre-Allocate Full Size
SummaryReview the settings and click Finish

Type and Version are filled in automatically if VirtualBox detects the ISO.

If you tick Skip Unattended Installation, which only works once an ISO is selected, you run the guest operating system installer yourself.

If you leave it unticked, the wizard asks for a username and password, and can also take a product key for Windows guests, a hostname and a domain name.

Choose memory, processors and disk

  1. Set Base Memory, the RAM the VM gets each time it starts, and do not give it more than your PC can spare.
  2. Set Processor(s), and do not assign more than half of the host’s processor threads.
  3. Leave Create a Virtual Hard Disk Now selected and set the Disk Size.
  4. Click Finish on the Summary page.

If you do not tick Pre-Allocate Full Size, VirtualBox creates a dynamically allocated disk file, and if you tick it you get a fixed-size file.

You can also pick Use an Existing Hard Disk File or Do Not Add a Virtual Hard Disk on that page.

Start the virtual machine

Double-click the VM in the machine list, or select it and click Start in the Details pane toolbar.

On the first start the operating system installation begins automatically from the ISO you chose.

You can also double-click the VM’s .vbox file in the VirtualBox VMs folder under your user home folder.

Release the mouse and keyboard

SituationWhat the manual says
Host keyThe right Ctrl key on Windows hosts; the current key shows at the bottom right of the VM window
KeyboardThe VM owns the keyboard while its window has focus; click its title bar first
MouseThe VM captures the mouse after you click inside; press the Host key to release it
Ctrl+Alt+DelPress Host key + Del, or use the Input, Keyboard menu
Change the Host keyFile, Preferences

After you install the Guest Additions, the second pointer disappears and the host mouse works directly inside the guest.

Close the VM without losing work

Click the VM window’s Close button or press Host key + Q, and the manual lists three choices.

ChoiceResult
Save the machine stateFreezes the VM to disk so it resumes where it left off
Send the shutdown signalSends an ACPI shutdown, like pressing the power button
Power off the machineStops the VM without saving, like pulling the plug, with a risk of data loss

Take a snapshot before you experiment

  1. With the VM running, open the Machine menu in the VM window and click Take Snapshot.
  2. To go back later, select the VM and open Snapshots in the machine tools menu.
  3. Select a snapshot and click Restore.

Restoring discards changes made since the snapshot, so take a new snapshot first if you want to keep them.

Deleting a snapshot frees disk space and does not change the VM’s current state.

Remove or uninstall

To remove a VM, right-click it in the machine list and select Remove, then choose whether to remove only the list entry or its files too.

The Remove option is disabled while the VM is running.

To uninstall VirtualBox itself, use the Windows Add/Remove Programs list, and the manual says this is safe at any time.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *