Server Fault is a question and answer site for system and network administrators. 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

Is there a command-line tool that can be used to programatically list, add, edit and delete Windows Scheduled tasks?

I realize that there are better alternatives to Scheduled Tasks, but I need to make changes to an existing set of tasks on a large number of PCs and would like to script it.

Thanks, Jon

share|improve this question
up vote 7 down vote accepted

See This link at Microsoft on using at and schtasks to manage scheduled tasks from the command line.

share|improve this answer
Great thanks, schtasks looks like exactly what I'm after. – Jon Aug 7 '09 at 15:53
No problem, glad to help. – Marko Carter Aug 7 '09 at 15:53
schtasks.exe /change /TN pepe /ENABLE
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.