Hyper-V Nesting 2016/Windows 10

Great new feature of windows 10/2016 is that you can now nest the Hyper-V role. Long time coming as you have been able to do this VMware Workstation for may years. Anyway now it’s here it’s still not as simple as it should be… So this is how you do it, hope it saves you the pain I went through.

First of all you must be running Windows 10/2016 at version 1607 or above. Check this with the following command:

PS C:\WINDOWS\system32> winver

Enable Hyper-V role on you tin, that is your windows 10 laptop for example. You may need to turn on virtualization in the BIOS. Then build a 2016 Server as a VM. At this point you may well try enabling Hyper-V on the VM running 2016, I did. You’ll get the same message along the lines of it not supported.

  • Power off the 2016 VM
  • Open a Administrative PS window
  • Run the following two PowerShell  commands substituting “2016” for the name of your host:
PS C:\WINDOWS\system32> Set-VMProcessor -VMName 2016 -ExposeVirtualizationExtensions $true
PS C:\WINDOWS\system32> Get-VMNetworkAdapter -VMName 2016 | Set-VMNetworkAdapter -MacAddressSpoofing On
  • Power on your 2016 VM
  • Login and enable the Hyper-V role.
  • Done

Enjoy nested VMs at last on a full windows stack.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s