Skip to content

Instantly share code, notes, and snippets.

@dexalex84
Created April 29, 2017 11:34
Show Gist options
  • Save dexalex84/254072dde1b02e4a078ed605ffbf9c47 to your computer and use it in GitHub Desktop.
Save dexalex84/254072dde1b02e4a078ed605ffbf9c47 to your computer and use it in GitHub Desktop.
Turn On Nested Virtualisation on Windows Host
Prerequisites
A Hyper-V host running Windows Server 2016 or Windows 10 Anniversary Update;
A Hyper-V VM running Windows Server 2016 or Windows 10 Anniversary Update;
A Hyper-V VM with configuration version 8.0 or greater;
An Intel processor with VT-x and EPT technology.
Configure Nested Virtualisation
Create a virtual machine.
While the virtual machine is in the OFF state, run the following command on the physical Hyper-V host. This enables nested virtualisation for the virtual machine.
Set-VMProcessor -VMName "<Your Virtual Machine Name>" -ExposeVirtualizationExtensions $true
Start the virtual machine.
Install Hyper-V within the virtual machine, just like you would for a physical server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment