While I'm downloading a large file on Windows 7 using Google Chrome, my computer goes to sleep. I could obviously set the computer to not sleep at all (or change the interval before the computer sleeps).

What I want to know is: Is there a way to make Windows 7 not sleep as long as a download is in progress? (perhaps when any network activity is going on?). I've looked in the Advanced Power settings, and haven't seen any obvious setting.

  • 1
    Windows 7's presentation mode does the same. You can turn it on and off via the Mobility Center (Win+X). I Cannot post this as an answer cause the question is protected – Sydwell Feb 22 '15 at 5:44

Check this tool: Insomnia which prevent the computer from going into sleep mode while the program is open.

  • This program does exactly what @Ozan's answer suggests doing. Thanks! – Jason Sundram Nov 2 '09 at 14:40
  • Insomnia is a very useful tool. Thanks for sharing it. Two small issues: As another answerer said, this feature should be wired into Chrome. (Not a solution, and thus not a useful answer, but true all the same.) Also, the Insomnia binary is not signed. I guess it costs too much to buy certificates just for software that you give away, but I wish we could have more rigorous use of security features like code signing.. – Isaac Rabinovitch Sep 4 '12 at 19:01
  • Well the question was about preventing the computer from sleeping while a transfer is going on and while this program does this it seems a bit overkill as it doesn't care if an xfer is happening it just looks for any open program and keeps the machine awake. The program you want to check out is called coffee and it looks for transfers in progress and keeps everything runnning while they are: sourceforge.net/projects/coffee-sc Of course to be fair to karatchov, this program probably wasn't even born when he posted that comment but it is now :) – unc0nnected Sep 12 '13 at 11:35

It is the duty of the downloading program to reset the system idle timer by calling SetThreadExecutionState with ES_SYSTEM_REQUIRED.

Maybe you are lucky filing a bug/feature request at google code

  • Thanks, Ozan, I've updated the question with the program I'm using (Google Chrome). – Jason Sundram Aug 5 '09 at 3:21

FlashGet has the option to put the PC in sleep mode after all downloads complete.

  • Thanks, John T. That's a good partial solution. I was hoping for a solution that would work if there were other kinds of network traffic going on, too (scp, ssh). – Jason Sundram Aug 5 '09 at 2:31

Your best bet would be to file a Chrome bug or send a feature request (although they probably won't listen to the latter). Chrome is still a relatively young browser, and I wouldn't expect Google to have though of minute details like this.

Otherwise, no, there is no global option to do this in Windows, and I doubt there is a utility to do what you want, although maybe something will pop up.

  • Thanks musicfreak. I guess the thing to do is to pull the source for Chromium and make the change myself. But I can be lazy sometimes. – Jason Sundram Aug 5 '09 at 3:37

" AMP WinOFF " is the best solution I've found It can autoshutdown at certain conditions u specify e.g. CPU load, network activity ....etc

here it is : http://www.softpedia.com/get/System/Launchers-Shutdown-Tools/AMP-WinOFF.shtml


For Firefox, you can install the No Sleep Download extension. It prevents your computer from going to sleep while downloading files.

Also, Free Download Manager, which integrates with Firefox, Opera, Chrome, IE, among other browsers, has a feature to prevent the computer from going into standby / sleep mode while it is downloading a file.

  • I know OP asked for solutions for Chrome. I am putting this solution for Firefox and other browsers as other similar and more general questions are being closed as a duplicate of this one. – galacticninja Jan 2 '14 at 8:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.