Thursday, June 12, 2003


Keith Brown just pointed me to schtasks, the new (as of XP, apparently)
command-line task scheduler. It’s the replacement for the venerable at command,
and running schtasks /? from the command
line shows that it has a boatload of
options. Including the abilities to run the tasks under arbitrary credentials and
to terminate tasks at a specific time. Cool.

I’ve been meaning to get my backup story whipped into shape…this
may be just the ticket.


  1. You can also access all this functionaly via the control panel.

  2. Cool - I hadn't actually looked at the Control Panel applet before. I like having the command-line option because it makes it easy for me to whip up a batch file that I can move around between computers and rebuilds, but the panel applet looks like a good way to figure out options. Thanks!

  3. Do you happen to know whether there is any option to start a task when my machines shuts down? Or hibernates?

  4. Really must get Comment RSS working so I can notice when people post these questions.

    Of course, in this case, the answer is "no" so it didn't make much difference.

    What are you trying to do?

  5. Is there a Listing of Errors messages asscoiated with Schtasks?


    I am getting this error message:

    ERROR: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again..


    I have logged off this userid

  6. Try

    net use \\machinename\ipc$ /delete

    The problem is that even if you don't think you're using a machine any more, the connection is still maintained.

    If that doesn't work, type

    net use

    To see what connections you still have open, and then delete those with the /delete switch.