xxxxxxxxxx
To check if your windows machine has WSL installed or not or just to check
wsl version, Open Powershell or Command Prompt as administrator & run :
wsl -l -v
xxxxxxxxxx
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart