There are several benefits of using virtual machines. You can safely test applications, and enjoy old or new operating systems without troubling your main PC. There are several third-party software available online like VirtualBox, VMWare, etc., using which you can create virtual machines on your PC. However, if you are using Windows 10 or Windows 11, you can enable the built-in Hyper-V feature and create a virtual machine.
Please note that your machine should be running Windows 10 Pro, Enterprise, or Education edition. If you are running the Home version of Windows 11 or Windows 10, the Hyper-V feature is not generally available. So, you must make some changes to your PC to enable it before proceeding further.
Enable Hyper-V Feature and Create a Virtual Machine on Windows 11 or Windows 10
So, in this tutorial, we are going to explain how to enable the Hyper-V feature on Windows 10 & 11 and create a virtual machine after that. You won’t require any third-party software as we are using the native Hyper-V feature of Windows. We have divided this tutorial into parts for better understanding. Let’s start.
A) Enable Virtualization in BIOS/UEFI and Hyper-V in Windows Features
Hyper-V is not enabled by default in Windows 10 or 11 and you have to manually 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 start with virtualization.
Step 1: 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.
Step 2: Enable Hyper-V Support in Windows 11 or Windows 10 Optional Features
After enabling virtualization from BIOS/UEFI settings, we have to enable the Hyper-V feature on Windows 11 or 10. We can do so in optional Windows Features. So, launch RUN by pressing Windows + R keys, type
optionalfeatures and press Enter.
Now, scroll down and look for the Hyper-V feature. 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. So, restart your computer and you have now successfully enabled Hyper-V on your Windows 10 or 11 PC.
B) Create a Virtual Machine on Windows 11 or 10 using Quick Create
Now, you are ready to create a virtual machine on Windows 11 or Windows 10. There are two ways of creating the virtual machine in Hyper-V. The first method is Quick Create and the second method is lengthy and advanced. So, we will check the Quick Create option first.
Step 1: Launch Hyper-V Manager and Select Quick Create
Go to Start and search for Hyper-V. Select the Hyper-V Manager application from the search results and open it. It will open the Virtual Machine Manager console on your Windows 10 or 11 PC.
Now, you will see the Hyper-V Manager console. Here, click on the Quick Create option from the right panel. You can use this option to quickly create a VM in Hyper-V on Windows 10 & Windows 11.
Step 2: Select OS Installation Source for Virtual Machine
In the Quick Create Virtual Machine window, you will see the list of operating systems. If you select any of the listed operating systems, Hyper-V Manager will download and install it on the virtual machine. The great thing is that Hyper-V also supports Linux (Ubuntu) out of the box.
However, you can also choose a local Windows ISO image if you have already downloaded it. So, to install OS from the local ISO file, select Local installation source from the left pane and click on the Change installation source button.
Now, browse and select Windows ISO you have downloaded and select it. Finally, click on Create Virtual Machine button and let the process complete.
Step 3: Connect and Install OS on Virtual Machine
After the VM has been created successfully, click on the Connect button to connect the newly created virtual machine via the console.
In the virtual machine console, click on Start to power on the VM. Now, you can boot from the attached Windows ISO and install OS on it. We have used Windows 11 ISO for this VM so, you can install Windows 11 on it. If you are installing Windows 11 Home, check this tutorial to create Local Account during setup.
NOTE: If you see “Start PXE over IPv4” error, simply select Reset from Action menu. After that, press any key to boot from ISO and it will work fine.
C) Create a Virtual Machine Manually using Detailed Steps
When you use the Quick Create option to create virtual machines, you get almost no options to set for VM. So, if you want to create the VM with customized settings, e.g. Generation 1 VM for Linux or older OSes, custom RAM, and HDD size, etc., follow these steps. We are creating a Windows 10 VM in this section.
Step 1: Start New Virtual Machine Wizard
So, in order to create a customized VM, select New > Virtual Machine from the right pane in the Hyper-V Manager console.
New Virtual Machine Wizard will start. Click Next on the Before You Begin screen.
Step 2: Type a Name and Select Generation of VM
On the next page, provide a name for your Windows 10 Virtual Machine. You can also change the location for storing Virtual Machine files. But you can leave it to default without any issues.
Now, you will be on the Specify Generation page. Here, select the generation of your VM. If you are creating a VM for old operating systems like Linux or Windows XP, select Generation 1. However, if you are creating a VM for operating systems that support UEFI and secure boot, you can select Generation 2. It also depends on your computer’s hardware.
Since in this tutorial, we are creating a Windows 10 virtual machine on Hyper-V, we will use Generation 2 to enable Secure Boot. After making your selection, click Next.
Step 3: Select RAM, Network, and HDD for New VM
Now, you will be on the Assign Memory tab. Here, select the amount of RAM to assign to this new VM and click Next.
On Configure Networking tab, select Default Switch to provide internet connectivity to VM. If you select Not Connected, the virtual machine won’t have internet connectivity. After selecting your desired option, click Next.
Now, on Connect Virtual Hard Disk tab, enter the Name, Location, and Size of the virtual hard disk for the virtual machine. You can allocate as much size as you want based on the available free space on your PC. In this tutorial, we have used 50 GB for our Windows 10 virtual machine. Click Next to continue.
Step 4: Select OS Installation Media and Create a Virtual Machine
Now, we are almost there. So, on the Installation Options page, choose “Install an operating system from a bootable CD/DVD-ROM” and then browse and select Windows 10 ISO image. After that, click Next to continue.
Finally, click Finish to create Windows 10 virtual machine on Hyper-V in Windows 11 or 10 PC.
Step 5: Connect the Virtual Machine and Install Windows 10
After successfully creating, Windows 10 VM will show up in the Hyper-V Manager console. Double-click or right-click and select Connect to connect this Virtual Machine.
After that, click Start to turn on your virtual machine and install Windows 10 operating system using the ISO you have selected in the previous steps.
Complete Guide on Virtual Machine Creation on Windows 11 and Windows 10
So, that was our guide on how to enable Hyper-V and create a virtual machine in Windows 11 and Windows 10. We have explained two methods to create VMs – Quick Create and Detailed steps method. So, if you are a noob and don’t have a good understanding, you can go for the Quick Create option. However, if you are well versed with Windows 10 or 11, you can go for detailed steps for creating a VM.
Remember, you must enable virtualization in BIOS/UEFI settings to use the Hyper-V feature. Well, we hope you had a good time following this guide. Feel free to share your queries and suggestions in the comment section below. You may also subscribe to our newsletter to get the latest updates directly into your inbox.