Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Create a Windows 10 Virtual Machine on Ubuntu with VirtualBox

Configure a Windows 10 guest, attach its installation ISO, install Guest Additions, and verify display, storage, and networking on an Ubuntu host.

Table of Contents

To run Windows 10 inside Ubuntu, create a VirtualBox guest, give it suitable memory and storage, attach a Windows installation ISO, and install Windows into the virtual disk. The host remains Ubuntu; Windows runs inside the guest window.

Support note: Ordinary Windows 10 support ended on October 14, 2025. Check the lifecycle and any applicable extended-update arrangement for your edition. Use a supported guest for general online work where possible. A VM does not make an unsupported operating system or unknown software automatically safe.

Prepare the host and installation media

Install a compatible VirtualBox version on Ubuntu and confirm its kernel modules work. Obtain the Windows ISO from Microsoft or another authorized organizational source, and use a valid Windows license. Match the guest architecture to your host and VirtualBox support.

Leave enough RAM, CPU capacity, and free disk space for Ubuntu while the guest runs. The screenshots use an older VirtualBox wizard and a 32-bit example; current versions can arrange the controls differently. For host setup, see installing VirtualBox.

1. Create the guest

Open VirtualBox and choose New. Add registers an existing VM rather than creating a fresh one.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 1

Enter a descriptive name, choose a machine folder with adequate space, and verify the Windows version and architecture. Automatic detection from a name is only a suggestion. On Ubuntu, use an appropriate Linux path rather than a Windows drive letter.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 2

Set memory and processor allocation within the host's capacity. A 64-bit Windows desktop often needs several gigabytes of RAM for practical use, but the right amount depends on the applications. If the host is already short of memory, allocating more to the guest can make both systems slower.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 3

2. Create the virtual disk

Choose a new virtual hard disk unless you deliberately intend to reuse an existing one.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 4

VDI is a reasonable default for a VirtualBox-only setup. VMDK can be useful for particular interoperability workflows, but choosing it does not guarantee that the entire VM will run unchanged in another hypervisor.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 5

A dynamically allocated disk grows as data is written, up to its configured limit. A fixed-size disk reserves space up front. Neither choice eliminates the need to monitor free space on Ubuntu.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 6

Choose enough capacity for Windows, updates, and your applications. Do not assume an old 30 GB example leaves adequate working space. Expanding a disk later can also require extending the guest partition.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 7

3. Attach the Windows ISO

Open the VM's Settings > Storage. Select the virtual optical drive, choose a disk file, and select the Windows ISO. Some current wizards let you select it during creation and may offer unattended installation.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 8

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 9

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 10

Start the VM. If the first-run dialog asks for startup media, select the intended ISO. Press a key only when the initial installer boot prompt requires it.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 11

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 12

4. Install Windows into the virtual disk

  1. Choose language and keyboard settings in Windows Setup.
  2. Select the licensed edition and follow the activation prompts.
  3. For a new empty VM, choose the installation option for a clean install and select its unallocated virtual disk space.
  4. Let Setup create the required partitions and complete installation. Confirm that the disk shown belongs to this VM; do not attach a physical host disk for this tutorial.
  5. After automatic restarts, let the VM boot from its virtual hard disk rather than restarting Setup from the ISO.
  6. Complete the account and privacy prompts appropriate to your edition and environment.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 13

When the desktop appears, verify storage and basic operation before installing extra software.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 14

5. Install compatible Guest Additions

In the running VM's menu, choose Devices > Insert Guest Additions CD image. The Host key—often Right Ctrl—releases captured keyboard and pointer input; it does not shut down the VM.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 15

Inside Windows, open the mounted Guest Additions disc and run its Windows installer. Use the Guest Additions version supplied for your host installation and appropriate to the guest.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 16

Review the prompts, complete the driver installation, and restart Windows when ready.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 17

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 18

Test window resizing and display resolution. Guest Additions improves integration but does not guarantee that every application or graphics workload will perform like a physical PC.

How to create a Windows 10 virtual machine on Ubuntu with VirtualBox Picture 19

Verify and protect the setup

  • Shut down Windows normally and confirm that the VM starts again.
  • Check networking and the update status applicable to your Windows edition.
  • Enable shared folders, clipboard, drag-and-drop, or bridged networking only when needed; they connect the guest more closely to the host or network.
  • Keep backups of the VM and important files. A snapshot is useful for experiments but is not an independent backup.

For the general wizard, see creating virtual machines in VirtualBox. Consult Microsoft's Windows 10 release and support information before planning ongoing use.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.