Is there an app that will disallow my Win10 desktop from "sleeping" ?

Page 1 of 3 123 LastLast

  1. Posts : 127
    10
       #1

    Is there an app that will disallow my Win10 desktop from "sleeping" ?


    I sometimes run my desktop overnight, copying from our network here at work.

    I've had issues where I've come in next morning and the desktop has put the network to sleep and put the USB drives to sleep to conserve power and that has stopped the copy.

    Is there an App or something that can sit in my tray and disallow my computer from power saving or sleeping?

    (I have turned off USB power management in the device manager, and the network adaptor, but for some reason some little thing is sleeping and halting my copying process. I'd just like to know if there is an App available.)
      My Computer


  2. Posts : 4,188
    Windows 11 Pro, 22H2
       #2

    There are programs such as "MouseJiggler" that create fake mouse movements after a set interval to prevent sleep from occurring. Try something like that and see if it helps.

    Mouse Jiggler - Home Page
      My Computers


  3. Posts : 127
    10
    Thread Starter
       #3

    hsehestedt said:
    There are programs such as "MouseJiggler" that create fake mouse movements after a set interval to prevent sleep from occurring. Try something like that and see if it helps.
    Mouse Jiggler - Home Page
    Thanks...
    Even if the screen is locked? (I leave work at 5pm, lock screen, and its stlll doing the copying.)
      My Computer


  4. Posts : 4,188
    Windows 11 Pro, 22H2
       #4

    That's a good question. I've not tried it, you might just need to do a quick test. Maybe set some real low timeout values, like 1 minute, then lock the screen and see if it works.

    As an alternative, you could also set a custom power plan and switch to that power plan. In fact, that's actually the method that I use. I sometimes perform some video processing tasks on my laptop and I have a custom power plan that sets everything to high performance mode and prevents sleep from happening. When I perform those tasks I simply switch to that power plan.Is there an app that will disallow my Win10 desktop from "sleeping" ?-image1.jpg
      My Computers


  5. Posts : 43,029
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #5

    Download Don't Sleep - MajorGeeks

    This is a reliable one. Free.
      My Computers


  6. Posts : 16,975
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #6

    I don't understand why you have not set up power options that avoid sleep.

    - - - - - - - - - - - - - - -- -

    Those utilities might well be fine but you can do it yourself if you want [as an alternative to changing power plans].

    Keep display on.bat
    Code:
    :KeepDisplayOn
    :: Purpose - Stop the display blanking without changing power options
    :: Closure - Hover the cursor over its Taskbar icon and click on the X button of its popup thumbnail [or click on the Taskbar icon and click on the x control of its Control box in the top right corner of its window]
    
    :ReRunKeepDisplayOn
    set ThisVBScript="%TEMP%\KeepDisplayOn-%RANDOM%.vbs"
        Echo Set WshShell = WScript.CreateObject("WScript.Shell") > %ThisVBScript%
        Echo WshShell.SendKeys "{NUMLOCK}" >> %ThisVBScript%
        Echo WshShell.SendKeys "{NUMLOCK}" >> %ThisVBScript%
    Call %ThisVBScript% 
    del %ThisVBScript%
    TimeOut /T 20 /NOBREAK >nul
    :: Pause during testing
    GoTo ReRunKeepDisplayOn

    This batch file simulates tapping on the Numlock key [twice in succession] every 20 seconds.


    Denis
    Last edited by Try3; 09 Oct 2020 at 13:39.
      My Computer


  7. Posts : 1,223
    W10-Pro 22H2
       #7

    Isn't it slightly bonkers that the Windows developers think that copying data is so close to doing 'nothing' that they let Windows go to sleep?
      My Computer


  8. Posts : 190
    Windows 10, 22H2 10.0.19045
       #8

    Denis - Copied your "keep display on" text and saved to a bat file. Works perfectly!

    One request from those of us who are coding challenged and have the capability to mess up working bat files with a single keystroke. Is it possible to echo out the text and just have a single line showing in the cmd prompt window that states "Close to Allow Sleep" message.
      My Computer


  9. Posts : 16,975
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #9

    I have removed the stray %ThisVar% that was a leftover from something I was doing during testing. It did not affect the working of either of the posted versions of the batch file but I don't like stray contents because they disrupt debugging.

    Homer712 said:
    Denis - Copied your "keep display on" text and saved to a bat file. Works perfectly!
    One request from those of us who are coding challenged and have the capability to mess up working bat files with a single keystroke. Is it possible to echo out the text and just have a single line showing in the cmd prompt window that states "Close to Allow Sleep" message.
    Homer,

    Because I set tools such as this to run minimised, I never bother hiding anything.

    But, since you asked, how about showing nothing and just having the window called Close to allow sleep?

    Keep display on.bat
    Code:
    :KeepDisplayOn
    :: Purpose - Stop the display blanking without changing power options
    :: Closure - Hover the cursor over its Taskbar icon and click on the X button of its popup thumbnail [or click on the Taskbar icon and click on the x control of its Control box in the top right corner of its window]
    
    @Set ThisTitle=Close to allow sleep
    @Title %ThisTitle%
    
    :ReRunKeepDisplayOn
    @set ThisVBScript="%TEMP%\KeepDisplayOn-%RANDOM%.vbs"
        @Echo Set WshShell = WScript.CreateObject("WScript.Shell") > %ThisVBScript%
        @Echo WshShell.SendKeys "{NUMLOCK}" >> %ThisVBScript%
        @Echo WshShell.SendKeys "{NUMLOCK}" >> %ThisVBScript%  
     @call %ThisVBScript% 
     @del %ThisVBScript%  
     @TimeOut /T 20 /NOBREAK >nul
    :: Pause during testing
    @GoTo ReRunKeepDisplayOn

    Personally, I always run this from a shortcut that is set to run minimised and that has an icon that reminds me what it is without reading anything.
    Is there an app that will disallow my Win10 desktop from "sleeping" ?-props.png
    which appears in the Taskbar as
    Is there an app that will disallow my Win10 desktop from "sleeping" ?-new-taskbar-icon.png



    Denis
    Last edited by Try3; 09 Oct 2020 at 13:42.
      My Computer


  10. Posts : 14,026
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #10

    For the same reason given of downloading and copying I set both Sleep and Hibernation to Never.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:15.
Find Us




Windows 10 Forums