Enabling Hyper-V in Windows

You can do this in 2 ways:

PowerShell

  1. Run PowerShell as administrator and use the following command:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
  2. Restart your system when prompted to finish the installation process

Windows Settings

  1. In the search box on the taskbar start to type Turn Windows features on or off
  2. In the opened Control panel window, Select Hyper-V and click OK to begin the installation
  3. Restart your system when prompted to finish the installation process