How to enable Virtualization on Azure VM with windows 11?

Omkar Naik 0 Reputation points
2024-08-23T09:02:49.8+00:00

Hi,

We have An Azure VM with Windows 11 on which to install docker we are trying to install UBUNTU using WSL. When we try, we get the following error:
WslRegisterDistribution failed with error: 0x80370102 Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS. For information, please visit https://aka.ms/enablevirtualization Press any key to continue...

But on VM I'm unable to find setting to enable virtualization.

Our configuration is as below: User's image

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

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-08-23T11:23:55.1866667+00:00

    Hi Omkar Naik,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    When creating the VM, ensure that you select a size that supports the features required for your setup and choose the Standard security option, as shown in the screenshot below.

    image

    For VM sizes less than v5, you need to select the Standard security option because some features are not supported with Trusted Launch.

    If you have any further queries, do let us know.

    If the answer is helpful, please click "Accept Answer" and "Upvote".


  2. Marcin Policht 49,640 Reputation points MVP Volunteer Moderator
    2024-08-23T11:33:42.9366667+00:00

    Change to the VM size that supports nested virtualization.

    For details, refer to https://learn.microsoft.com/en-us/answers/questions/813416/how-do-i-know-what-size-azure-vm-supports-nested-v and https://techcommunity.microsoft.com/t5/azure-virtual-desktop/nested-virtualization-in-azure/m-p/3856425


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

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.