Windows 7 sleeping during operations

8

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?

ChristianLinnell

Posted 2009-09-30T01:00:33.027

Reputation: 386

Could you describe the hardware a little better? Perhaps it's a known issue – Ivo Flipse – 2009-09-30T06:06:02.017

Answers

8

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.

Joshua

Posted 2009-09-30T01:00:33.027

Reputation: 4 434

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 – 2009-10-07T02:35:16.060

2

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. :-)

jrb

Posted 2009-09-30T01:00:33.027

Reputation: 86

1

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.

FireMouse

Posted 2009-09-30T01:00:33.027

Reputation: 161

-3

A free mouse jiggler - very effective.

BJ292

Posted 2009-09-30T01:00:33.027

Reputation: 2 028

2broken link broken link (I said it twice 'cos character min limit) – barlop – 2014-08-13T10:21:47.837