Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm trying to create a scheduled task that will run once daily on a dedicated machine. The task will run an exe. That exe does a bunch of things, including running automation that manipulates the mouse/kb etc.

Is that possible (on any windows based OS)?

share|improve this question
Well since malware can already do this, I'd say YES it is possible. – mdpc Dec 17 '12 at 21:23
up vote 5 down vote accepted

Sure...leave the user that the scheduled task runs as logged in and set the task option to only run when the user is logged in.

I believe you can use schtasks as well: using the /IT parameter but again I think it only works if the actual user is logged in that the task runs as.

Other than that, you can use FireDaemon to have an interactive session run a task as a service.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.