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

Zachary Wade 20 Reputation points

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:
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.
9,503 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,332 questions
{count} votes

Accepted answer
  1. TP 54,831 Reputation points


    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.



    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful