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 Service has stopped working after the latest update and reboot on Windows 11 #12131

Closed
1 of 2 tasks
mickeygousset opened this issue Oct 4, 2024 · 6 comments
Closed
1 of 2 tasks

Comments

@mickeygousset
Copy link

Windows Version

Microsoft Windows [Version 10.0.26100.1882]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Don't know, can't run wsl or access distro

Distro Version

Ubuntu 22.04

Other Software

N/A

Repro Steps

  • Reboot my laptop
  • Try running WSL from powershell. It hangs
  • Try opening the distro in Windows Terminal. It hangs
  • Try accessing the \\wsl$ in windows explorer. It hangs
  • Try stopping/starting WSL service. It is in a constant state of Stopping

Expected Behavior

I expected WSL to start and allow me access to my distro

Actual Behavior

It hangs and does nothing. I have no access to WSL or my drives.

Image

Diagnostic Logs

Attached are diagnostics I ran while trying to get WSL to start

WslLogs-2024-10-04_14-47-27.zip

Copy link

github-actions bot commented Oct 4, 2024

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.

Diagnostic information
.wslconfig found
Detected appx version: 2.3.24.0

@OneBlue
Copy link
Collaborator

OneBlue commented Oct 4, 2024

/dumps

Copy link
Contributor

Hello! Could you please provide logs and process dumps to help us better diagnose your issue?

To collect WSL logs and dumps, 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 -Dump

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

Thank you!

@BlaidddDrwg
Copy link

BlaidddDrwg commented Oct 10, 2024

+1 on this. I am currently on Windows 11 24H2 (Build 26100.1882), and this didn't happen before I updated to 24H2.

The 'wsl ' command hangs on the command line, except for 'wsl --help'.

The 'WSL Service" shows/ed 'Running', but got an error trying to restart it ("The process could not be contacted"), and now shows "Stopping" with now sign of actually doing anything.

Interesting

Currently running terminals on Ubuntu are continuing to function as before. I am just unable to open new terminals.

Addendum

Please let me know if additional logs would help. Looks like you already have one set.

@sathya01
Copy link

have similar issue. I can use already open terminals. but can't open new terminals. also Can't restart WSL

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

4 participants