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

Published Oct 08 2018 10:03 PM 545K Views
Microsoft

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

 

The following is a video representation of the steps taken to complete the virtualization enablement process within Windows 10.

 

3 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-269983%22%20slang%3D%22en-US%22%3ERe%3A%20Step-By-Step%3A%20Enabling%20Hyper-V%20for%20use%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269983%22%20slang%3D%22en-US%22%3E%3CP%3EOf%20course%20you%20can%20always%20do%20it%20via%20script...%26nbsp%3B%20you%20will%20have%20to%20add%20the%20bios%20code%20specific%20to%20your%20hardware%20to%20enable%20virtualization%26nbsp%3B%20I%20have%20used%20this%20code%20to%20create%20VM's%20on%20machines%20previously%3C%2FP%3E%3CP%3ESetup%20the%20Disk%20to%20allow%20the%20hypervisor%3C%2FP%3E%3CP%3EBCDEDIT%20%2FSet%20%60%7Bcurrent%60%7D%20hypervisorlaunchtype%20auto%3C%2FP%3E%3CP%3EInstall%20the%20Module%3C%2FP%3E%3CP%3EEnable-WindowsOptionalFeature%20-Online%20-FeatureName%20Microsoft-Hyper-V%20-All%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EImport-module%20Hyper-v%3C%2FP%3E%3CP%3ECreate%20a%20Switch%3CBR%20%2F%3ENew-VMSwitch%20-Name%20VMSwitch%20-NetAdapterName%20Ethernet%3C%2FP%3E%3CP%3ECreate%20a%20new%20VM%3C%2FP%3E%3CP%3ENew-VM%20-Name%20%22Windows%2010%20Image%22%26nbsp%3B%20-newVHDPath%20c%3A%5CVM%5CW10x64.vhdx%20-NewVHDSizeBytes%2050gb%20-MemoryStartupBytes%203084mb%3C%2FP%3E%3CP%3EYou%20can%20Add%20new%20adapters%3CBR%20%2F%3Eget-vm%20%22%3CSPAN%3EWindows%20%3C%2FSPAN%3E%3CSPAN%3E10%20%3C%2FSPAN%3E%3CSPAN%3EImage%3C%2FSPAN%3E%22%7CAdd-VMNetworkAdapter%20-islegacy%20%24true%20-Name%20Bootable%3C%2FP%3E%3CP%3EYou%20can%20change%20adapters%3C%2FP%3E%3CP%3Eget-vm%20%22%3CSPAN%3EWindows%20%3C%2FSPAN%3E%3CSPAN%3E10%20%3C%2FSPAN%3E%3CSPAN%3EImage%3C%2FSPAN%3E%22%7CGet-VMNetworkAdapter%20-name%20%22Bootable%22%7CConnect-VMNetworkAdapter%20-Switchname%20VMSwitch%3C%2FP%3E%3CP%3EChange%20the%20Integration%20Service%20Options%3C%2FP%3E%3CP%3EEnable-VMIntegrationService%20-VMName%20%3CSPAN%3E%22Windows%20%3C%2FSPAN%3E%3CSPAN%3E10%20%3C%2FSPAN%3E%3CSPAN%3EImage%3C%2FSPAN%3E%20-Name%20%22Guest%20Service%20Interface%22%3C%2FP%3E%3CP%3EChange%20the%20startup%20order%3CBR%20%2F%3ESet-VMBios%20%3CSPAN%3E%22Windows%20%3C%2FSPAN%3E%3CSPAN%3E10%20%3C%2FSPAN%3E%3CSPAN%3EImage%22%3C%2FSPAN%3E%20-StartupOrder%20%40(%22IDE%22%2C%22LegacyNetworkAdapter%22%2C%22CD%22%2C%22Floppy%22)%3C%2FP%3E%3CP%3ERemove%20an%20adapter%3CBR%20%2F%3Eget-vm%20%3CSPAN%3E%22Windows%20%3C%2FSPAN%3E%3CSPAN%3E10%20%3C%2FSPAN%3E%3CSPAN%3EImage%3C%2FSPAN%3E%22%7CRemove-VMNetworkAdapter%20-name%20%22Network%20Adapter%22%3C%2FP%3E%3CP%3EStart%20up%20a%20VM%3CBR%20%2F%3Estart-vm%20%3CSPAN%3E%22Windows%20%3C%2FSPAN%3E%3CSPAN%3E10%20%3C%2FSPAN%3E%3CSPAN%3EImage%3C%2FSPAN%3E%22%3C%2FP%3E%3CP%3EGet%20the%20Mac%20Address%20of%20a%20VM%3CBR%20%2F%3E(get-vm%20%3CSPAN%3E%22Windows%20%3C%2FSPAN%3E%3CSPAN%3E10%20%3C%2FSPAN%3E%3CSPAN%3EImage%3C%2FSPAN%3E%22%7CGet-VMNetworkAdapter).macaddress%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176089%22%20slang%3D%22fr-FR%22%3ERe%3A%20Step-By-Step%3A%20Enabling%20Hyper-V%20for%20use%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176089%22%20slang%3D%22fr-FR%22%3E%3CP%3EOwn%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2394305%22%20slang%3D%22zh-CN%22%3EReply%3A%20Step-By-Step%3A%20Enabling%20Hyper-V%20for%20use%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2394305%22%20slang%3D%22zh-CN%22%3E%3CP%3ECan%20I%20do%20this%20on%20a%20MacBook%3F%3C%2FP%3E%3CP%3Emacs%20don%E2%80%99t%20have%20bios%20but%20have%20UEFI%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-267945%22%20slang%3D%22en-US%22%3EStep-By-Step%3A%20Enabling%20Hyper-V%20for%20use%20on%20Windows%2010%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-267945%22%20slang%3D%22en-US%22%3E%3CP%3EVirtualization%20provides%20a%20plethora%20of%20solutions%20from%20making%20the%20most%20of%20an%20organization%E2%80%99s%20hardware%20investment%20to%20running%20specific%20applications%20in%20other%20OS%20offerings.%20Windows%208%20was%20the%20first%20Windows%20client%20operating%20system%20to%20include%20hardware%20virtualization%20support%20natively.%20Using%20the%20same%20technology%20found%20in%20Windows%20Server%202012%20R2%2C%20the%20embedded%20Hyper-V%20client%20allowed%20IT%20professionals%20to%20move%20VMs%20from%20server%20to%20client%20without%20the%20requirement%20to%20re-learn%20the%20use%20of%20Hyper-V%20features%20and%20tools.%20Further%20enhancements%20were%20introduced%20in%20Windows%208.1%20such%20as%20Enhanced%20Session%20Mode%2C%20enabling%20high%20fidelity%20graphics%20for%20connections%20to%20VM's%20using%20the%20RDP%20protocol%2C%20and%20USB%20redirection%20which%20is%20enabled%20from%20the%20host%20to%20VM's.%20Windows%2010%20brings%20further%20enhancements%20to%20the%20native%20hypervisor%20offering.%20These%20include%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EHot%20add%20and%20remove%20for%20memory%20and%20network%20adapters%3C%2FSTRONG%3E%20%E2%80%93%20works%20with%20generation%202%20virtual%20machines%20running%20both%20Windows%20and%20Linux%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EWindows%20PowerShell%20Direct%3C%2FSTRONG%3E%20%E2%80%93%20the%20ability%20to%20run%20commands%20inside%20a%20virtual%20machine%20from%20the%20host%20operating%20system%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ELinux%20secure%20boot%3C%2FSTRONG%3E%20-%20Ubuntu%2014.04%20and%20later%2C%20and%20SUSE%20Linux%20Enterprise%20Server%2012%20OS%20offerings%20running%20on%20generation%202%20virtual%20machines%20are%20now%20able%20to%20boot%20with%20the%20secure%20boot%20option%20enabled%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EHyper-V%20Manager%3C%2FSTRONG%3E%20%3CSTRONG%3EDown-level%20management%3C%2FSTRONG%3E%20-%20Hyper-V%20manager%20can%20manage%20computers%20running%20Hyper-V%20on%20Windows%20Server%202012%2C%20Windows%20Server%202012%20R2%20and%20Windows%208.1%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EStep%201%3A%20Prerequisites%3C%2FSTRONG%3E%20The%20following%20prerequisites%20are%20required%20to%20successfully%20run%20Client%20Hyper-V%20on%20Windows%2010%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fwindows10mediacreationtool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EWindows%2010%20Pro%20or%20Enterprise%2064%20bit%20Operating%20System%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E64%20bit%20processor%20with%20%3CA%20href%3D%22http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSecond_Level_Address_Translation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ESecond%20Level%20Address%20Translation%3C%2FA%3E%20(SLAT)%3C%2FLI%3E%0A%3CLI%3E4GB%20system%20RAM%20at%20minimum%3C%2FLI%3E%0A%3CLI%3EBIOS-level%20Hardware%20Virtualization%20support%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EStep%202%3A%20Setting%20Up%20Hyper-V%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EEnsure%20that%20hardware%20virtualization%20support%20is%20turned%20on%20in%20the%20BIOS%20settings%20%3CA%20href%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2FCommunityServer.Blogs.Components.WeblogFiles%2F00%2F00%2F00%2F48%2F12%2F6116.HVW8a.jpg%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2FCommunityServer.Blogs.Components.WeblogFiles%2F00%2F00%2F00%2F48%2F12%2F6116.HVW8a.jpg%22%20border%3D%220%22%20alt%3D%22%22%20%2F%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3ESave%20the%20BIOS%20settings%20and%20boot%20up%20the%20machine%20normally%3C%2FLI%3E%0A%3CLI%3EClick%20the%20search%20icon%20(magnified%20glass)%20on%20the%20taskbar%3C%2FLI%3E%0A%3CLI%3EType%3CSTRONG%3E%20turn%20windows%20features%20on%20or%20off%3C%2FSTRONG%3E%20and%20select%20that%20item%20%3CIMG%20style%3D%22display%3A%20inline%3B%20border%3A%200px%3B%22%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2FCommunityServer.Blogs.Components.WeblogFiles%2F00%2F00%2F00%2F48%2F12%2Fmetablogapi%2FWindows10_HyperV_001_151C599B.png%22%20border%3D%220%22%20alt%3D%22Windows10_HyperV_001%22%20title%3D%22Windows10_HyperV_001%22%20width%3D%22300%22%20height%3D%22384%22%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3ESelect%20and%20enable%20%3CSTRONG%3EHyper-V%3CBR%20%2F%3E%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Windows%20Features%3A%20Turn%20Windows%20features%20on%20or%20off%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F55716i970FE84898427C4D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Windows10_HyperV_1.png%22%20alt%3D%22Windows%20Features%3A%20Turn%20Windows%20features%20on%20or%20off%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EWindows%20Features%3A%20Turn%20Windows%20features%20on%20or%20off%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EIf%20Hyper-V%20was%20not%20previously%20enabled%2C%20reboot%20the%20machine%20to%20apply%20the%20change.%20%3CSTRONG%3ENOTE%3A%20%3C%2FSTRONG%3EAs%20a%20best%20practice%2C%20configure%20networking%20for%20the%20Hyper-V%20environment%20to%20support%20external%20network%20connections.%20Also%20ensure%20that%20a%20virtual%20switch%20has%20been%20created%20and%20is%20functional.%3C%2FLI%3E%0A%3CLI%3EClick%20the%20search%20icon%20(magnified%20glass)%20on%20the%20taskbar%2C%20type%20%3CSTRONG%3EHyper-V%20Manager%20%3C%2FSTRONG%3Eand%20select%20the%20item%20%3CSTRONG%3ENOTE%3A%20%3C%2FSTRONG%3ERight%20click%20Hyper-V%20Manager%20to%20pin%20it%20to%20the%20task%20bar%3C%2FLI%3E%0A%3CLI%3EOpen%20the%20Virtual%20Switch%20Manager%2C%20found%20on%20the%20Actions%20panel%20in%20the%20Hyper-V%20Manager%2C%20by%20typing%20Hyper-V%20at%20the%20Start%20Screen%20%3CIMG%20style%3D%22display%3A%20inline%3B%20border%3A%200px%3B%22%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2FCommunityServer.Blogs.Components.WeblogFiles%2F00%2F00%2F00%2F48%2F12%2Fmetablogapi%2FWindows10_HyperV_003_16196ADA.png%22%20border%3D%220%22%20alt%3D%22Windows10_HyperV_003%22%20title%3D%22Windows10_HyperV_003%22%20width%3D%22500%22%20height%3D%22408%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3ESelect%20%3CSTRONG%3EVirtual%20Switch%20Manager%3C%2FSTRONG%3E%20in%20the%20Actions%20pane%3C%2FLI%3E%0A%3CLI%3EEnsure%20that%20%3CSTRONG%3EExternal%3C%2FSTRONG%3E%20is%20highlighted%2C%20and%20then%20click%20on%20the%20%3CSTRONG%3ECreate%20Virtual%20Switch%3C%2FSTRONG%3E%20button%3C%2FLI%3E%0A%3CLI%3EIf%20more%20than%20one%20NIC%20in%20is%20present%2C%20ensure%20that%20the%20proper%20NIC%20is%20selected%20for%20use%20on%20the%20VM%20external%20network%20connections%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Virtual%20Switch%20Manager%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F55718iD135A4C51241C6CF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Windows10_HyperV_2.png%22%20alt%3D%22Virtual%20Switch%20Manager%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EVirtual%20Switch%20Manager%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20following%20is%20a%20video%20representation%20of%20the%20steps%20taken%20to%20complete%20the%20virtualization%20enablement%20process%20within%20Windows%2010.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%3E%3CIFRAME%20src%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fvideo%2Fmedia%2Feb6ab0a3-4d91-4fc1-818a-e491627464a3%2Fwindowssandbox_high.mp4%3FWT.mc_id%3Dacademic-0000-abartolo%22%20width%3D%221280%22%20height%3D%22720%22%20frameborder%3D%220%22%20allowfullscreen%3D%22allowfullscreen%22%20title%3D%22Windows%2010%3A%20Getting%20Started%20with%20Virtualization%20in%20Windows%2010%22%3E%3C%2FIFRAME%3E%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-267945%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EVirtualization%20provides%20a%20plethora%20of%20solutions%20from%20making%20the%20most%20of%20an%20organization%E2%80%99s%20hardware%20investment%20to%20running%20specific%20applications%20in%20other%20OS%20offerings.%3C%2FSPAN%3E%26nbsp%3B%3CSPAN%3EUsing%20the%20same%20technology%20found%20in%20Windows%20Server%2C%20the%20Windows%2010%20embedded%20Hyper-V%20client%20allows%20IT%20professionals%20to%20move%20VMs%20from%20server%20to%20client%20without%20the%20requirement%20to%20re-learn%20the%20use%20of%20Hyper-V%20features%20and%20tools.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-267945%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAnthony%20Bartolo%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Dec 23 2021 08:05 AM
Updated by: