Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running WSL results in Wsl/CallMsi/ERROR_PATH_NOT_FOUND #11483

Closed
mhekel opened this issue Apr 18, 2024 · 15 comments
Closed

Running WSL results in Wsl/CallMsi/ERROR_PATH_NOT_FOUND #11483

mhekel opened this issue Apr 18, 2024 · 15 comments
Assignees
Labels
failure-to-launch failure to launch

Comments

@mhekel
Copy link

mhekel commented Apr 18, 2024

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
Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@mhekel
Copy link
Author

mhekel commented Apr 18, 2024

Copy link

Diagnostic information
Detected appx version: 2.2.2.0
Detected user visible error: Wsl/CallMsi/ERROR_PATH_NOT_FOUND

@mhekel
Copy link
Author

mhekel commented Apr 18, 2024

Ok so...??

@benhillis benhillis changed the title Can't use traditional methods - accidently deleted wsl altogether--- Running WSL results in Wsl/CallMsi/ERROR_PATH_NOT_FOUND Apr 18, 2024
@benhillis benhillis added the failure-to-launch failure to launch label Apr 18, 2024
@benhillis
Copy link
Member

@mhekel - thanks for filing the issue, the bot is just trying to add some diagnostic information to help us triage the issue.

@OneBlue - could you please take a look?

@OneBlue
Copy link
Collaborator

OneBlue commented Apr 18, 2024

@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 ?

@mhekel
Copy link
Author

mhekel commented Apr 20, 2024

good lord ive been looking for that package for a minute.. going to run it

@mhekel
Copy link
Author

mhekel commented Apr 20, 2024

great big hi-5 yeeeeeeeeeeeeeeesssssssssssssssssssssssss it worked.

@mhekel mhekel closed this as completed Apr 20, 2024
@y0un3s3a
Copy link

Awesome sauce, thanks for the package, you predated my error with about 20 minutes

@joquiro85
Copy link

@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 ?

You are the best.:)

@RishiRaajhaA
Copy link

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.

@mhekel
Copy link
Author

mhekel commented Apr 30, 2024

@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 ?

--this link fixed in one minute the problem i had spent a week trying to solve

@rupert-source
Copy link

THANKKKKK YOUUUUUUU WOWWWWW DAMN THANKS TO WHO ASKED AND THANKS TO THE GUY WHO ANSWERED

@rupert-source
Copy link

THIS LOOKS REAL GOOD PS C:\Windows\System32> wsl --version
WSL version: 2.2.2.0
Kernel version: 5.15.150.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3593
PS C:\Windows\System32>****

@mhekel
Copy link
Author

mhekel commented May 20, 2024

@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 ?

You are the best.:)

awww shucks. :-) Y'all are welcome. I'm grateful that y'all are able to get back up and running!!! I'm relieved to know that others as well experienced this because I could not understand what I did to break it.

the struggle is real! :-) -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failure-to-launch failure to launch
Projects
None yet
Development

No branches or pull requests

7 participants