How to enable Nested Virtualization for Hyper-V

How to enable Nested Virtualization for Hyper-V
 
Requirements for Nested Virtualization
In order for nested virtualization to work, you must meet all of the following:
The Hyper-V host must be at least the  Windows Server 2016, Hyper-V Server 2016
The Hyper-V host must be using Intel CPUs. AMD is not yet supported
A virtual machine must be off to have its processor extensions changed

Steps:

1. Stop  Hyper-V/VPS server

2. In  host server, open powershell and run  command :
get-vm vmname |Set-VMProcessor -ExposeVirtualizationExtensions $true
 

3. Start Hyper-v /VPS and install Hyper-V role

4. Check and configure  IP for virtual switch if  it is not automatically configured .

Add Feedback