How to configure nested virtualization on windows 10

How to configure nested virtualization on windows 10

 

In this blog post, I’ll show you How to configure nested virtualization on windows 10 Client machine. Nested virtualization is a feature that allows us to run a Virtual Machine Inside A Virtual machine by Installing Hyper-V Inside a running Virtual Machine.

By using Nested Virtualization we could setup a Hyper-V test lab, Windows Containers, etc.

Nested Virtualization was released with the Anniversary update for Windows 10 also knows as 1607.

The Prerequisites are as follow:

Hyper-V host running Windows Server 2016 or Windows 10 Anniversary update

A hosted VM running same as above with VM Configuration on version 8 and above

Intel CPU with VT-X and EPT technology

To get started, We need to configure the VM first to support the technology.

Shut down the VM

Open Powershell and run the cmdlet below with the VM Name to enable the virtualization extension

Set-VMProcessor -VMName windows10 -ExposeVirtualizationExtensions $true

To disable use the cmdlet below

Set-VMProcessor -VMName windows10 -ExposeVirtualizationExtensions $false

Next, Enable MAC Address spoofing In the advanced networking features

How to configure nested virtualization on windows 10
How to configure nested virtualization on windows 10

Set minimum two CPU cores and minimum 2GB of RAM

How to configure nested virtualization on windows 10
How to configure nested virtualization on windows 10

Start the VM and make sure your VM Is running version 1607 by typing winver In start menu

Install Hyper-V from Turn on Windows Features

Restart the VM and setup

Just remember that Nested VMs cannot be set up with Dynamic RAM Memory




Search blogs




Bitnami