Enabled Nested Virtualization in Hyper-V VMs

August 30, 2020

Ever wanted nested virtualization inside a virtual machine that you are running on a Hyper-V host?  I have!  Looking around the GUI, the option cannot be found - that's because it's not there!  Here's how to enable it!

Note: Nested virtualization must be enabled on a VM-by-VM basis.

Run the following in PowerShell swapping VM_NAME_HERE for the name of your VM.

Set-VMProcessor -VMName VM_NAME_HERE -ExposeVirtualizationExtensions $true
To reverse your change, just change $true to $false. And that's it! Easy! I still wish that they would include the option the GUI, however.

©2024 Tyler Wright