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

For a Kiosk solution I'm looking for a completely reliable way to run a batch file on Windows 7 after a specified time without any user input (think screensaver). So far I've been looking at:

  • Windows Task Scheduler (fails because it does not as far as I've been able to figure out support this type of event - the idle event is a different beast altogether)
  • Screensaver operations (initially very promising but fails due to it showing a message before running the task (not acceptable in this use case) as well as not being completely reliable as far as my (non-exhaustive) tests have shown)

Any other ideas?

share|improve this question
Maybe if you specify what it is you're trying to run, we may be able to come up with some good options. – Iszi Dec 13 '11 at 18:17
You tried the On Idle trigger in the Task Scheduler? It is a bit weird the way it works, but if your desired idle time is compatible with its weirdness it should be ok. – Paul Dec 13 '11 at 23:37
@lszi I'm running a batch file with a number of instructions - I need to run this batch file after a given idle duration. – Millions Dec 14 '11 at 0:11
@Paul Yes, my desired time is not compatible with how it works. I want it to run somewhere around 5 minutes after the last user input. – Millions Dec 14 '11 at 0:13

Screensaver Operations indeed did seem to function properly for my use case. The dialog could be turned off by simply setting the delay to 0 and the unreliability seems to come from some other part of my setup making the screensaver not trigger properly.

So I still would very much like a solution that is not based on the Windows screensaver timer as there are certain parts of my setup I can't do much about if it turns out they are the culprit here.

share|improve this answer

You must log in to answer this question.

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