Hyper-V Enable Nested Virtualisation

Enable Nested Virtualisation KB ID 0001888

Problem

If you want to enable virtualisation in a VM that is running inside Hyper-V (itself a hypervisor). Then you need to expose the virtualisation elements of the physical hosts processor to the nested VM.

In the case of Intel VMs that’s VTx and EPT. (For Intel based CPUs). Under VMware you would simply enable “Expose hardware assisted virtualisation to the guest OS” But in Hyper-V you do not get that option.

Solution: Enable Nested Virtualisation

Well in truth you do get that option, you’ve just got to run a bit of PowerShell on the host. Note THE VM MUST BE POWERED OFF FIRST!

[box]

Set-VMProcessor -VMName {Name-of-VM} -ExposeVirtualizationExtensions $true

[/box]

Nice and easy

Related Articles, References, Credits, or External Links

VMware Workstation – Error – ” Virtualized Intel VT-x/EPT is disabled”

Leave a Reply

Your email address will not be published. Required fields are marked *