Enabling Hyper-V in Windows 10

Hyper-V is Microsoft’s Hypervisor and allows us to virtualize our hardware to create Virtual Machines on our devices. Virtualisation can take place not only on Servers but also client machines such as Laptops and Desktops, so long as they support virtualisation.

Virtualization of Server based resources has become the norm in IT and therefor Creating Virtual Machines (also known as ‘VMs’) has become an essential. Virtualisation helps us utilize our resources further by enabling multiple guest operating systems to run on a single host. Virtualisation also allows for segregation of the guest operating systems to give a sandboxed environments in which to test different applications and configurations without effecting the host system. One of the key benefits that i use virtualisation for, is being able to run Linux based machines within a Windows machine, this negates having to mess around with partitions and dual booting as well as having seperate machines for seperate operating systems. I can simply boot the Linux operating system in Hyper-V and begin my testing!

For the purposes of this guide, we will be installing Hyper-V on a Windows 10 client machine, while Hyper-V is avalible on Servers the installation for servers differs slightly.

Before we begin, there are a few prerequisites to be aware of for Hyper-V to function on Windows 10: 

  • Windows 10 Professional or Enterprise
  • 64Bit Processor
  • BIOS supported Virtualization (You may need to enable this in your BIOS settings)
  • Enough resources to support the Virtual Machines you are building

In order to verify that your system supports Hyper-V you can check using ‘SystemInfo’ in CMD or PowerShell: 

Type in ‘systeminfo’ (All one word) into your CMD or PowerShell window. And scroll to the bottom. 

sysinfo

At the bottom of the CMD output you should see the ‘Hyper-V Requirements’, if all listed Hyper-V requirements are marked as Yes then your system can run the Hyper-V role.

In order to enable Hyper-V you can follow the steps below: 

 
 
Firstly, hit Start and type in ‘Windows Features’, you should see an option of ‘Turn Windows Features on or off’.
 
Windows Features
 
You will then be displayed with a list of optional Windows Features which you can enable. Locate ‘Hyper-V’ and tick the box before pushing ‘OK’.
 
Hyper-V Windows Feature
 
Windows will then apply the changes and enable Hyper-V on your machine. A reboot is normally necessary to complete the changes.
 
Hyper-V
 
Once your computer has rebooted, hit ‘Start’ again and this time type ‘Hyper-V’, you will then see the option of ‘Hyper-V Manager’.
 
 Hyper-V
 
You will then be presented with the Hyper-V Management console. From here you will be able to create: Virtual Switches, Virtual Machines and Virtual Hard Disks.
 
For those looking to enable Hyper-V with PowerShell, you can use the following cmdlet, please make sure to run this as an administrator:
 
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
 
You will still need to reboot your machine after the above command is executed.
 
In my next post i will go through creating a Virtual Machine, as well as configuring storage and networking.
 
Thanks for Reading! 

2 thoughts on “Enabling Hyper-V in Windows 10

Leave a Reply to JDX Cancel reply

Your email address will not be published. Required fields are marked *