On this submit, I’ll present you easy methods to allow nested virtualization on Home windows Server or Home windows 11. Nested virtualization permits you to run a Hyper-V host inside a digital machine. There are a number of steps required to set this up, and we’ll stroll via them collectively.
Step 1
Retailer your bodily Hyper-V host identify in a variable.
Step 2
Allow the Virtualization Extensions.
Set-VMProcessor -VMName $VMHost -ExposeVirtualizationExtensions $true
Step 3
Allow MAC Tackle Spoofing on the Hyper-V Host.
Get-VMNetworkAdapter $VMHost | Set-VMNetworkAdapter -MacAddressSpoofing On
Step 4 (really useful)
Disable Dynamic Reminiscence.
Get-VM -VMName $VMHost | Set-VMMemory -DynamicMemoryEnabled $false
Step 5 (really useful)
Take away all current snapshots.
Get-VM -VMName $VMHost | Get-VMSnapshot | Take away-VMSnapshot
Step 6 (really useful)
Flip off the snapshot function.
Get-VM -VMName $VMHost | Set-VM -CheckpointType Disabled -AutomaticStartAction Nothing -AutomaticStopAction
ShutDown
Mission achieved. Now you might be able to arrange a hyper-host in a vm.
Printed by

