skip to Main Content

After PC restart the WSL fails to start. Any wsl command like wsl –list gives
Class not registered Error code: Wsl/CallMsi/REGDB_E_CLASSNOTREG

I’ve tried updating the wsl by .msi installer but it cannot finish the installation because of The service could not be installed. Verify that you have sufficient privileges to install system services. And so I’ve tried to update the policies with gpedit.msc but no success with this. I feel like I’m stuck and only full windows reinstall could help. I’ve also tried uninstalling the wsl and reinstalling but with no success as well.

What’s also weird is that the application size in the windows settings is 0kb Windows settings image

2

Answers


  1. To fix "Class not registered" error, only repair WSL on

     "Settings > Applications > Instaled Applications > Windows Subsystem for Linux > Advanced Options > Repair".
    

    After do that, WSL command should return to work.

    Login or Signup to reply.
  2. Can you start the WSLService ? It’s possible that the msi is not able to update the service if it’s corrupt…

    I had to reinstall everything to make it work.
    Hope this help…

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search