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

Alexander Chekushev 20 Reputation points
2023-08-02T09:06:59.3266667+00:00

Hi, I am trying to enable Hyper-V on my VM but getting an error message "Hyper-V cannot be installed because virtualization support is not enabled in the BIOS".

User's image

VM size: Standard E2s v3 (Tried: D2s_v3, D4ds_v4, D2s_v3)

OS: Windows Server 2019 DataCenter Gen2 (Tried: Windows Server 2022 DataCenter Gen2 + WSL 2).

User's image

I am aware that there there are specific sizes which support nested virtualization.

Ref. https://learn.microsoft.com/en-us/azure/virtual-machines/acu

According to the document above, the VM size I've selected is supposed to support virtualization

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,606 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Alexander Chekushev 20 Reputation points
    2023-08-07T07:21:29.2533333+00:00

    The important step to get nested virtualization enabled is to select Security type = Standard for your VM.

    image

    Note: In most of the cases for me, RDP failed to authenticate to the VM with standard security type.

    If RDP client fails to login - reset password from left menu for the VM in Azure portal.

    1. Open Microsoft Azure Subscription Portal
    2. Select the VM
    3. After Selecting your VM Navigate to Support + troubleshooting >> Reset from left menu.

    User's image

    1. Enter existing username.
    2. Enter a password and click update.
    3 people found this answer helpful.

  2. Maciej Białkowski 15 Reputation points
    2023-11-15T12:12:54.83+00:00

    FYI

    I had exactly the same problem and the root cause was not a ACU or Security Type, but an operating system. The same exception: "Hyper-V cannot be installed because virtualization support is not enabled in the BIOS" I got always while using Image: "Windows Server 2022 Datacenter: Azure Edition Hotpatch - x64 Gen 2". Everything started working fine when I changed to "Windows Server 2022 Datacenter - x64 Gen2". Tried with D2s_v3 and D4ds_v4. Always security set to: "Standard"

    Hope it help you :)

    3 people found this answer helpful.

  3. Bogdan Florin 1 Reputation point
    2024-01-21T13:43:46.52+00:00

    I got the same problems of unable to install Hyper-V manager role on a Virtual Machine hosted on Windows 2022 Datacenter after latest updates. Anyone found a fix for this ? Virtualization is enabled in Host Bios and was working 2 months ago. I also update Bios Firmware and still not solved.