Windows 10 supports the installation of a number of distros that come under Windows Subsystem for Linux. But even when these distros are installed users have reported encountering Windows Subsystem for Linux has no installed distributions error. Some of the causes for this error come out to be misconfiguration with the default distro, supporting services not working, and more. This error is spotted when the wsl command is executed inside the Windows Command Prompt.
Windows Subsystem for Linux has no installed distributions
If you face this error, on of these suggestions is sure to help you resolve the issue:
- Check the LxssManager service.
- Install or update the Linux distro.
- Enable Virtual Machine Platform optional feature.
1] Check the LxssManager service
Open the Windows Services Manager and locate the LxssManager service.
Open their Properties and ensure that their Startup type is set to be Automatic and make sure that the service is Running. If not,click on the Start button.
2] Install or update the Linux distro
You can try to download and install a suitable Linux distro for your computer from the Microsoft Store.
3] Enable Virtual Machine Platform optional feature
Open Windows PowerShell as an Administrator and execute this command:
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
In case that it asks for a confirmation, to reboot your computer, hit Y to do it straight away or to do it later, hit N.
This should help!
- Tags: WSL