Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 (http://msdn.microsoft.com/en-us/library/windows/desktop/bb736357(v=vs.85).aspx) 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 stackoverflow.com Dec 26 '12 at 0:03

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

add comment

2 Answers 2

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 –  Sean Cheshire 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
show 2 more comments

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. http://en.wikipedia.org/wiki/Schtasks

share|improve this answer
add comment

Your Answer

 
discard

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.