Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got Windows 7 set up on my media box.

It's set to sleep after 30 mins of inactivity, but it doesn't seem to work as advertised. In the last two weeks it's gone to sleep during a file copy operation and again while encoding an MP4 file.

Is there any way to get Windows to realise that it's actually busy?

share|improve this question
Could you describe the hardware a little better? Perhaps it's a known issue – Ivo Flipse Sep 30 '09 at 6:06
up vote 7 down vote accepted

The inactivity timer is user inactivity, not system inactivity. If it was based on the system, it would never sleep since services wake up to run their jobs, scheduled tasks may run, your anti-virus may make a background scan. You'll notice that Windows itself is hardly ever idle for more than a few seconds (which isn't a problem).

There are multiple ways to get your system to stay awake, the easiest of them is to create a new power profile that either extends (say 4 hours) or completely turns off the sleep timer while you are encoding.

Another, cheap and easy way, is to load a video or audio file in Windows Media Player, and pause it. This will cause WMP to tell the system not to sleep because it is "playing" a media file.

Most encoders I've seen (well, the wrapper programs anyway) allow you to tell it to perform an action when complete or to prevent sleeping while it's running. Unfortunately, there isn't really anything you can do when copying files though, other than the above advice.

share|improve this answer
That's fair, and a good idea. But doesn't it seem to be a major oversight, allowing the computer to sleep while copying files? – ChristianLinnell Oct 7 '09 at 2:35

i believe windows detects inactivity as user inactivity, rather than system inactivity. I've had a number of cases where we've had to disable the power saving functionality in windows 7 in our virtual environments for similar reasons, where we have never had to with 2000,xp,2003,2008, and.. well, we never bothered much with vista. :-)

share|improve this answer

A Mouse Jiggler. We use one of these during presentations, critical operations, and forensic style investigations, to prevent computers from sleeping or locking into a screensaver.

share|improve this answer

A free mouse jiggler - very effective.

share|improve this answer
broken link broken link (I said it twice 'cos character min limit) – barlop Aug 13 '14 at 10:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .