Windows 10: Stop sleep while downloading or long processing

  1.    11 Jun 2018 #1

    Stop sleep while downloading or long processing


    If I have a big download or process to run I go to Control Panel > All Control Panel Items > Power Options > Edit Plan Settings > Put the Computer to sleep > Change '30 minutes' to 'Never' and then change it back once the process has been completed. This seems like an archaic process. Is there another way to do this?
      My ComputersSystem Spec

  2.    12 Jun 2018 #2

    I use a small free utility called 'Don't Sleep' - which allows a variety of functions to be configured, including scheduled shut down or hibernate.

    E.g.- I set it to block sleep for long enough for the download to complete, then hibernate.
    Click image for larger version. 

Name:	1.jpg 
Views:	58 
Size:	39.9 KB 
ID:	191980
      My ComputerSystem Spec

  3.    12 Jun 2018 #3

    Thanks. I will try it out. I thought this is something Microsoft would have thought about as it is a common requirement.

    I have also heard about a command line utility called
    Code:
    powercfg.exe
    although I haven't used it.
      My ComputersSystem Spec

  4.    12 Jun 2018 #4

    Try powercfg /? at a command prompt. You will see it is not related to your requirement.
    Click image for larger version. 

Name:	1.jpg 
Views:	5 
Size:	96.4 KB 
ID:	191984
    ... and more..

    A quick search shows this question being asked a good number of times; few solutions.

    There are some browser extensions, but those aren't general solutions of course. I expect there is other freeware around.
      My ComputerSystem Spec

  5.    12 Jun 2018 #5

    I wonder what sysadmin's do, who have to install for long periods of time on multiple computers?
      My ComputersSystem Spec

  6.    12 Jun 2018 #6

    Returning to powercfg - you could disable sleep in a batch file:
    powercfg -X -standby-timeout-ac 0

    More:
    command - Set a one line powershell for sleep and hibernate to turn off - Stack Overflow
      My ComputerSystem Spec


  7. Posts : 925
    Windows 10 Home x64 and Pro x86
       12 Jun 2018 #7

    You could also achieve what you want with a shortcut containing this [so you do not need to set up a batch file for the job]

    Code:
    %windir%\system32\cmd.exe /c "powercfg -change standby-timeout-ac 0"
    - Set it to run minimised [right-click on the shortcut, Properties, Run - select Minimised]
    - Set it to run as Admin [right-click on the shortcut, Properties, Advanced, set Run as Admin]

    If you want to set sleep to Never for both ac [mains power] & dc [battery] then use this combined version of the shortcut [which should also be set to minimised, run as Admin]
    Code:
    %windir%\system32\cmd.exe /c "powercfg -change standby-timeout-ac 0 & powercfg -change standby-timeout-dc 0"

    When you want to return to your normal sleep delay then use this combined shortcut [which should also be set to minimised, run as Admin]
    Code:
    %windir%\system32\cmd.exe /c "powercfg -change standby-timeout-ac 60 & powercfg -change standby-timeout-dc 10"
    where I have assumed 60 mins on ac power & 10 mins on battery


    Denis
    Last edited by Try3; 12 Jun 2018 at 13:49.
      My ComputerSystem Spec

  8.    12 Jun 2018 #8

    In practice, Don't Sleep allows you easily to set the time and the event (hibernate, shut down etc) on expiry, so is far more flexible and convenient for a personal user. What is missing is the ability to correlate the expiry of the sleep block with the end of the operation - say a download.
      My ComputerSystem Spec

  9.    12 Jun 2018 #9

    It is good that there are different options for this problem out there but Microsoft should have sorted this out a long time ago through a GUI within Windows.
      My ComputersSystem Spec

  10.    12 Jun 2018 #10

    Feedback Hub app... please add your contribution..!
      My ComputerSystem Spec


 

Related Threads
How to stop updates from downloading automatically ? in Windows Updates and Activation
I'd like to have updates set to download at users convenience or at a specific time of day. Is it possible in windows 10 ?
I understand downloading updates helps patch up security holes, add features, etc.., but I don't have the greatest of internet connections because of where I live and how much money I earn. Lately, I see that geforce experience, or some other nVidia...
I have a metered internet provider and have found how to control Windows updates to my bonus time and turned off flash for normal video but html5 video still downloads using up my data. I do not watch video and do not have sound. How do I stop the...
After a pushed update on reboot Office OUTLOOK starts up by ..""loading then gets hung with the "processing..." status. Ergo I can get into emails. Explorer, Excel and Word work (but are slow coming up). Thoughts on getting Outlook to...
After I followed these steps: 1. Go into "C:\Windows\SoftwareDistribution\Download" and delete everything in that folder. 2. Now, run the command prompt as an administrator. Type in "wuauclt.exe /updatenow". 3. Go to your Control Panel >...
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 12:27.
Find Us