I cant create virtual machine using Hyper-v on Azure VM windows server 2019

akshay95 21 Reputation points
2021-10-04T17:09:56.79+00:00

I have Windows server 2019 running as Azure VM. I am trying to create virtual machine inside windows server as nested virtualization. I have Hyper- V running and containers enabled on windows server using this link - https://stackoverflow.com/questions/48255871/failed-to-start-the-virtual-machine-mobylinuxvm-because-one-of-the-hyper-v-com

Still I am getting this error when I create virtual machine -

Can you please help?
137456-vm.png

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

6 answers

Sort by: Most helpful
  1. Andreas Baumgarten 96,361 Reputation points MVP
    2021-10-04T21:33:21.75+00:00

    Hi @akshay95 ,

    only the Dv3 and Ev3 VM sizes are supporting nested virtualization with Hyper-V:
    https://azure.microsoft.com/de-de/blog/nested-virtualization-in-azure/

    137480-image.png

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.

  2. Philippe Levesque 5,681 Reputation points MVP
    2021-10-04T17:49:11.33+00:00

    Hi

    Make sure all HyperV service are running, but more importantly, can you click See detail inside your Windows, to know what is missing.

    Thanks

    0 comments No comments

  3. akshay95 21 Reputation points
    2021-10-04T18:32:46.983+00:00

    @Philippe Levesque
    I have rerun this command
    Install-WindowsFeature -Name Hyper-V -ComputerName <computer_name> -IncludeManagementTools -Restart

    also here is the full error msg 137460-image.png

    0 comments No comments

  4. Alan Kinane 16,786 Reputation points MVP
    2021-10-04T19:05:34.23+00:00

    Which VM size did you deploy? I believe nested virtualization is only supported on the D_v3 and E_v3 series. Possibly the D_v4 and E_v4 series also.

    0 comments No comments

  5. akshay95 21 Reputation points
    2021-10-04T19:52:25.43+00:00

    This is the size of my windows server 2019 azure VM -
    Is it not possible to run nested virtualization on this machine?
    If not is there any way I can run Linux container on this machine?
    137479-image.png

    0 comments No comments