Creating a virtual machine in VirtualBox for Microsoft Windows

Banner creando VM para Windows

In this guide, we are going to see how to create a Virtual Machine (VM) using VirtualBox to install Microsoft Windows 10 on it. Based on the previous article (Installing VirtualBox in Microsoft Windows).

Creating a VM for Microsoft Windows 10 step by step.

VirtualBox: New virtual machine

We start by opening the VirtualBox as shown in the previous image. To create the MV we can use several ways. In this tutorial we will do it from the machine menu as shown in the image below:

VirtualBox: New virtual machine

Once the option is selected, a window will be displayed in which the identifying name for the virtual machine and the location where it will be saved (its files) will be specified. In this same window, we will choose the type of operating system that we are going to virtualize. In our case, we select “Microsoft Windows” and the “Windows 10 64 Bit” version. If you have the 32-bit operating system installed, we can create the 32-bit machine. After selecting everything, it should look like the image shown below.

VirtualBox: Create virtual machine

After clicking on “Next”, the window appears to select how much RAM on our PC we want to assign to the VM. In our case, 2 Gigabytes (2048 Megabytes) were assigned, although depending on how many gigs of RAM your PC has, more could be assigned.

VirtualBox: Memory size of a virtual machine

The next step is to create the hard drive of our virtual machine, and we proceed as shown in the following image.

VirtualBox: create virtual machine, hard drive

To create a hard drive, we have various formats available in case we want to export the VM to other virtualization software. In this case, we will select the first option.

VirtualBox: Create virtual hard drive, hard drive file type

Next, we are going to select how we want to store the hard drive of the virtual machine. There are the two options shown in the image, you can read the explanation of both options and decide the one that best suits you. In our example case, we will use the first option to be a little more conservative with our PC space.

VirtualBox: Create virtual hard drive, storage on physical hard drive

To conclude with the creation of the VM hard drive, in this window we will specify in which location we want it to be saved. We can leave the location that appears by default or select another. We are also going to decide how much space that hard drive will have to store data (keep in mind that the location where you are going to save it has that free space). In our case, we will set a size of 30 Giga Bytes.

VirtualBox: Create virtual hard drive, file location and size

Once we click the Create button in the previous image, our virtual machine is already created.

VirtualBox: List of virtual machines

Before starting to use the newly created virtual machine, we are going to make some adjustments and show some configuration options that can be very useful to us. To make changes to the configuration of the virtual machine, we are going to select it in the list and click on the Configuration button, as shown in the image below.

VirtualBox: Virtual Machine Management

Once the Configuration button is pressed, a window like the one shown in the following image will appear. In this window, we can change all the parameters used when the virtual machine was created and many others.

VirtualBox: Setting up a virtual machine

Among the first settings we will make, we are going to enable the option to share the clipboard and enable drag and drop. In both options, we are going to choose the “Bidirectional” value. This allows us to copy things on our PC and paste them into the VM, as well as drag content. It should be as shown in the image.

VirtualBox: General configuration of a virtual machine

Next, we are going to adjust the number of cores that the virtual machine processor will have. It is very important to know that this value depends on the number of cores that our real processor has. That is, the one that the real machine has physically installed. In our case, we will assign 2 cores to the virtual machine microprocessor, as shown in the following image.

VirtualBox: Screen Options of a virtual machine

Among the changes to be made, we are going to improve the video configuration of our virtual machine. To do this, we are going to specify how many megabytes of video it will have. We are also going to allow 3D acceleration to be used in our virtual machine. The changed parameters should look like the following image.

VirtualBox: Screen Options of a virtual machine

Another essential adjustment is to select the installation media, which in these cases we will use CD or DVD images in .ISO files, which is the most standardized format. As shown in the image of the Configuration window, we select Storage and there is the CD drive of the virtual machine. In the CD icon, we will select the ISO file to use that we must have previously downloaded, or we can do this step later.

VirtualBox: Storage Options for a virtual machine

Once you click on the Select a disk file option, a dialog box will appear in which we will search. Select the ISO file to use to install the virtual machine.

VirtualBox: Microsoft Windows ISO to install a virtual machine

Once the corresponding ISO file has been selected, it should look like the image shown below

VirtualBox: Storage, Windows ISO selection for installing a virtual machine

Another adjustment that we will make will be to specify the network configuration that the virtual machine will have. VirtualBox has several ways to configure the network, in another article we will see each of the variants and their possibilities. In this case, we are only going to put a network card in the virtual machine and specify that it will work as a bridge adapter. It is important that below we choose the name of our network adapter that is connected to the network. In the event that we do not have a network, we can select the “Host-only adapter” option, which is a virtual network adapter created by VirtualBox. Continuing with the tutorial, we will continue as shown in the image.

VirtualBox: Network Options of a virtual machine

Another adjustment that we are going to make is to add a shared folder so that it is accessible from the virtual machine. For that, we go to the “Shared Folders” option and click on the folder icon with the + sign. In the window that appears, We fill in the corresponding data.

VirtualBox: Virtual Machine Shared Folder Options

We can add as many shared folders as we want, once added they should look like the following image.

VirtualBox: List of Shared Folders in a VM

Virtual machine configuration settings. As you may have noticed, there are many more that you will discover little by little in the VirtualBox tool.

Power on the virtual machine

After making the settings, we are going to proceed to turn on the virtual machine. To do this, we select the machine in the VirtualBox list and click on the green arrow icon that says Start to turn it on.

VirtualBox: Power on a VM

Once the virtual machine is powered on, a new window will appear like the one shown below. This window will be the control interface to interact with the virtual machine. In it, we will see a menu bar which we will display below so that you can quickly see the options we have available.

VirtualBox: Starting virtual machine: Windows Setup Program

File Menu in the Virtual Machine Window, from this menu you can access the general VirtualBox configuration window. If we want to leave we can access the last option.

Very Important : whenever the hotkey combination Host+Letter appears on the right side of a menu. It refers to pressing the key (Right Control) + the corresponding letter.

VirtualBox: MV: File Menu

The Machine menu is related to specific options about the virtual machine, for example accessing its configuration, taking snapshots (snapshop). A snapshot of a virtual machine is a snapshot of its state, it is a snapshot that allows you to that point, pause, restart, etc.

VirtualBox: MV: Machine Menu

The “View” menu shows the options for viewing the virtual machine screen (Full Screen Mode Ctrol+F, Fluid Mode Ctrol+L, or Scaled Mode Ctrol+C). It also allows other options such as taking photos of the screen, recording videos, etc.

VirtualBox: MV: View Menu

The input menu is limited to keyboard and mouse options to interact with the virtual machine.

VirtualBox: MV: Entry Menu

The “Devices” menu is one of the most important and most used; It allows the management of connections from physical devices to the virtual machine. After that, in the last option “Insert Guest Additions CD image” is very significant, which allows you to put the VirtualBox drivers CD in the VM. Yes, friends, when VirtualBox emulates a machine it is emulating hardware and all hardware needs drivers for the operating system to work correctly on it.

VirtualBox: MV: Devices Menu

We also have a help menu in which we see access to online help, and data about the version is also shown in the last option.

VirtualBox: MV: Help Menu

At the bottom of the virtual machine window, a bar appears showing some options already configured. These allow you to secondary click on them to connect or access some options more directly.

That’s it for this tutorial on creating and configuring a virtual machine in VirtualBox for installing Microsoft Windows 10 on it.

I hope that you, dear reader, have understood and learned from it. If you have questions, you can leave a comment or join the Universo Digital Telegram group.

You can continue with the article Installing Microsoft Windows step by step and later with the article Installing Guest Additions to a Microsoft Windows VM.

Skip to content