While starting Windows Subsystem for Linux on your Windows computer, if you get an error saying Error: 0x80370102 The Virtual machine could not be started because a required feature is not installed, follow these steps to fix the issue. It is quite common when you disable the Hyper-V and try to use WSL2 on your PC.
WslRegisterDistribution failed with error: 0x80370102.
Error: 0x80370102 The Virtual machine could not be started because a required feature is not installed
Windows Subsystem for Linux requires Hyper-V and virtualization enabled to be used on a computer. Let’s assume that you mistakenly disabled one of the features on your computer even after enabling Windows Subsystem for Linux. In that case, you could get this error while starting WSL on your PC.
Error 0x80370102 The Virtual machine could not be started because a required feature is not installed
To fix Error 0x80370102 The Virtual machine could not be started because a required feature is not installed error; follow these steps:
- Enable Hyper-V
- Enable Hardware Virtualization
- Enable Nested Virtualization
- Turn on Virtual Machine Platform
To know more about these steps, continue reading.
1] Enable Hyper-V
It is the first thing you need to do to fix the issue stated above. Hyper-V is a must-have feature or functionality required for using Windows Subsystem for Linux on your Windows computer. Therefore, the following steps help you to enable Hyper-V on your PC:
- Click on the Taskbar search box.
- Type turn windows features on or off.
- Click on the individual search result.
- Find out Hyper-V.
- Tick the corresponding checkbox.
- Click the OK button.
- Let it finish the installation.
- Restart your computer.
After that, you will be able to use the Windows Subsystem for Linux without any problem.
2] Enable Hardware Virtualization
In order to use the Hyper-V powered Windows Subsystem for Linux on your PC, you need to turn on the hardware virtualization. If you mistakenly disabled it after installing WSL, you need to check and enable this feature from the BIOS. Before that, you can open the Task Manager on your computer and switch to the Performance tab. Here you can find a label called Virtualization.
Make sure that the status is showing as Enabled. If not, you need to follow this guide to enable hardware virtualization in Windows PC.
3] Enable Nested Virtualization
If you have installed Windows Subsystem for Linux on a virtual Windows machine, you need to turn on the nested virtualization. Depending on which virtual machine software you use, the steps might be different. However, almost all the popular virtual machine tools come with a similar option to enable nested virtualization.
4] Turn on Virtual Machine Platform
Virtual Machine Platform is another mandatory feature you need to enable in order to fix the Error 0x80370102 while starting the Windows Subsystem for Linux. To enable the Virtual Machine Platform, do the following:
- Search for turn windows features on or off in the Taskbar search box.
- Click on the search result.
- Find out Virtual Machine Platform option.
- Tick the corresponding checkbox.
- Click the OK button.
- Let the installation be completed.
- Reboot your computer.
After that, try running the WSL on your PC.
How do you fix virtual machine could not be started because the hypervisor is not running?
When trying to start or boot a Virtual Machine, if you receive a Virtual machine could not be started because the hypervisor is not running error on a host Windows 11/10 system, then you should first check if Virtualization is enabled in BIOS. Also, confirm if your CPU is Second Level Address Translation (SLAT) compatible. In addition, make sure the Hyper-V Virtual Machine Management service is set to start automatically.
That’s all! Hope this guide helped you use the Windows Subsystem for Linux without any error.
Read: Troubleshoot Windows Subsystem for Linux Error Messages and Codes.