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

I am trying to use schtasks to create a scheduled task. While I have no problem using this utility on my Windows 8 machine (or Windows 7 for that matter), I find that XP machines don't have this exe installed.
Is this correct or am I doing something wrong ? (when I type schtasks in the command line of XP machines I get 'schtasks is not recognized...').
According to the MSDN ( docs this is supposed to be supported by XP and up. If not, is it possible to run this as a standalone program (meaning, to copy the process myself to the target machine and execute it) ?

Thanks !

share|improve this question

migrated from Dec 26 '12 at 0:03

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

It is possible that you don't have %SystemRoot%\system32 in your PATH variable. Does it work when you call it with the full path like %SystemRoot%\system32\schtasks.exe?

This utility should be present in every version of Windows XP but Home an Starter as @Sriniv's answer indicates.

If you're using XP Home/Starter you can safely copy the utility to %SystemRoot%\system32. I've checked it with Dependency Walker and it doesn't seem to have any external dependencies apart from WinAPI.

You should be wary of licensing issues though, the Product Name of this utility is Microsoft® Windows® Operating System so it probably counts as a part of Windows XP edition you're taking it from and might have to be licensed. I'm not an expert in licensing though so this might be incorrect.

share|improve this answer
mprill, the utility is simply not there (the path you mentioned). I am using Windows XP Home Ediition XP3 on a virtual machine (<- could this be connected ?). – Shaish Dec 26 '12 at 8:41
I stand corrected by @Sriniv's answer. It shouldn't be present in Home, but it being a VM doesn't matter. I've edited my answer. – mprill Dec 26 '12 at 21:55
the AT command may be available – SeanC Dec 27 '12 at 22:05
I've tried copying to %SystemRoot%\system32 but it didn't work :/ – Shaish Dec 29 '12 at 17:58
@Shaish: can you elaborate what happened? Does it launch (a cmd window will open and close really fast) when you double click it? Does it work with full path in cmd? – mprill Dec 30 '12 at 2:35

Looks like XP home edition does not have this command. I don't have a xp home system to verify it, but this wiki article confirms it.

share|improve this answer

You must log in to answer this question.

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