Docker Desktop had been working for me, but upon opening it today I’m getting the error “Hardware assisted virtualization and data execution protection must be enabled in the BIOS.”
Oddly, the Hyper-V feature seemed to have unchecked, but I’ve checked it to reinstall the feature and rebooted.
Windows 10 21H2 19044.1682
Docker Desktop 4.7.1
So: the Hyper-V, and Windows Subsystem for Linux features are enabled, as is WSL2. The BIOS setting remains the same as before; virtualisation is enabled.
I’ve tried:
Running Docker Desktop as administrator
Uninstalling and reinstalling Docker
Renaming “%appdata%\Docker” and “%appdata%\Docker Desktop” so that they’re recreated on start.
WSL2 does not require the Hyper-V feature. It only depends on the “Windows Subsystem for Linux” and “Virtual Machine Platform” features. Windows Home doesn’t have the Hyper-V feature and WSL2 is still running like a charme.
It looks like hypervisorlaunchtype was set to off on your machine, which was confirmed by (Get-CimInstance -ClassName Win32_ComputerSystem).HypervisorPresent. Auto should have been the default behavior.