Step-By-Step: Enabling Hyper-V for use on Windows 10

Published 10-08-2018 10:03 PM 391K Views

Virtualization provides a plethora of solutions from making the most of an organization’s hardware investment to running specific applications in other OS offerings. Windows 8 was the first Windows client operating system to include hardware virtualization support natively. Using the same technology found in Windows Server 2012 R2, the embedded Hyper-V client allowed IT professionals to move VMs from server to client without the requirement to re-learn the use of Hyper-V features and tools. Further enhancements were introduced in Windows 8.1 such as Enhanced Session Mode, enabling high fidelity graphics for connections to VM's using the RDP protocol, and USB redirection which is enabled from the host to VM's. Windows 10 brings further enhancements to the native hypervisor offering. These include:

  • Hot add and remove for memory and network adapters – works with generation 2 virtual machines running both Windows and Linux
  • Windows PowerShell Direct – the ability to run commands inside a virtual machine from the host operating system
  • Linux secure boot - Ubuntu 14.04 and later, and SUSE Linux Enterprise Server 12 OS offerings running on generation 2 virtual machines are now able to boot with the secure boot option enabled
  • Hyper-V Manager Down-level management - Hyper-V manager can manage computers running Hyper-V on Windows Server 2012, Windows Server 2012 R2 and Windows 8.1

Step 1: Prerequisites The following prerequisites are required to successfully run Client Hyper-V on Windows 10:

Step 2: Setting Up Hyper-V

  1. Ensure that hardware virtualization support is turned on in the BIOS settings
  2. Save the BIOS settings and boot up the machine normally
  3. Click the search icon (magnified glass) on the taskbar
  4. Type turn windows features on or off and select that item Windows10_HyperV_001
  5. Select and enable Hyper-V
    Windows Features: Turn Windows features on or offWindows Features: Turn Windows features on or off 
  6. If Hyper-V was not previously enabled, reboot the machine to apply the change. NOTE: As a best practice, configure networking for the Hyper-V environment to support external network connections. Also ensure that a virtual switch has been created and is functional.
  7. Click the search icon (magnified glass) on the taskbar, type Hyper-V Manager and select the item NOTE: Right click Hyper-V Manager to pin it to the task bar
  8. Open the Virtual Switch Manager, found on the Actions panel in the Hyper-V Manager, by typing Hyper-V at the Start Screen Windows10_HyperV_003
  9. Select Virtual Switch Manager in the Actions pane
  10. Ensure that External is highlighted, and then click on the Create Virtual Switch button
  11. If more than one NIC in is present, ensure that the proper NIC is selected for use on the VM external network connections 
    Virtual Switch ManagerVirtual Switch Manager

Of course you can always do it via script...  you will have to add the bios code specific to your hardware to enable virtualization  I have used this code to create VM's on machines previously

Setup the Disk to allow the hypervisor

BCDEDIT /Set `{current`} hypervisorlaunchtype auto

Install the Module

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All


Import-module Hyper-v

Create a Switch
New-VMSwitch -Name VMSwitch -NetAdapterName Ethernet

Create a new VM

New-VM -Name "Windows 10 Image"  -newVHDPath c:\VM\W10x64.vhdx -NewVHDSizeBytes 50gb -MemoryStartupBytes 3084mb

You can Add new adapters
get-vm "Windows 10 Image"|Add-VMNetworkAdapter -islegacy $true -Name Bootable

You can change adapters

get-vm "Windows 10 Image"|Get-VMNetworkAdapter -name "Bootable"|Connect-VMNetworkAdapter -Switchname VMSwitch

Change the Integration Service Options

Enable-VMIntegrationService -VMName "Windows 10 Image -Name "Guest Service Interface"

Change the startup order
Set-VMBios "Windows 10 Image" -StartupOrder @("IDE","LegacyNetworkAdapter","CD","Floppy")

Remove an adapter
get-vm "Windows 10 Image"|Remove-VMNetworkAdapter -name "Network Adapter"

Start up a VM
start-vm "Windows 10 Image"

Get the Mac Address of a VM
(get-vm "Windows 10 Image"|Get-VMNetworkAdapter).macaddress


Occasional Visitor


Version history
Last update:
‎May 21 2019 04:39 AM
Updated by: