Comments (7)
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.
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.74
- Systemd not starting correctly on fresh install after reboot (#9207), similarity score: 0.71
Closed similar issues:
- WSL Service goes into manual mode after reboot (#11526), similarity score: 0.72
- LxssManager keeps shutting down and getting stuck in STOP_PENDING state (#10505), similarity score: 0.71
- WSL2 does not keep running since Version 0.60.0 (#8642), similarity score: 0.71
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Diagnostic information
.wslconfig found
Detected appx version: 2.2.4.0
Found no WSL traces in the logs
from wsl.
I'm 99% sure I caught the problem with this log. IDK what a wsl trace is; however, I'm wondering if there would be one given that, on power-up, WSL Service is not running until there is a demand. If I quickly open a terminal, WSL Service will start running and there is no problem. The problem occurs if there is no demand within about a minute, at which time WSL Service changes to Disabled. So WSL never runs and cannot be made to run without changing the service back to manual or auto.
If I'm missing something, please let me know. Thx
from wsl.
Thank you for reporting this @SidJnsn66.
This is most likely caused by a third party program (there's no logic to ever disable wslservice), so this is most likely an antivirus / security solution.
Could you share the list of all running process & services right after boot ? That should help scope down where this is coming from.
from wsl.
That makes sense. Thanks for hanging with me to get closer to a solution. Here is the output of tasklist right after reboot and before WSL Service switches to Disabled.
As mentioned above, I have uninstalled Avast AV and, at one time or another, have turned off Defender, disabled Secure Health Service, turned of PIA (vpn client) and CCleaner, all with no effect.
from wsl.
@SidJnsn66: I see a few processes that could potentially explain this service configuration change:
- CCleanerPerformanceOptimi
- MpDefenderCoreService
- MsMpEng
- CCleaner64
Could you try disabling those and see if that solves the issue ?
from wsl.
Seems the problem is solved before I got your last message. I decided to clean up the registry using CCleaner in case traces of Avast were left and problematic. Apparently something in that did the trick. WSL service was Automatic - Delayed Start when I next rebooted, and never returned to Disabled. WSL runs as expected.
FWIW, the four services you mentioned are still running.
Thank you for your help!!
from wsl.
Good to know, thank you !
from wsl.
Related Issues (20)
- systemd Not Booting Up in WSL 2 Despite Configuration in wsl.conf HOT 8
- Error 0x8007019e and Wsl/CallMsi/0x80070424 and Wsl/REGDB_E_CLASSNOTREG HOT 2
- WSL failed to reopen after run wsl --shutdown HOT 5
- WSL2 can't receive jumbo frames when using a VPN with a 9000 MTU and mirrored network. HOT 4
- Failed conversion of Ubuntu from version 1 to version 2 HOT 5
- Ability to configure domain name from wsl.conf HOT 3
- systemd can't see the files if the disk is mounted to WSL before WSL starts. HOT 2
- systemd Not Booting Up in WSL 2 Despite Configuration in wsl.conf HOT 11
- bluetooth HOT 1
- Windows 11 - WSL2 takes 10+ minutes to launch HOT 3
- WSL no internet connection / DNS issues HOT 10
- Failed to update from 23.10 to 24.04 on WSL2, by 2024.6.13 HOT 2
- wsl2 更新失败(退出代码: 1603)。 Error code: Wsl/CallMsi/Install/ERROR_INSTALL_FAILURE HOT 5
- Could not write value to key \SOFTWARE\Classes\Drive\shell\WSL HOT 15
- GUI apps via VcXsrv not starting from 14 Jun 2024 HOT 9
- Cannot uninstall WSL any more HOT 6
- wsl high latency HOT 1
- Cannot start WSL after 2 weeks every time HOT 1
- cannot ssh into wsl2, system feezes HOT 3
- Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified HOT 2
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.