Windows 10: How to prevent WSL2 to get suspended while goes into "sleep mode"?

Discus and support How to prevent WSL2 to get suspended while goes into "sleep mode"? in Windows 10 Performance & Maintenance to solve the problem; Hello. I set up my WSL2 for local SSH server so I can connect into it from any device.But WSL2 got suspended when Windows goes into "sleep" mode, like... Discussion in 'Windows 10 Performance & Maintenance' started by Hendra Manudinata, Sep 8, 2021.

  1. How to prevent WSL2 to get suspended while goes into "sleep mode"?


    Hello. I set up my WSL2 for local SSH server so I can connect into it from any device.But WSL2 got suspended when Windows goes into "sleep" mode, like the other apps do. How we can prevent it from being suspended even in "sleep mode"?My laptop specs, if necessary:- Acer Aspire 5 A514-54G i7 11th / 8GB RAM / 512GB SSD- Windows 10 Home Edition, preinstall from OEM Acer

    :)
     
    Hendra Manudinata, Sep 8, 2021
    #1
  2. Flaviu2 Win User

    WSL2 for windows

    I have failed into installing WSL for Windows. I have read here: https://docs.microsoft.com/en-us/win.../install-win10 how to do it, and at step 4:


    1. Download the latest package:
      [COLOR=var(--text)][COLOR=var(--info-dark)] Note[/COLOR]
      If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type".
      [/COLOR]
    2. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

    I encountered:


    How to prevent WSL2 to get suspended while goes into "sleep mode"? [​IMG]


    and


    How to prevent WSL2 to get suspended while goes into "sleep mode"? [​IMG]


    What I did wrong ? I have the following W10 version:

    How to prevent WSL2 to get suspended while goes into "sleep mode"? [​IMG]


    Another question: am I in the the right forum ?
     
    Flaviu2, Sep 8, 2021
    #2
  3. 2004 after sleep mode crash if enable wsl2 (hyper-v)

    OS: 2004 build 19041.264 x64

    CPU: Ryzen 3700x

    if enable hyper-v (wsl2) - system crash after restore from sleep mode. Kernel power event #41.

    If i disabled hypervisorlaunchtype from auto to off - sleep work correct.

    All drivers update.

    second OS 1903 - work correct.
     
    EugeneKrivoruchko, Sep 8, 2021
    #3
  4. How to prevent WSL2 to get suspended while goes into "sleep mode"?

    Computer goes to Sleep mode automatically

    Hi Anthony,

    Thank you for posting your query in Microsoft Community. Apologize for the inconvenience caused to you.

    I suggest you to follow the steps provided below if not tried already and check if it helps.

    • Navigate to Start>Settings>System>Power & sleep.
    • In the right pane, select Never from the drop down list for
      Screen
      and Sleep.
    • Close the dialog box and check for status.

    Hope the information is helpful. Keep us posted on the status for further assistance.
     
    Eeshwar Kumar, Sep 8, 2021
    #4
Thema:

How to prevent WSL2 to get suspended while goes into "sleep mode"?

Loading...
  1. How to prevent WSL2 to get suspended while goes into "sleep mode"? - Similar Threads - prevent WSL2 suspended

  2. Need to Prevent Suspended Mode for an application TradingView

    in Windows 10 Gaming
    Need to Prevent Suspended Mode for an application TradingView: I run a very important application called TradingView which provides live data about the stock market and I use it to provide me visual data as well as alerts and notifications about stock price movements. I have noticed in Windows 11 task manager this application often shows...
  3. Need to Prevent Suspended Mode for an application TradingView

    in Windows 10 Software and Apps
    Need to Prevent Suspended Mode for an application TradingView: I run a very important application called TradingView which provides live data about the stock market and I use it to provide me visual data as well as alerts and notifications about stock price movements. I have noticed in Windows 11 task manager this application often shows...
  4. Computer goes to sleep mode while powerpoint is presenting

    in Windows 10 Software and Apps
    Computer goes to sleep mode while powerpoint is presenting: Since the latest Win11 update 23H2, when presenting with powerpoint connected with HDMI, display extended and using presenter mode on laptop monitor windows will turn off screen if staying on the same slide for several minutes. Battery is at over 90% when this happens but...
  5. Computer goes to sleep mode while powerpoint is presenting

    in Windows 10 Gaming
    Computer goes to sleep mode while powerpoint is presenting: Since the latest Win11 update 23H2, when presenting with powerpoint connected with HDMI, display extended and using presenter mode on laptop monitor windows will turn off screen if staying on the same slide for several minutes. Battery is at over 90% when this happens but...
  6. Laptop goes randomly into sleep mode while being used.

    in Windows 10 Software and Apps
    Laptop goes randomly into sleep mode while being used.: Hi, I have a problem where my ASUS laptop goes randomly into sleep/power-reserve mode. While in it, the screen turns off, fans go quite, but the keys still light up. I can turn the laptop back on within seconds just by pressing any key, which is easy and fast, but still...
  7. Laptop goes randomly into sleep mode while being used.

    in Windows 10 Performance & Maintenance
    Laptop goes randomly into sleep mode while being used.: Hi, I have a problem where my ASUS laptop goes randomly into sleep/power-reserve mode. While in it, the screen turns off, fans go quite, but the keys still light up. I can turn the laptop back on within seconds just by pressing any key, which is easy and fast, but still...
  8. Laptop goes randomly into sleep mode while being used.

    in Windows 10 Gaming
    Laptop goes randomly into sleep mode while being used.: Hi, I have a problem where my ASUS laptop goes randomly into sleep/power-reserve mode. While in it, the screen turns off, fans go quite, but the keys still light up. I can turn the laptop back on within seconds just by pressing any key, which is easy and fast, but still...
  9. Laptop goes to sleep mode while working randomly and continuously

    in Windows 10 BSOD Crashes and Debugging
    Laptop goes to sleep mode while working randomly and continuously: Hi Team, I'm using Dell Inspiron 15 5000 Series laptop. I've noticed that my laptop goes to sleep mode randomly even if its in use. I tried to login after a few seconds again it will go to sleep mode. I'm unable to work due to this issue. It was repeatedly happening....
  10. monitor goes into sleep mode

    in Windows 10 Drivers and Hardware
    monitor goes into sleep mode: If I'm starting up my PC from sleep mode, my monitor goes into sleep mode 5 - 10 seconds after it gets going. If I'm turning on my PC, this isn't an issue; it works fine. My graphics card is up to date. Help!...