Azure D4s v3 VM Virtualization not enabled? WSL unable to run correctly.

Zachary Wade 20 Reputation points
2023-04-03T21:19:07.3766667+00:00

Newly created Azure Virtual Machines of the D4s V3 class does not appear to have nested virtualization enabled as it should. It should as seen from this page: https://learn.microsoft.com/en-us/azure/virtual-machines/dv3-dsv3-series
About a month ago I was able to successfully install Docker on the same size VM, but on any new ones it fails. with the error that virtualization is not enabled in the BIOS:Docker error

To verify Virtual Machine Platform is enabled as seen in this image:Windows Feature is on

And incase it is a docker error, trying to go to powershell and install WSL manually results in error 0x80370102 that complains that virtualization is not enabled: powershell error

I have recreated the VM multiple times, turned the feature on and off with multiple restarts, nothing works to fix this issue and the errors seem to imply it is not enabled as it should be. These images were taken on a fresh VM that only has docker , 7-zip, and the WSL2 update package installed.
For verification the size of the VM is correct as seen in the image:
Ds4 v3 size

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,452 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,767 questions
{count} votes

Accepted answer
  1. TP 89,171 Reputation points
    2023-04-04T02:10:04.18+00:00

    Hi,

    Please confirm that you created the Virtual Machine with Security type: Standard. If not, you will need to recreate your VM and choose Standard in order to use Nested Virtualization.

    azure security type standard

    Please click Accept Answer if the above was useful.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.