OPERATING SYSTEMSOS Windows

WslRegisterDistribution failed with error: 0x80070422


This error is known to appear when installing WSL manually. When installing, the process fails with error 0x80070422. The error also ads an error message— The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. If you are facing the same, this post will help you to resolve WslRegisterDistribution failed with error: 0x80070422.

WslRegisterDistribution failed 0x80070422

WslRegisterDistribution failed with error: 0x80070422

We suggest trying the following methods to resolve the problem.

  1. Restart the LxssManager service
  2. Check if Security Software is blocking
  3. Reinstall WSL

These suggestions have been known to work for users.

1] Restart the LxssManager service

  • Type services in the Run prompt (Win +R), and press the Enter key
  • In the Services snap-in, locate LxSSManager
  • Right-click on it, and choose to start.
  • Try starting WSL, and it should work.

Now, the problem here is that you will have to do this every time the computer restarts. So it is best to set the start mode to auto. Double-click on the LxSSManager service and set the Startup Type to Automatic.

restart LxSSManager service Access Denied

If you get an access denied message, you can either use PowerShell or Command Prompt in admin mode and execute the following command.

sc config LxssManager start=auto

Once done, the service will automatically start when the computer does. While this should automatically happen when any Linux flavor is launched, but this is the workaround if it doesn’t.

2] Check if Security Software is blocking

Some users reported that their security software blocks the LxSSManager service from starting. If this is the case, you can manually check with your software if the service is listed under their blocked applications. You need to whitelist the service by adding it as an exemption.

3] Reinstall WSL

Reinstall WSL

One more solution that has worked for some set of users is reinstalling WSL.  It can be removed using the Windows Features section and then reinstalled.

  • Type Windows Features, and click on the option when it appears
  • Locate Windows Subsystem for Linux, and uncheck it
  • Click on the Ok button, let the wizard finish, and then reboot
  • Once back, follow the same steps except that this time install WSL.
  • Reboot the computer, and it should work now.

I hope the post was easy to follow, and the WslRegisterDistribution failed with error: 0x80070422 is resolved now. It is a service issue that needs to be running when WSL is launched. So once you solve it, it should work as expected.

WslRegisterDistribution failed 0x80070422

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *