Posted by Anuraj on Sunday, May 7, 2017 Reading time :1 minute
This post is about fixing the error, Hardware assisted virtualization and data execution protection must be enabled in the BIOS which displayed by Docker while running Windows 10. Today while running Docker, it throws an error like this.
After few searches, I found the solution for this problem.
Enable Hyper V - You can do this by running the following command as administrator. -
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
Enable Hypervisor with following command -
bcdedit /set hypervisorlaunchtype auto.
You should run either one of the above commands. And you need to restart the system to apply the changes.
If the problem persist probably Hyper-V on your system is corrupted, so
Open in Control Panel > [Programs] > [Windows Features] and completely uncheck all Hyper-V related components. Restart the system. Enable Hyper-V again. Restart.
Happy Programming :)