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 2 requires Hyper-V and virtualization enabled to be used on a computer.
Switching to WSL version 1
Open PowerShell as administrator and Enter the following command
wsl --set-default-version 1
If you would like to keep using WSL 2, Hyper-V and virtualization need to be enabled
- Enabling Hyper-V
- After Hyper-V is enabled. open Windows Features again and enable Virtual Machine Platform