Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

C++
Simple solution ,use wsl version 1 

Open powershell with admin and run :

wsl --set-default-version 1 assuming you installed wsl2 correctly and still getting this error, 
possible solution: enable virtualization in BIOS
Source

Also in C++: