Hyper-V cannot be installed because virtualization support is not enabled in the BIOS - VM Gen2

lra 86 Reputation points
2022-10-28T17:32:46.1+00:00

Hi,

I'm trying to enable the HYPER-V role for a Gen2 VM, in order to deploy an azure stack HCI cluster.

However from Windows admin center does not allow me to install the role.

I try to do it directly from the vm but it tells me the following message**: Hyper-V cannot be installed because virtualization support is not enabled in the BIOS .**

The VM where I have installed the HCI operating system is generation 2, I understand that Genration 2 works with UEFI and Generation 1 with BIOS.

Any recommendation you can offer me. Thank you

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,086 questions
{count} votes

2 answers

Sort by: Most helpful
  1. deherman-MSFT 33,141 Reputation points Microsoft Employee
    2022-10-28T19:11:12.977+00:00

    @lra
    Only specific VM sizes are capable of running nested virtualization. Those that support it will be found on this page and are marked with ***. Here is a current list of VMs that support it:

    • D_v3
    • Ds_v3
    • Dv4
    • Dsv4
    • Ddv4
    • Ddsv4
    • E_v3
    • Es_v3
    • Ev4
    • Esv4
    • Edv4
    • Edsv4
    • F2s_v2 – F72s_v2
    • FX4 – FX48
    • M
    • Mv2

    Hope this helps. Let me know if you have further questions or run into any issues.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    2 people found this answer helpful.

  2. jimesh sutar 0 Reputation points
    2024-01-09T14:20:06.41+00:00

    First use the correct OS as mentioned by others below/above , if you still get the error then use the following link

    Please enable the bios using the following link :
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-vm-by-use-nested-virtualization

    Follow until :

    bcdedit /enum

    bcdedit /set hypervisorlaunchtype auto

    Restart-Computer -Force

    0 comments No comments