Firstly, check if your system supports Hyper-V
Open PowerShell as Admin and copy-paste the following:
systeminfo
Now check the status of:
VM Monitor Mode Extensions
Virtualization Enabled In Firmware
Second Level Address Translation
Data Execution Prevention Available
All will show Yes. If any show as No, your system may not support Hyper-V, or virtualization is disabled in BIOS.
If it supports, then open PowerShell as Admin and copy-paste the following:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Enter Y to have the computer restart to complete the installation.
Microsoft Reference Article: