Docker Desktop Hardware Assisted Virtualization Must Be Enabled Fix [Solved]

Symptoms & Diagnosis

The “Hardware assisted virtualization and data execution protection must be enabled in the BIOS” error typically occurs during the Docker Desktop startup process. It prevents the Docker engine from initializing the necessary backend components.

Common symptoms include a popup alert upon launching Docker or a failure status in the system tray icon. This issue is most frequent on Windows systems where the underlying hardware-level virtualization (VT-x for Intel or AMD-V for AMD) is toggled off or hidden by Windows features.

To diagnose, open your Task Manager (Ctrl+Shift+Esc), navigate to the “Performance” tab, and select “CPU.” Look for the “Virtualization” label. If it says “Disabled,” you must adjust your BIOS settings. If it says “Enabled” but Docker still fails, the conflict lies within Windows features or the WSL2 kernel.

Docker Desktop hardware assisted virtualization error fix and BIOS settings configuration.

Troubleshooting Guide

Resolving this error requires a two-step approach: enabling hardware-level settings and configuring the Windows operating system to recognize them.

Step 1: BIOS/UEFI Configuration

Restart your computer and enter the BIOS setup (usually by pressing F2, F10, F12, or Del during boot). Search for a menu labeled “Advanced,” “CPU Configuration,” or “Security.” Enable the following settings based on your processor:

For Intel CPUs: Enable “Intel Virtualization Technology” (VT-x). For AMD CPUs: Enable “SVM Mode.” Ensure that “Data Execution Prevention” (DEP) is also set to “Enabled” or “Always On.”

Step 2: Enable Windows Features via PowerShell

Even with BIOS enabled, Windows may need the Virtual Machine Platform and WSL2 components activated. Open PowerShell as an Administrator and run the following command:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Feature Verification Table

Use the table below to verify that all required components are correctly configured for Docker Desktop to run.

Component Required State Verification Method
Intel VT-x / AMD-V Enabled Task Manager > Performance > CPU
WSL 2 Installed wsl –list –verbose
Virtual Machine Platform Enabled Windows Features On/Off
Hyper-V (Optional for WSL2) Enabled Windows Features On/Off

Prevention

To prevent this error from recurring, avoid resetting your BIOS to “Optimized Defaults” without re-enabling virtualization settings. Some system updates or CMOS battery failures can revert these settings to factory defaults.

Keep your Windows OS updated to the latest build, as Microsoft frequently releases patches for the Windows Subsystem for Linux (WSL) that improve hardware virtualization handshakes. Finally, ensure you are using the latest version of Docker Desktop to maintain compatibility with Windows Hypervisor Platform updates.