0

Windows 7, Domain policies enforce a password protected screensaver with a timeout of 10 minutes. I'm trying to find a way to prevent the screensaver from kicking in.

I've noticed that when I play a video (even when minimised) the screensaver is not activated.

What is the mechanism that allows a video player to disable the screensaver, even though I'm running as a normal (non-admin) user?

Can I simulate this behaviour in a way that is less cpu-intensive? Maybe periodicaly writing a registry setting? Or perhaps 'writing' something to the video card?

captcha
  • 129
  • 3
  • I believe applications can use the SetThreadExecutionState() API call to advise Windows that they need the display to remain visible. Fairly straightforward to implement unless your domain policies use application whitelisting. Be aware that (depending on your situation) deliberately bypassing domain policy may be a firing offence. – Harry Johnston Nov 29 '18 at 21:54

1 Answers1

0

What you are looking for is a Power Request type Display.

There is also an explanation here.

Just try powercfg /requestsoverride process explorer.exe display.

davidbaumann
  • 2,189
  • 1
  • 14
  • 32