1. Home >
  2. Computing

How to Install Windows 10 in a Virtual Machine

If you have to deal with files you can't trust, need to test multiple OS installations on the same system, or otherwise need access to the OS without wanting to use it as a daily driver, here's how to install Windows 10 in a virtual machine.
By Joel Hruska, ExtremeTech Staff
Windows 10 Desktop
Credit: Microsoft

There are many practical reasons to set up an OS like Microsoft Windows in a VM rather than using it as a native installation. If you have to deal with files you can't trust, need to test multiple OS installations on the same system, or need access to the operating system without wanting to use it as a daily driver, using a VM offers access to its features and capabilities without worrying about needing to keep the OS installation around long-term. Luckily, setting up Windows 10 in a VM isn't particularly difficult.

Note: While this guide uses VirtualBox, it is not the only free VM software available. VMWare Workstation Player is another option. There are solutions like VMWare Fusion and Parallels on Mac, but VMWare Fusion has no near-term plans to support x86 architecture VMs on Apple silicon. Parallels has explicitly shipped software that does support x86 VMs on Apple silicon. VMWare has announced that Linux, not Windows, is its priority regarding Mac support.

VirtualBox Installation

1. Download the Windows 10 ISO

First, head over to the Windows 10 download page If you are a Windows user. Microsoft will prompt you to download the Media Creation Tool before allowing you to download an OS image. You can use this tool to create an ISO file locally, or you can follow these additional instructions to download the ISO manually without being forced to grab the tool first.

Name and OS Dialog
Credit: Microsoft

2. Create a new virtual machine

Go to the VirtualBox website and download the latest version of Oracle's free, open-source software. Go through the installation process, and then launch the application. Press the "New" button, and name your virtual machine. Make sure your "Type" is set to "Microsoft Windows" and your "Version" is set to "Windows 10." Make sure you match the x64 version with a 64-bit VM and the x86 version with a 32-bit VM.

Memory Size Dialog
Credit: Microsoft

3. Allocate RAM

Now, you must decide how much RAM you want to allocate for this VM. For the x86 version, you'll need at least 1GB of RAM. For the x64 version, you'll need 2GB. Whatever you decide, just make sure you stay in the green. If you allocate too much RAM, you'll end up with serious performance issues.

File location and size dialog
Credit: Microsoft

4. Create a virtual drive

Next, you need to create a virtual drive. Microsoft says that 16GB is the minimum space needed for the 32-bit version, but 20GB is required for the 64-bit version. A 50GB can be a good virtual desktop, but feel free to make it as large as you need. Just be sure you have enough space on your actual hard drive to handle the size of your virtual drive. Depending on what you intend to do with the OS, you may want to allocate more or less storage. Applications installed to a VM should be assumed to require the same amount of "real" storage that their standard installations would.

Create virtual drive dialog
Credit: Microsoft

5. Locate the Windows 10 ISO

Now, go into the settings for this virtual machine and navigate to the "Storage" tab. Click the disc icon with a green plus next to "Controller: SATA." Click "Choose disk" and locate the Windows 10 ISO you downloaded earlier.

Display dialog
Credit: Microsoft

6. Configure video settings

Before you jump in and start installing Windows 10, move over to the "Display" tab. You can configure how much video memory you will allocate to the virtual machine, but stay in the green. You can also toggle on 3D acceleration if you like.

Windows installation screen
Credit: Microsoft

7. Launch the installer

After that setup, press the "Start" button in VirtualBox and begin the Windows 10 installation process. Follow the instructions on the screen, and you're well on your way.

Welcome to Oracle VM Virtualbox screen
Credit: Oracle

8. Install VirtualBox guest additions

Once you're at the Windows 10 desktop, you'll need to install all of the proper drivers for VirtualBox. In the VirtualBox UI, select "Devices," then select "Insert Guest Additions CD image." Navigate to that disc image in Windows Explorer and run the installer. Once you've gone through the entire process, you must reboot the VM.

Windows 10 Desktop
Credit: Microsoft

9. You're ready to rock

Back at the desktop, you can finally use full-screen mode at the proper resolution. In the VirtualBox menu, select "View" and "Switch to Fullscreen." For the most part, this is now the same experience you'd have running it natively. Enjoy yourself, and feel free to poke around all the new features.

Tagged In

Virtualbox Virtualization How-To Microsoft Vmware

More from Computing

Subscribe Today to get the latest ExtremeTech news delivered right to your inbox.
This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of use(Opens in a new window) and Privacy Policy. You may unsubscribe from the newsletter at any time.
Thanks for Signing Up