Git Product home page Git Product logo

Comments (7)

github-actions avatar github-actions commented on June 20, 2024

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:

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.2.4.0
Found no WSL traces in the logs

from wsl.

SidJnsn66 avatar SidJnsn66 commented on June 20, 2024

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.

OneBlue avatar OneBlue commented on June 20, 2024

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.

SidJnsn66 avatar SidJnsn66 commented on June 20, 2024

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.

list.txt

from wsl.

OneBlue avatar OneBlue commented on June 20, 2024

@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.

SidJnsn66 avatar SidJnsn66 commented on June 20, 2024

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.

OneBlue avatar OneBlue commented on June 20, 2024

Good to know, thank you !

from wsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.