-
Notifications
You must be signed in to change notification settings - Fork 855
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
Error code: Wsl/0x80070422 Immediately after 1024-10 latest Windows Update #12146
Comments
The logs show that wslservice is disabled. Try to run (elevated command prompt): Diagnostic information
|
That command did work, and I was able to run wsl afterwards. However, when I rebooted, the WSL Service had returned to Disabled again. Something appears to be re-disabling the service each reboot. |
I have a similar issue now on Windows 11 Pro, Build 26100.3194. This here describes the same: I have both Ubuntu from MS Store installed and Docker Desktop. Both rely on the WSL service running. Any ideas on how to make the service automatically start? |
I've been having exactly the same issue. I notice when I boot up that the
service is initially set to automatic and starts up successfully - I can
even open a WSL console if I'm quick enough.
Then, at some point during the start-up sequence, *something* shuts it down
and disables is: if I have a wsl console open, it just closes by itself.
Then I have to go in, reset it to automatic once more and manually restart
it.
Major pain. I can't work out what is shutting WSL down during every startup!
…On Thu, Feb 13, 2025 at 11:40 AM Mr. Hotz van der Plotz < ***@***.***> wrote:
I have a similar issue now on Windows 11 Pro, Build 26100.3194.
It seem that recently a Windows update changed the setup.
Most posts I read on similar issues talk about a Windows service
"LxssManager" but that exists no more. Now there is this service called
"C:\Program Files\WSL\wslservice.exe"
And this one also turns itself to "disabled" every single time I reboot my
PC.
The temporary workaround is to set it to "automatic" and the manually
start it, but after next boot it is turned to disabled again.
I have both Ubuntu from MS Store installed and Docker Desktop. Both rely
on the WSL service running.
Any ideas on how to make the service automatically start?
—
Reply to this email directly, view it on GitHub
<#12146 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDUGN4ZKQUT7R3FUEGJOGD2PTDHDAVCNFSM6AAAAABPUHSJUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXGE3DOMJQHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: Hotziplotzi]*Hotziplotzi* left a comment (microsoft/WSL#12146)
<#12146 (comment)>
I have a similar issue now on Windows 11 Pro, Build 26100.3194.
It seem that recently a Windows update changed the setup.
Most posts I read on similar issues talk about a Windows service
"LxssManager" but that exists no more. Now there is this service called
"C:\Program Files\WSL\wslservice.exe"
And this one also turns itself to "disabled" every single time I reboot my
PC.
The temporary workaround is to set it to "automatic" and the manually
start it, but after next boot it is turned to disabled again.
I have both Ubuntu from MS Store installed and Docker Desktop. Both rely
on the WSL service running.
Any ideas on how to make the service automatically start?
—
Reply to this email directly, view it on GitHub
<#12146 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDUGN4ZKQUT7R3FUEGJOGD2PTDHDAVCNFSM6AAAAABPUHSJUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJXGE3DOMJQHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ok, with a lot more searching and trying I found this one: So the problem cause is Avast One, specifically the Avast One service "Avast Cleanup" ("C:\Program Files\Avast Software\Cleanup\TuneupSvc.exe"). Once I disable (set to just "manual" is not enough) this crap Avast service, the WSL service keeps autostarting and running. Just for reference I found the following related issues: |
Windows Version
Microsoft Windows [Version 10.0.22631.4317]
WSL Version
WSL version: 2.3.24.0
Are you using WSL 1 or WSL 2?
Kernel Version
Kernel version: 5.15.153.1-2
Distro Version
Can't start it
Other Software
No response
Repro Steps
Any wsl command besides --version generates this error. I can't unregister, install, or do anything else with it.
I've tried sc config LxssManager start=auto and ensuring it's running
I've also ensured vmcompute is set to auto and is running
The only hint I have is that I noticed that after a reboot or two LxssManager has been reset to Manual and was off again. It seems something in the update is resetting that - perhaps it's part of the issue.
Expected Behavior
wsl should run. I had been running it for months and changed nothing except applied the latest update.
Actual Behavior
(base) PS C:\WINDOWS\system32> wsl
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
Error code: Wsl/0x80070422
Diagnostic Logs
WslLogs-2024-10-09_06-46-06.zip
The text was updated successfully, but these errors were encountered: