The message
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed. … Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
Affects: WSL 2 (Windows Subsystem for Linux), Docker Desktop
Why is this happening?
WSL 2, and therefore Docker Desktop too, runs in a lightweight virtual machine. For that, the Windows feature “VM Platform” (Virtual Machine Platform) must be installed and the CPU’s hardware virtualization must be enabled in UEFI/BIOS. On many motherboards, it’s off by default.
How to fix it
- Open PowerShell as Administrator, run
wsl --install, and restart the PC. The command turns on the required Windows features. - Alternatively, do it manually: run
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartas Administrator and restart. - Enable virtualization in UEFI: Settings > System > Recovery > “Advanced startup: Restart now” > Troubleshoot > Advanced options > UEFI Firmware Settings. Depending on the manufacturer, the option is called, for example, “Intel Virtualization Technology (VT-x)” or “AMD-V”/“SVM Mode”. Change only this setting.
- Check in an Administrator PowerShell with
bcdedit /enum | findstr -i hypervisorlaunchtypewhether the hypervisor starts. If it says “Off”, set it withbcdedit /set hypervisorlaunchtype Autoand restart. - If you use VMware or VirtualBox, you need a version with Hyper-V support (VMware from 15.5.5, VirtualBox from 6).
Better not: Don’t change any other UEFI settings besides virtualization unless you know what they do.
Terms for this
Similar errors
- Docker Desktop: WSL needs updating / WSL 2 installation is incomplete
- could not select device driver "" with capabilities: [[gpu]] (Docker cannot pass the graphics card through to the container)
- pip: error: externally-managed-environment (Linux/WSL)
- Ports are not available: … bind: An attempt was made to access a socket in a way forbidden by its access permissions (Port is reserved by Windows)
- hipErrorNoBinaryForGpu: Unable to find code object for all current devices! (ROCm has no matching code for your AMD card)
Sources
- https://learn.microsoft.com/en-us/windows/wsl/troubleshooting
- https://learn.microsoft.com/en-us/windows/wsl/install
- https://support.microsoft.com/windows/c5578302-6e43-4b4b-a449-8ced115f58e1
Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.