Virtual Machines offer a great way to perform tests on various softwares, new operating systems, checking the authenticity of unknown applications. You can also enjoy older Windows operating systems like XP or 7. Besides Windows, you can also use Linux on Windows 10 via virtual machine. There are several third party software available, like Virtual Box, VMWare etc. that allow you to create virtual machines on your computer. However, if you are using Windows 10 Pro, you will not require any third party software to create virtual machines, Windows 10 itself has Hyper-V built in.
In this tutorial, we are going to explain how to enable Hyper-V feature on Windows 10 and how to create a virtual machine on Windows 10. We have also covered solution to some common issues while creating virtual machines in the third section. So, go through the whole tutorial.
Please note that your machine should be running Windows 10 Pro, Enterprise or Education edition. Hyper-V is not available on the Windows 10 Home edition.
Hyper-V is not enabled by default in Windows 10 and you have to first enable it in Windows Features. There is one more thing you need to take care of, i.e. you will have to enable virtualization in BIOS or UEFI settings if not enabled already. So, let’s go through this one by one.
1. Enable Virtualization in BIOS/UEFI Settings and Hyper-V in Windows Features
a) Enable Virtualization in BIOS/UEFI Settings
You can enable virtualization in BIOS/UEFI settings on your computer. The virtualization setting may vary depending on the make and model of the motherboard. We have a detailed tutorial on how to enable virtualization (VTx/AMD-V) in BIOS or UEFI settings. Check following link:
b) Enable Hyper-V Support in Windows Features
After enabling virtualization from BIOS/UEFI settings, we have to enable Hyper-V feature on Windows 10. We can do so in Windows Features. To open Windows Features, press Windows and R keys together to open Run window. Now, type optionalfeatures.exe and press Enter.
In the list of Windows Features, scroll down and look for Hyper-V. Make sure to enable all the checkboxes under Hyper-V and click OK.
After installing the necessary packages, it will ask you to restart the computer. Now, you are ready to create a virtual machine on Windows 10.
2. Create Virtual Machine on Windows 10 Using Quick Create Option
Go to Start and search for Hyper-V you will find Hyper-V Manager application on top. Open it.
Now, click on the Quick Create option on the right panel. You can create a VM really fast using this option.
Select the operating system that you would like to install on the virtual machine you are creating on Windows 10. The great thing is that Hyper-V also supports Linux (Ubuntu) out of the box. You can also choose a local Windows 10 ISO image if you have already downloaded it. To install OS from ISO file, select Local installation source from left pane and click on Change installation source button.
Browse for the ISO you have downloaded and select it. Now, click on Create Virtual Machine button and wait for the process to complete.
After machine has been created successfully, click on the Connect button and it will take you to the Virtual Machine.
The virtual machine is now ready. You can now continue to install the OS on it. We have used Windows 10 ISO in this process.
3. Create Windows 10 Virtual Machine Manually Using Detailed Steps
When you create virtual machines using the Quick Create option, sometimes, you might encounter some errors specially “Start PXE over IPv4“. Sometimes, due to Legacy BIOS, Hyper-V is not able to start the VM.
In that case, you can create the virtual machine manually using legacy standards i.e Generation 1. This method works best on older computers to create virtual machine on Windows 10. Just follow these steps.
First of all, click on New and select Virtual Machine from the right pane in Hyper-V Manager.
Next, provide a name for your Windows 10 Virtual Machine and move to the Specify Generation section. Here, make sure to select Generation 1 and click the Next button.
Keep moving ahead keeping the default settings intact until the Connect Virtual Hard Disk section. Now, enter the disk size that you would like to assign to virtual machine. We have used 20GB but you can choose your own disk space. After providing the disk size, click on the Next button.
Next, go to the Installation Options section. Choose the Windows 10 ISO image and click on Next button.
Click on Finish to close the setup wizard and you are done. In case you get any errors while creating virtual Hard disk, open the following file path in File Explorer and delete the existing virtual machines if any. After that, finish the setup wizard.
C:\Users\Public\Documents\Hyper-V\Virtual hard disks
Your virtual machine has been created successfully. Double-click on it to connect it, and now you can proceed with the installation of Windows 10 in a virtual machine instantly.
Play Around with Virtual Machines on Windows 10
Above tutorial explained two method on how to create virtual machines on Windows 10 using Hyper-V. You can use Quick Create option if you are not pro user. And if you are well verse with Windows, you can use manual method for creating virtual machine on Windows 10. Make sure to enable virtualization in BIOS/UEFI settings before enabling Hyper-V feature on Windows 10. Hope this tutorial helped you in creating virtual machine on Windows 10 using Hyper-V. Feel free to drop your queries and suggestion in the comment section down below.