While working on your device, it is common to come across error messages. These are perfectly normal because they tell you that there is something that needs to be fixed. It could be a blocked process or a faulty hardware component.
In this article, we will be discussing all there is to know about the Windows Subsystem for Linux tool and one common error message associated with it.
The Windows Subsystem for Linux or WSL is a handy tool for developers. But sometimes, it causes problems on Windows 10. One of the most common error messages associated with it is “WslRegisterDistribution Failed with Error: 0x80370114.”
So, what is this error message all about and can it be fixed? In this article, we will share everything we know about this WSL error.
Pro Tip: Run a dedicated PC optimization tool to get rid of incorrect settings, junk files, harmful apps, and security threats that can cause system issues or slow performance.
What Is the Windows Subsystem for Linux?
To better understand the error, let us first know what the Windows Subsystem for Linux or WSL is.
The Windows Subsystem for Linux is a tool that allows developers to run a Linux platform on a Windows device. With the WSL, developers can select their favorite Linux distributions from the official Microsoft Store. They can also execute some command-line commands and tools, including sed, awk, and grep.
In addition, the WSL tool lets developers run Linux applications on Windows and run Bash shell scripts in command-line programs.
To install the WSL tool on Windows, you must do the following:
Step 1: Enable the WSL Tool
First, you have to enable the Windows Subsystem for the Linux feature for the tool to run on Windows. To do this, launch the PowerShell with administrator privileges. And then, execute this command: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart. Once done, restart your computer.
Step 2: Install Your Choice of Linux Distribution
To proceed with this step, open the Microsoft Store first. From here, you can select a Linux distribution. Your options include the following:
- openSUSE Leap 42
- SUSE Linux Enterprise Server 42
- Kali Linux
- Debian GNU/Linux
Once you have made a choice, click on it. You will then be taken to the distribution’s page. Here, click the Get button. If it’s your first time installing a Linux distribution, you should see a console window launch. It will ask you to wait a few minutes for the files to decompress and be saved on your device. In the future, the installation of other distributions should only take less than a second.
Now, for the installation to complete, the Hyper-V Host Compute service should be up and running. Otherwise, you will receive the WslRegisterDistribution failed with error: 0x80370114.
What Is the WslRegisterDistribution Failed Error in Windows 10?
The WslRegisterDistribution failed with error: 0x80370114 occurs when the Hyper-V service is blocked during the installation of a Linux distribution using the WSL tool. It usually comes with the complete error message, “Error: 0x80370114 The operation could not be started because a required feature is not installed.”
When you see the error, you are likely not able to access the WSL command-line tool.
What Causes the WslRegisterDistribution Failed Error in Windows 10?
As mentioned, this error appears if the Hyper-V service is blocked during the installation of a Linux distro using the WSL tool. However, there are instances when it shows because of the absence of an essential supporting Windows 10 feature.
Basic Troubleshooting for the WslRegisterDistribution Failed Error in Windows 10
The fixes we have shared below are mostly time-consuming. But before you try them, reboot your computer first. There are times when all your computer needs is a quick reboot. You might be surprised to find that the error disappears after a reboot. This is especially true if you haven’t shut down your computer for a while.
Now, if you think you are suffering from a more complicated error that you cannot reboot normally, consider other advanced reboot options. After you reboot and you see the problem persists, troubleshoot!
To troubleshoot the problem, you will need to enable the Windows Subsystem for the Linux feature first. And to do so, there are two methods.
Method #1: Enable the Windows Subsystem for Linux Feature via the Turn Windows Features On or Off Option
To enable the Windows Subsystem for Linux feature via the Turn Windows Features On or Off option, search for the option using the search field. From the list of results, tick the option next to Windows Subsystem for Linux. Hit OK to proceed.
At this point, your system will find and install all the required system files. Once it is done, it will ask you to restart your computer. After your computer has restarted, there should be no more problems.
Method #2: Use the Windows PowerShell
Another way to troubleshoot the problem is by using Windows PowerShell. For this method to work, you need to open the Windows PowerShell with administrator privileges. And then, input the following command to enable the WSL feature: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux.
After entering the command, your system will then begin searching and installing all the required system files. When asked, input Y to restart your computer.
How to Fix the WslRegisterDistribution Failed Error in Windows 10
Now, if the above troubleshooting methods don’t work, then proceed with the fixes we have listed below.
Fix #1: Unblock the Hyper-V Host Compute Service
To unblock the service, you have to check first if you are using an antivirus solution. If you are using Windows Defender, proceed by doing these steps:
- Into the search field, input windows security. Hit Enter to launch the Windows Security window.
- Go to the App and Browser Control section.
- Click Exploit Protection Settings.
- Navigate to the Program Settings tab.
- Find the Hyper-V Host Compute service by going to this path: C:\WINDOWS\System32\vmcompute.exe.
- Select the service and click on the Edit button.
- Find the Code Flow Guard (CFG) section and untick the Override System Settings option.
- Next, open Windows PowerShell with administrator privilege.
- Execute this command: net start vcompute.
It is worth noting that the App and Browser control under Windows Security plays a vital role in your PC. It protects your device from threats and potentially dangerous, files, downloads, apps, and websites. So, be sure that it is not disabled. If needed, you can just add an exception so other programs that depend on it can run as expected.
Fix #2: Restart the Lxss Manager Service
Another service that is associated with the WSL is the Linux Instance Life Cycle service. It runs in the background to somehow keep things in control. But if this service is blocked or is experiencing problems, then you can encounter the error. In this case, restarting the service can resolve the glitch.
To restart the service, here’s what you should do:
- Press the Windows + R keys to launch the Run dialog box.
- Input services.msc into the text field and hit OK.
- From the list of services, find the LxssManager service and restart it.
- Once done, relaunch the WSL tool and check if the error message is gone.
Fix #3: Launch the WSL tool from Microsoft Store
There are cases when the Linux distribution you installed has a bug, resulting in an error upon launch of the WSL tool. The good thing is that it can be easily cleared by relaunching the WSL app directly from the Microsoft Store’s interface.
For a detailed guide on what to do, follow these steps:
- Go to the Taskbar and click the Windows Search field.
- Here, type Microsoft Store and hit Enter.
- A list of results will be displayed on your screen. Click on the most relevant result.
- In the upper-right corner of the window, click the three-dotted menu.
- Select My Library.
- Navigate to the left pane of the window and click Installed.
- Next, go back to the right pane and choose your Linux Distribution app.
- Click the Launch button and see if the problem is resolved.
Fix #4: Update the Linux Terminal via Command Prompt
If you are running an older version of the distribution, then you may likely encounter the error. But again, this can be fixed. Updating the app will do the trick.
To update your Linux distribution, use the Command Prompt. This way, you don’t need to reinstall the application. Here’s a guide on what to do:
- Go to the Taskbar and click the Windows Search field.
- Input Command Prompt and hit Enter.
- In the list of results, right-click on Command Prompt.
- Select Run as Administrator.
- Next, input the following commands into the command line. Make sure to hit Enter after each command:
- C:\> bash
- $ sudo apt-get update
- $ sudo apt-get dist-upgrade
- $ <CTRL-D>
- C:\> exit
- Now, launch the WSL tool to see if the error has been cleared.
Fix #5: Repair the WSL App
If nothing has worked so far, then it is possible that the error is caused by a corrupt installation of the WSL app. To repair this, use the Repair feature of Windows.
- Right-click on the Windows button and select Settings.
- Go to Apps.
- Find and click on the WSL application.
- Select Advanced Options.
- Scroll down and find the Repair button.
- Once the app is repaired, check if the error is fixed. Otherwise, go back to the Advanced Options section.
- And then, click the Reset button. Take note that this action will cause you to lose your data and other settings.
- Relaunch the app and see if the error is cleared.
Fix #6: Reinstall the WSL Application
If repairing the app has not fixed the problem, then the damaged module of the app must have incurred so much damage that the repair process can no longer fix it. For this, you need to manually uninstall the app and reinstall it again.
Follow these steps:
- Right-click on the Windows button and select Settings.
- Find the WSL application and choose Uninstall.
- Once it is uninstalled, disable the Subsystem for Linux option and restart your device.
- Upon restart, try to enable the Subsystem for Linux option once again.
- And then, reinstall the WSL app. Hopefully, this will fix the problem.
Fix #7: Reset Your Windows PC
Microsoft allows Windows 10 users to reset their computers. Doing this will return your operating system to the way it was when it was accessed the first time, meaning any third-party applications are no longer present.
Performing a Windows 10 reset gives your computer a fresh start. This is a handy fix if you are experiencing a software-related problem and you can’t seem to resolve it.
There are two ways to reset Windows 10. Refer to the sections below.
Method #1: Reset Windows from Within
If you can successfully log in to Windows, then resetting it would be a straightforward process. Just follow these steps:
- Go to the Start menu.
- Select Settings.
- Navigate to Update and Security and select Recovery.
- In the right pane, go to Reset This PC and click Get Started.
- You have two options at this point: Keep My Files and Remove Everything. If you plan to choose the second option, be sure that you have already created a backup of your important data as they will be lost in the succeeding steps.
- If a warning appears, just click Next.
- In the window that appears, review the particulars of the action you will be doing. If you are happy with them, click the Reset button. This will initiate the reset process.
- The process will take a few minutes to complete. Also, your computer will restart several times along the way. The moment you see a screen that gives you three options, select one and hit Continue.
Method #2: Reset Windows 10 without Logging In
If you are unable to log in to your Windows 10 account, you still have another way to reset your device: Use the Boot Options menu. This menu will appear automatically if your device fails to boot properly two to three times consecutively. But if it doesn’t, you can call it up by pressing the Shift and Power button. And then, click Restart. Once your device reboots, you will see the Boot Options menu. From here, you can proceed with performing a Windows 10 reset.
Here’s how to proceed:
- Click the Troubleshoot
- Select Reset This PC.
- Perform steps 6 to 8 in the previous method and wait for your device to restart and reset itself.
- When asked to select one of three options after your device has been reset, select Continue.
Fix #8: Perform a Clean Install of Windows
Before you can proceed with performing a clean install of Windows 10, make sure that you meet the following requirements first:
- 1 GB RAM for 32-bit and 2 GB for 64-bit
- 1 GHz processor or faster
- 20 GB free hard drive space
- 800 x 600 display
- DirectX 9 Graphics Processor
- Stable Internet Access
- A valid Microsoft account
To perform a clean install, you have to consider a few things first. If you have downloaded the Windows 10 ISO file, but plan to install it on another computer, you can do so by using a DVD or a USB. To start, you should have a flash drive that has at least 4 GB of free space. If you are planning to use a DVD, make sure that the computer where you will be installing the OS has an optical drive.
Once you have all these requirements, you can proceed with creating a bootable drive. Insert the USB into your computer and load the burner software program of your choice. Follow the on-screen instructions to create the bootable disk. And then, choose a drive and find the ISO file you have downloaded. The process will then start and it should take around 10 to 15 minutes to complete.
After creating a bootable media device, install it on the computer. Insert the DVD or USB and switch off the computer. Next, switch it back on and hit the F2 or F12 button to access the BIOS boot menu. Here, select where your PC will boot from. Select your bootable drive. Follow the instructions from here.
Fix #9: Perform a Malware Scan
There are times when malware entities or viruses successfully infiltrate your system and affect important system processes or disable vital services. If that happens, then you will see error messages like the WslRegisterDistribution Failed with Error 0x80370114.
So, make it a habit to perform regular malware scans to protect your device against threats. Luckily, you don’t have to stress yourself out looking for the perfect malware scanner out there. You can use Windows 10’s in-built malware scanner: Windows Defender.
Here’s how to use it.
- Launch the Windows Security settings.
- Choose Virus and Threat Protection.
- Select Scan Options.
- From here, click Windows Defender Offline Scan.
- Hit the Scan Now button.
- The scan will take about 15 minutes to complete. After that, your device will restart.
- Once the scan is done, view the results by opening Windows Security Settings. Select Virus and Threat Protection, and then click Protection History.
- Follow the recommended actions.
Now, if you feel that the scan that you performed is not enough, you can still perform another scan using a third-party antivirus program.
Simply download an antivirus program of your choice and launch it. Again, perform a scan and remove the malware to keep your device protected against threats.
Fix #10: Use the System File Checker
The System File Checker is a tool that allows Windows users to scan and restore damaged corrupted system files that trigger errors on the Windows 10 platform. To use it, do the following:
- Press the Windows + X keys to launch the main menu.
- Select Command Prompt (Admin) to launch Command Prompt with administrator rights.
- In the command line, enter the sfc /scannow command and hit Enter.
- The repair process should now start. Make sure you don’t close the window or interrupt the process.
- Once the scan is complete, restart your computer.
Fix #11: Free Up System Space
In some cases, the error message appears because there is no enough space on your drive, so the system cannot complete the process. One way to deal with this problem is to free up space on your drive.
For this, you can use the Disk Cleanup tool which is built-in on most Windows 10 devices. To use it, follow these steps:
- Click the Start menu.
- Go to All Programs.
- Select Accessories and click System Tools.
- Choose Disk Cleanup.
- Under the Files to Delete section, select all file types that you want to remove.
- Once you have made a choice, hit OK.
You can also free up system space manually by going through your folders one by one. But this will consume much of your time. We suggest that you use the Disk Cleanup tool, or better yet, use a third-party PC repair tool.
Fix #12: Ask for Professional Help
If you have done everything but nothing seems to work, then do not be afraid to ask for help. Experts will always be willing to lend you a helping hand.
You can contact the support team of Microsoft via their website and ask for a solution that works for you. But if the need to fix the issue is urgent, then take it to professionals near you. Let them handle the error on your behalf so you don’t have to.
You may not be frequently using the Windows Subsystem for Linux tool all the time because it is designed for developers. However, it pays to know how it works, the common errors associated with it, their causes, and how to fix them. This way, you know how to act in the event that you encounter it in the future.
If you ever see the WslRegisterDistribution Failed with Error: 0x80370114, you already know what to do. Perform basic troubleshooting methods first: Enable the Windows Subsystem for Linux feature via PowerShell or through the Turn Windows Features On or Off option. If that doesn’t work, you can continue trying other fixes, including unblocking the Hyper-V Host Compute Service, restarting the Lxss Manager service, launching the WSL tool from the Microsoft Store, updating the tool via the Command Prompt, reinstalling the WSL application, and resetting Windows.
But if all else fails, you can always seek help from professionals. Reach out to Microsoft’s support team online or take your computer to the nearest authorized service center.
Let us know your thoughts about the WslRegisterDistribution Failed with Error 0x80370114. Share ways on how to resolve it in the comments!