Windows 10 supports the installation of a number of distributions belonging to the Windows subsystem for Linux. But even when these distributions are installed, users have reported meeting The Windows for Linux subsystem has no installed distribution. Fault. Some of the causes of this error result from a misconfiguration with the default distribution, non-working support services, and so on. This error is identified when the WSL This command is executed in the Windows command prompt.
The Windows for Linux subsystem has no installed distribution.
If you encounter this error, one of these suggestions will definitely help you solve the problem:
- Check the LxssManager service.
- Install or update the Linux distribution.
- Enable the optional feature of the virtual machine platform.
1] Check the LxssManager service
Open the Windows Service Manager and locate the LxssManager a service.
Open their properties and make sure their startup type is set to be Automatic and make sure the service is Operation. Otherwise, click on the button beginning button.
2] Install or update the Linux distribution
You can try to download and install a suitable Linux distribution for your computer from Microsoft Store.
3] Enable the optional feature of the virtual machine platform
Open Windows PowerShell as the administrator and run this command:
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
In case he asks for a confirmation, to restart your computer, press Y to do it immediately or do it later, press NOT.
This should help!