been using Docker on Windows for some time then last week an error occurred saying
Hardware assisted virtualization and data execution protection must be enabled in BIOS
here are the steps i followed to resolve this issue:
-
first make sure Virtualization is enabled in BIOS.
- if enabled in BIOS, then there is issue with Windows settings or Registry.
- uninstall Hyper-V form Windows Features (using Turn Windows features on and off), Restart, and Install Hyper-V again using Windows Features (using Turn Windows features on and off).
Restart and it will work as expected.
Reference: