Forum Discussion

Xperiens's avatar
Xperiens
Copper Contributor
Jan 23, 2024

Hyper-V can not be installed because virtualization support is not enabled in the BIOS

Win 2022 Datacenter as Hyper-V host

Win 2022 Datacenter as Virtual Machine

... after latest Windows Updates (troublemaker KB5034439 who require resize of Recovery partition to be able to be installed successfully)

... on the VM ... is Unable to install Hyper-V Role because of the error "Hyper-V can not be installed because virtualization support is not enabled in BIOS". Very first error it was a different one and it was fixed by enabling extensions who was fixed via this commands

/Hyper-V Host /Elevated PowerShell

#List of VM
Get-VM
Get-VMProcessor -VMName <name>

#Check Nested
(Get-VMProcessor -VMName <name>).ExposeVirtualizationExtensions

#Configure Nested Virtualization
Set-VMProcessor -VMName <name> -ExposeVirtualizationExtensions $true

#Disable Nested Virtualization
Set-VMProcessor -VMName <name> -ExposeVirtualizationExtensions $false

... but the error "Hyper-V can not be installed because virtualization support is not enabled in the BIOS" is very tough and I not yet find any solution yet. I'm convinced that they (MS) disable Nested Support via latest Windows Update, but it is only my personal opinion.

I even update firmware to the Bios of Host machine and triple check the Virtualization boxes to be enabled but since no one change it it is the same.

 

Anyone having some idea how to Enabled Nested Virtualization on Hyper-V Host Machine ?

2 Replies

  • Rokory's avatar
    Rokory
    Brass Contributor

    I have a similar issue on Windows Server 2025. I found out, that only servers with Desktop Experience have the issue. Installing Hyper-V on "Core" servers was possible for me.

  • Xperiens's avatar
    Xperiens
    Copper Contributor
    1. I create a new VM machine and this is happening the same: unable to add Hyper-V Role
    2. I have more Host machines and I test on a VM hosted on each .. and it is absolutely the same.

    It looks pretty weird and the only conclusion I can have is that with 3 months ago it was working and since that moment on Hosts and VM's was done only Windows Update and nothing more.

Resources