-1

enter image description hereenter image description hereI have Windows 11 machines

I installed docker and after installing I got an error "wsl --update" And when I run the code wsl --update in Windows PowerShell as Administrator I got an error:

Checking for updates...
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

Of course, I have WSL installed.

I have uploaded the error image above my question

0

1 Answer 1

0

In an elevated Windows Terminal prompt run the following command:

sc config LxssManager start=auto

If the issue still happens repair the WSL install:

enter image description here

If you still have problems run the current MSI for WSL yourself. You can find that here

Source: Here

3
  • Uninstall WSL then reinstall it using the install command. It’s very clear from your screenshot you have an old version of WSL installed. It’s also apparent you didn’t try starting the service I suggested you start nor did you Repair the WSL install.
    – Ramhound
    Commented Jun 26 at 11:24
  • I uninstalled and installed WSL And then I ran the service you suggested, but I get an error I upload the image again
    – mobin
    Commented Jun 26 at 11:42
  • Based on the information you have provided. I have answered your question.
    – Ramhound
    Commented Jun 26 at 12:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .