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

lra 86 Reputation points


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,385 questions
{count} votes

2 answers

Sort by: Most helpful
  1. deherman-MSFT 34,686 Reputation points Microsoft Employee

    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

    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 :

    Follow until :

    bcdedit /enum

    bcdedit /set hypervisorlaunchtype auto

    Restart-Computer -Force

    0 comments No comments