Comments (8)
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!
Open similar issues:
- WSL Service becomes unresponsive some time after system startup (#11103), similarity score: 0.71
Closed similar issues:
- WSL Service goes into manual mode after reboot (#11526), similarity score: 0.72
- WSL doesn't start after computer restart, but starts after x410 and wsldhost.exe restart (#10837), similarity score: 0.72
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from wsl.
The logs show that wslservice is disabled. Try to run (elevated command prompt): sc.exe config wslservice start= demand
and see if that solves the issue
Diagnostic information
Issue was edited and new log file was found: https://github.com/microsoft/WSL/files/15297449/WslLogs-2024-05-11_16-40-56.zip
Detected appx version: 2.1.5.0
Detected user visible error: Wsl/0x80070422
from wsl.
The logs show that wslservice is disabled. Try to run (elevated command prompt):
sc.exe config wslservice start= demand
and see if that solves the issueDiagnostic information
WSL Service started at first, but got disabled again shortly after reboot.
from wsl.
Thank you @Haerbin23456. Do you have some kind of AntiVirus / security solution installed ?
For instance we know that AVG can disable wslservice unless you create an exclusion rule.
from wsl.
Thank you @Haerbin23456. Do you have some kind of AntiVirus / security solution installed ?
For instance we know that AVG can disable wslservice unless you create an exclusion rule.
I installed Avast One, but I have added the WSL service executable (C:\Program Files\WSL\wslservice.exe) to Avast's exceptions already. The issue persists.
from wsl.
For the sake of experimentation, can you try uninstalling Avast One to see if that resolves the issue ?
from wsl.
For the sake of experimentation, can you try uninstalling Avast One to see if that resolves the issue ?
Yes, that resolves the issue.
from wsl.
Ok thank you. In that case it's pretty clear that the issue is caused by Avast One.
Closing since the root cause of the issue is Avast.
from wsl.
Related Issues (20)
- port forwarding not working HOT 5
- Networking mirrored, WSL2 and the host machine are unable to access each other's services bidirectionally. HOT 20
- 我想问一下 HOT 3
- cloud-init aborted by WSL 'watchdog' HOT 13
- Failed to connect to bus: No such file or directory HOT 4
- Files created with WSL distro to Windows drive are corrupted HOT 13
- Unable to correctly set the locale on Fedora-based distributions. HOT 3
- Can ping $(localhost).local but cannot curl HOT 4
- Can't remove windows susbystem for linux HOT 2
- WSL2 is outdated on Windows 11's Release Preview Channel HOT 4
- MPV playback fails on WSL with various audio and video errors HOT 3
- wsl2的ipv6无法访问 HOT 4
- WSL spawns an extra shell process HOT 8
- page allocation failure, Wsl/Service/0x8007274c HOT 1
- segmentation fault when launching python in conda HOT 4
- Unable to use macvlan on Ubuntu created with WSL2 HOT 3
- Enables mac address spoofing for WSL HOT 2
- Can't install any distribution on WSL2 on Windows 11 Pro HOT 7
- WSL2 corrupts the git index on a mounted file system HOT 16
- Docker service running in wsl accessible on LAN but not host HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.