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

WSL not working anymore #11757

Closed
1 of 2 tasks
Luifr opened this issue Jul 8, 2024 · 6 comments
Closed
1 of 2 tasks

WSL not working anymore #11757

Luifr opened this issue Jul 8, 2024 · 6 comments

Comments

@Luifr
Copy link

Luifr commented Jul 8, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3737]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu

Other Software

No response

Repro Steps

wsl --install
wsl

Expected Behavior

WSL should install and work

Actual Behavior

Most WSL command hangs
Ubuntu installs but shows error on opening.

It was working fine yesterday

Both Window subsystem for Linux and Virtual Machine platform are enabled
I already tried to turn off, reboot, turn on, reboot a few times, no differences

I tried deleting everything related to wsl and dowloading again, including manual download from the releases in github

Commands: wsl, wsl -l, wsl --shutdown
Result: Hangs for a long time then output the following message

The specified service does not exist as an installed service.
Error code: Wsl/ERROR_SERVICE_DOES_NOT_EXIST

Command: wsl --install
Result:

Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070424
Error: 0x80070424 The specified service does not exist as an installed service.

The solution for the error code 0x80070424 that i found is related to enabling windows features, but i have already tried that many times

Command: wsl --version
Result:

WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22631.3737

Command: wsl --help
Result: expected output

Diagnostic Logs

No response

Copy link

github-actions bot commented Jul 8, 2024

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 [email protected] 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!

Closed similar issues:

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

@Luifr
Copy link
Author

Luifr commented Jul 8, 2024

Copy link

github-actions bot commented Jul 8, 2024

The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

Diagnostic information
Detected appx version: 2.2.4.0
Found no WSL traces in the logs

@ashish111333
Copy link

facing the same issue ,not able to install any distro after windows update ...

1>have tried wsl --unregister <distro> didn't work.
2>restarting and turning windows features on and off doesn't work.
3>and sometimes wsl command itself doesn't work.
4>tried installing distro from command line ,didn't work.

I am just stuck at this screen below
wsl_issue
...

@Angelinsky7
Copy link

i have the same issue after a window 11 update, wsl hangs after a fresh start.

The only thing that's working for me is :
wsl.exe --shutdown

be happy to give some logs but i don't know where to look for.

Copy link
Contributor

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!

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

No branches or pull requests

3 participants