How to Create a Virtual Machine Using Hyper-V on Windows 10

Published by | Categories: Computers - Tips & Tricks - Computers - Windows 10

Do you want to create virtual machines without using VirtualBox or VMware?

Hyper-V is a software built into Windows 10 Pro & Enterprise editions allowing users to create virtual machines that operate a guest OS separately.

Using Hyper-V which was first made available for Windows Server users, you can create a virtual machine connected to internet and do all kinds of stuff that you would do with third-party software like Oracle VirtualBox or VMware Workstation.

In this tutorial, you will learn how to enable Hyper-V on your Windows 10 machine and create a switch to then create a virtual machine that we will install Windows 10 into.

Let’s go!

Create Virtual Machines with Hyper-V on Windows 10

Enable Hyper-V

Even if Hyper-V is available in Windows 10 we need to enable it as it’s disabled by default, VMware users may experience some issues with their virtual machines as VMware uses Hyper-V feature. But VirtualBox will not experience any problems.

Open the Start menu and search for and open “Turn Windows features on or off“.

Check the option “Hyper-V” and click “OK“. This option is only available for Pro & Enterprise users.

As soon as you click “OK” Windows will apply the changes and you will be asked to restart your PC.

You will be invited to restart your PC, make sure you keep the link of this tutorial as a favorite and restart your PC.

Create a Virtual Switch

After you restart your PC Hyper-V will be enabled by default.

Open the Start menu and open the Hyper-V Manager, it’s the tool used to create and manage your virtual machines on Windows 10.

Click on “Virtual Switch Manager“.

Select “External” and click on “Create Virtual Switch“.

Put a name for your Virtual Network Switch, select your network adapter that is connected to the internet, and check “Allow management operating system to share this network adapter“”.

Click “OK“.

You will receive this message: Pending changes may disrupt network connectivity. This computer may lose its network connection while the changes are applied. This may affect any network operations in progress. These changes also may overwrite some static changes. If that happens, you must reapply the static changes to restore network connectivity. Do you want to continue?

Click “Yes“.

After you created your virtual network switch, now it’s time to create our virtual machine.

Right-click on your PC name and choose “New” > “Virtual Machine“.

Click “Next“.

Choose a proper name for your virtual machine and click “Next“.

If you want to store the virtual machine in a different location, you can do so in this step.

Choose “Generation 2“, it says: This virtual machine generation provides support for newer virtualization features, has UEFI-based firmware, and requires a supported 64-bit guest operating system. Click “Next“.

Enter how much RAM you want to give to your virtual machine, check “Use Dynamic Memory for this virtual machine” and click “Next“.

Select the virtual switch we created earlier for network connection, click “Next“.

Enter the size of your dynamically allocated virtual hard disk. Click “Next“.

If you have an ISO of the OS you want to install, select it under “Install an operating system from a bootable image file“. Click “Next“.

Click “Finish“.

Start the Hyper-V Virtual Machine and Install the OS

Right-click on your virtual machine and choose “Connect“.

Click the “Start” button to boot the virtual machine.

There you go, install your OS and enjoy your virtual machine!

If you have any questions about Hyper-V or virtualization feel free to leave a comment below ;)

Thanks for sharing.



The author:

Soufiane is a young computer scientist and specialist in web design, knows a lot of things in the computer world. This enthusiast enjoys helping people innovate and learn more about the IT world...

Write a comment:

xD oO ^_^ =] =) ;-( ;) :| :woot: :whistle: :sleep: :sick: :police: :p :o :ninja: :mm: :love: :lol: :kiss: :hmm: :evil: :bandit: :angel: :alien: :D :) :( 8)