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

How can I stop Windows 7 from going to sleep when I'm watching a video in a browser?

I would like to do this without turning off the "auto-lock / screen saving / pc sleep feature"

share|improve this question
You mean without disabling the auto-lock / screen saving / pc sleep feature? – M'vy Mar 15 '11 at 11:24
What browser are you using? Are you watching videos via HTML5 or an embedded Flash player? – Breakthrough May 9 '12 at 12:24

Are you looking for a similar utility

Mouse Jiggler is a very simple piece of software whose sole function is to "fake" mouse input to Windows, and jiggle the mouse pointer back and forth.

Useful for avoiding screensavers or other things triggered by idle detection that, for whatever reason, you can't turn off any other way; or as a quick way to stop a screensaver activating during an installation or when monitoring a long operation without actually having to muck about with the screensaver settings.

share|improve this answer
A nice tool, but would that not also prevent the autosleep ? – Hennes Jan 29 at 13:17

Play a video in windows media player, set repeat to ON and keep audio muted. Keep the media player running in the background. This will prevent the screen from getting locked. Muting the audio helps if you are in an online conference or hearing music and auto-repeat frees you from having to re-play the video once it gets over. You could use the free sample videos provided with windows 7.

share|improve this answer
This seems the smartest solution to me. Though, it would be cool if MS would put some preference settings about what applications prevent the stanby from kicking in. – clabacchio May 9 '12 at 12:54

The reason this happens is that Windows doesn't recognise video playback as an "activity" and as your mouse will probably be still during playback the power management features will kick in.

If you just move the mouse occasionally this will reset the timer and keep Windows "alive".

The other alternative is to increase the screen saver/power management options so that they wait longer than the duration of the video before kicking in.

share|improve this answer

You might try changing your power management settings ( and perhaps adjusting your time of inactivity to see if that will stop.

share|improve this answer

Go to control pane --> Power settings --> Change advanced power settings --> Under Multimedia settings --> When Sharing media --> for both On Battery and Plugged In, change the value to 'Prevent idling to sleep' and click on apply button and OK

This should resolve the issue of computer idling to sleep while watching movie on even windows media player though 'Turn off the display' is set to Never

share|improve this answer
While that may work the post contains a 'I would like to do this without turning off the "auto-lock / screen saving / pc sleep feature"`, so it does not answer the question. – Hennes Jan 29 at 13:16

You must log in to answer this question.

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