Sunday, November 1, 2026
HomePowershellEnabling Nested Virtualization – SID-500.COM

Enabling Nested Virtualization – SID-500.COM


PowerShell

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.

Unknown's avatar

Printed by Patrick Gruenauer

Microsoft MVP on PowerShell & Microsoft 365, IT-Coach, IT-Advisor, MCSE: Cloud Platform and Infrastructure, Cisco Licensed Academy Teacher.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments