Open LarnuUK opened 1 month ago
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.
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Logs added to initial comment.
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.
Probably because WSL never actually starts up; those are the logs bot.
Oh hey, I'm having the exact same problem.
Attaching my Logs too just in case its the same issue.
WslLogs-2024-09-13_08-13-28.zip WslNetworkingLogs-2024-09-14_00-18-19.zip
I was having the same issue. Check the windows registry for \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSLService. For some reason it was not present in my laptop. Exported the register from my main machine which had a working WSL installation and imported the missing registries on the machine with the broken installation. Worked like magic.
Here are the exports of WSLService register and WslInstaller :Reg.zip
Windows Version
Microsoft Windows [Version 10.0.22631.3958]
WSL Version
2.3.17.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
Ubuntu
Other Software
No response
Repro Steps
Run
wsl --install
and the error is provided:Alternatively, launch "Ubuntu" in the Windows Terminal gives:
Pressing any key then gives:
Expected Behavior
Ubuntu is launched successfully
Actual Behavior
Ubuntu does not launch
Diagnostic Logs
WslLogs-2024-09-13_13-12-28.zip
I've read multiple existing other issues logged on this (linked at the end), none have worked. A non exhaustive list of things I've tried:
And a non-exhaustive list of other issues I've read: