Please provide virtualization enabled azure vm list

Nitin Arora 25 Reputation points
2023-07-22T11:37:30.58+00:00

HI MS Team,

I have a azure vm window server 2016 with D4S_V4 configruation, but i am unable to install hyper-v role in vm.

User's image

User's image

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

4 answers

Sort by: Most helpful
  1. Michael Durkan 12,241 Reputation points MVP
    2023-07-22T14:19:47.1933333+00:00

    Hi

    List of SKU's that support nested virtualization can be found here:

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

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    1 person found this answer helpful.
    0 comments No comments

  2. Boris Von Dahle 3,221 Reputation points
    2023-07-22T14:22:07.2266667+00:00

    Hello,

    You can check compatibility of your VM series in the page dedicated to vm sizes :

    User's image

    https://learn.microsoft.com/en-us/azure/virtual-machines/dv4-dsv4-series

    Your size support nested virtualization, following this documentation you should be able to solve your issue :

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-vm-by-use-nested-virtualization

    Hope this helps

    Regards

    0 comments No comments

  3. vipullag-MSFT 26,487 Reputation points Moderator
    2023-07-24T11:08:06.72+00:00

    Hello Nitin Arora

    We noticed your have rated low on one of the answer as not helpful. Thank you for taking time to share feedback.

    D4s_v4 series supports nested virtualization, which allows you to run Hyper-V inside the VM.

    If you are still encountering the "Hyper-V cannot be installed because virtualization support is not enabled in the BIOS" error, here are some steps you can follow to troubleshoot the issue:

    1. Stop the VM.
    2. Install powershell modules on your local machine and connect to Azure.
    3. Enable Nested virtualization as mentioned below:

    # Replace with your VM and resource group names

    $vmName = "YourVMName"

    $resourceGroup = "YourResourceGroupName"

    # Get the VM object

    $vm = Get-AzVM -Name $vmName -ResourceGroupName $resourceGroup

    # Enable nested virtualization

    Set-AzVM -VM $vm -NestedVirtualizationFlag On

    # Update the VM

    Update-AzVM -VM $vm -ResourceGroupName $resourceGroup

    1. Start Azure VM.
    2. Try to install Hyper-V role.

    Also, refer this document (https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-vm-by-use-nested-virtualization) which was mentioned in previous response by Boris.

    Hope this helps.
    If the answer is helpful, request you to take a resurvey.

    0 comments No comments

  4. TP 125.8K Reputation points Volunteer Moderator
    2023-07-25T07:07:26.14+00:00

    Hi Nitin,

    In the portal, please verify that the VM was created with Standard security. You can check this on the Overview tab, scroll down and look for Security type: Standard.

    azure security type standard overview tab

    For VM sizes less than v5 you need to select Standard because Nested Virtualization isn't supported with Trusted Launch.

    If the security type isn't Standard then you need to re-create your VM with Standard security. Be careful because when you change certain options on Basics tab it can change security type back to Trusted Launch even though you already switched it to Standard, so you may need to change the dropdown again.

    azure security type standard 2016 server

    After recreating your VM as described above you should be able to install Hyper-V and run nested VMs.

    Please click Accept Answer if the above was useful. If you still need assistance please add a comment below.

    Thanks.

    -TP


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.