-
Notifications
You must be signed in to change notification settings - Fork 822
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
WSL was uninstalled by other software and cannot be reinstalled #11867
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease 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:
|
/question |
Diagnostic information
|
It looks like the WSL installation was put to a bad state. The easiest way to solve this would be to run this script: |
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue. Thank you! |
Windows Version
Microsoft Windows [版本 10.0.22631.3958]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
Any computer manager software, such as Tencent Computer Manager or 360 Security.
They provide the ability to uninstall local software.
Repro Steps
Expected Behavior
Hope WSL can be reinstalled and can be used normally in powershell
Actual Behavior
any wsl command does not work due to "The system cannot find the file specified."
https://learn.microsoft.com/zh-cn/windows/wsl/install-manual#step-1---enable-the-windows-subsystem-for-linux
Virtual machine platform,Hyper-V, windows hypervisor platform,windows subsystem for linux(enable or disable Windows features)
What should I do to reinstall wsl correctly?
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: