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

akshay95 21 Reputation points

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?

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

6 answers

Sort by: Most helpful
  1. Andreas Baumgarten 103.6K Reputation points MVP

    Hi @akshay95 ,

    only the Dv3 and Ev3 VM sizes are supporting nested virtualization with Hyper-V:



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

    Andreas Baumgarten

    1 person found this answer helpful.

  2. Philippe Levesque 5,706 Reputation points


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


    0 comments No comments

  3. akshay95 21 Reputation points

    @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,811 Reputation points MVP

    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

    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?

    0 comments No comments