Windows subsystem for linux has no installed distributions. powershell

by Milan Stanojevic

Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He's a PC enthusiast and he... read more

Published on August 26, 2019

Windows subsystem for linux has no installed distributions. powershell

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

A version of Unix Shell (namely, Bash) can be installed on Windows 10. However, many people encountered the “Windows Subsystem For Linux has no Installed Distributions” error message when trying to use Bash.

A user reported the following issue on a forum:

I am trying to use bash on Windows 10, but I’m getting this message when tried to run bash:
Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Windows Store: https://aka.ms/wslstore Press any key to continue… When I go to that url which opens the Windows Store app, there no sign of any Linux distribution there.

So, this is a major problem that makes the program inoperable. Also, there’s no sign of a Linux Distribution on Microsoft Store.

How to fix Windows Subsystem For Linux has no Installed Distributions error?

1. Wait for a few minutes

Quite a few users reported that the issue fixed by itself after a few minutes. Some processes take time before they start to run in the background.

So, when you reboot your computer, wait at least 5 minutes and then start the program.


Learn everything there is to know about installing Linux Bash on Windows 10!


2. Use Command Prompt to install Distributions

If the “Windows Subsystem For Linux has no Installed Distributions” error message appears, you need to install distributions manually by following the steps below.

  1. Press the Windows key and type cmd.
  2. Right-click on Command Prompt and select Run as administrator.
    Windows subsystem for linux has no installed distributions. powershell
  3. Type lxrun /install.
    Windows subsystem for linux has no installed distributions. powershell
  4. Press Y to begin the download.

3. Enable LxssManager Service

This error can appear if, for some reason, the LxssManager Service is disabled. Enable it in the manner described below.

  1. Press the Windows key + R.
  2. In the Run dialog box, type services.msc and click OK.
    Windows subsystem for linux has no installed distributions. powershell
  3. Find LsxxManager and double-click on it.
  4. Select the Startup type as Automatic.
  5. Click on Start and Apply.

Conclusion

As you can see, the “Windows Subsystem For Linux has no Installed Distributions” error can be solved easily.

Moreover, the problem might solve itself if you wait a few minutes after you restart your computer. If not, install the distributions manually or enable LxssManager Service.

Did you find our solutions helpful? How do you use Bash on Windows 10? Do let us know in the comments section below!

RELATED ARTICLES YOU NEED TO CHECK OUT:

  • Dual boot Windows 10 and Linux issues: Here’s a quick fix
  • Can’t install Linux with Windows 10? Here’s what to do
  • 4 great Linux emulators for your Windows 10 PC

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

Windows subsystem for linux has no installed distributions. powershell

Newsletter

How do I enable WSL in PowerShell?

To enable WSL run this command in a PowerShell prompt with admin privileges: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux .

How do I install WSL distributions?

Step 1 - Enable the Windows Subsystem for Linux..
Step 2 - Check requirements for running WSL 2..
Step 3 - Enable Virtual Machine feature..
Step 4 - Download the Linux kernel update package..
Step 5 - Set WSL 2 as your default version..
Step 6 - Install your Linux distribution of choice..
Troubleshooting installation..

How do I enable Windows Subsystem for Linux WSL?

To enable the Windows Subsystem for Linux (Beta), open the Control Panel, click Programs and Features, and click Turn Windows Features On or Off in left side bar under Programs and Features. Enable the Windows Subsystem for Linux (Beta) option in the list here and click OK.

How do I install WSL2 from PowerShell?

Install WSL command Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator", enter the wsl --install command, then restart your machine. This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux.