WSL: Running WSL results in Wsl/CallMsi/ERROR_PATH_NOT_FOUND

PLEASE note: i am fully aware how to enable/install wsl. I had it up and running but was having an issue that led me to uninstall it. THen thats were the problems began. So thru MULTIPLE attempts and methods listed on github, ms learn and multitude of other sites, my problem is just no where to be found. in a nutshell - The system cannot find the path specified. Error code:Wsl/CallMsi/ERROR_PATH_NOT_FOUND

I have enabled wsl thru windows features, thru dism, installed from the store. uninstalled, cleaned registry, appdata, leftovers. i have tried to clone into both wsl and linux…

     FeatureName      : Microsoft-Windows-Subsystem-Linux
     DisplayName      : Windows Subsystem for Linux
     Description      : Provides services and environments for running native user-mode Linux shells and tools on Windows.
     RestartRequired  : Possible
     State            : Enabled
    CustomProperties :
               ServerComponent\Description : Provides services and environments for running native user-mode Linux
               shells and tools on Windows.
               ServerComponent\DisplayName : Windows Subsystem for Linux
               ServerComponent\Id : 1033
               ServerComponent\Type : Feature
               ServerComponent\UniqueName : Microsoft-Windows-Subsystem-Linux
               ServerComponent\Deploys\Update\Name : Microsoft-Windows-Subsystem-Linux

Yet it says it’s enabled. I went thru the whole reinstall/reinable process, downloading Ubuntu from the store and got Installing, this may take a few minutes… WslRegisterDistribution failed with error: 0x80070002 Error: 0x80070002 The system cannot find the file specified. i tried reinstalling windows and doing updates but my machine gets hung up at 88% - 3 hours it was stuck there…

              Device name	Mr-Server
              Processor	11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz   2.69 GHz
              Installed RAM	16.0 GB (15.8 GB usable)
              Device ID	F751EC77-F5B8-436B-89EA-78E3655E8169
              Product ID	00331-10000-00001-AA921
              System type	64-bit operating system, x64-based processor
               Pen and touch	Pen support
            Edition	Windows 11 Pro Version	23H2
               Installed on	‎1/‎7/‎2024
               OS build	22631.3447
                Experience	Windows Feature Experience Pack 1000.22688.1000.0

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 16 (1 by maintainers)

Most upvoted comments

@mhekel: It looks like WSL is in a bad state. Can you try to manually install the latest MSI package and see if that solves the issue ?

I had this problem today and I contacted my friend about this issue. I tried these methods:

  1. Go to Settings->Apps->Terminal and click Repair. If it still doesn’t work, click Reset.
  2. Go to Control Panel->Uninstall a program->Turn on or off Windows features->Remove the tick mark from WSL folder and again tick the box.

If still the issue isn’t solved, check in the C:\Program Files folder whether it contains WSL folder. If there is no such file, use this link: https://www.mediafire.com/file/awn7ryarh068dsk/WSL.zip/file Extract this zip file to C:\Program Files and then restart your PC. It works perfectly now.

Ok so…??