How to enable Hyper-V on Windows 10 to create virtual machines like a developer — OnMSFT.com

Dave W Shanahan
4 min readFeb 1, 2022

Here are 3 ways to enable Hyper-V on Windows 10.

1. Windows Settings

1. Right-click the Windows button on your desktop and select Apps and Features
2. Choose Programs and Features located on the right.
3. Choose Turn Windows features on or off.
4. Check the box next to Hyper-V, including Hyper-V Management Tools and Hyper-V Platform, and click OK.

2. Command Prompt

1. Open Command Prompt as Administrator.
2. Copy and paste the following command into Command Prompt:
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
3. Press Enter to run the command.

3. Windows PowerShell

1. Open Windows PowerShell as Administrator.
2. Copy and paste the following command into PowerShell:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
3. Press Enter to run the command.

Did you know that if you enable Hyper-V on Windows 10, you can create, delete and manage virtual machines? Using a virtual machine (VM) lets you test out any new and unstable operating systems and try out new apps and features in a contained…

--

--

Dave W Shanahan

OnMSFT.com. Tech Writer. I love to write about Microsoft and other stuff.