In order for you means to run digital machines inside digital machines (Hyper-V inside digital machines) you must allow nested virtualization. Nested virtualization is nice in order for you take a look at varied hypervisor eventualities inside VMs. We are going to now allow nested virtualization for Home windows 11 VM inside Hyper-V.
For nested virtualization to work, you must have Intel CPU with VT-x and EPT know-how and Home windows Server 2016 or later, or Home windows 10 or later (VM configuration 8.0). In case you are operating AMD CPUs, you must have not less than Home windows Server 2022 or Home windows 11 (VM configuration 9.3).
Earlier than operating instructions, guarantee that a VM is shut down. Additionally, again essential knowledge, or export VM in case one thing goes flawed.
To allow nested virtualization for a VM, you must run following command in Powershell (elevated)
Set-VMProcessor -VMName VMNameyouhave -ExposeVirtualizationExtensions $true
If you wish to disable nested virtualization for a VM run following command in Powershell (elevated)
Set-VMProcessor -VMName VMNameyouhave -ExposeVirtualizationExtensions $false
For those who want extra info, please go to – https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/enable-nested-virtualization
