-
Ensure hypervisor functionality is enabled in BIOS.
- I know it sounds stupid, but if you already have it enabled, disable it, restart the machine, and enable it again.
- Otherwise you will hit microsoft/WSL#5363
-
Launch a PowerShell prompt in Administrator mode [Win+X > Windows PowerShell (Admin)]
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart