Admin Tip #33: Schtasks - create, delete, query, change, run and end scheduled tasks on a local or remote system.

Hits: Failed to execute CGI : Win32 Error Code = 3



Windows XP includes powerful commandline admin utilities including schtasks which replaces Windows NT and Windows 2000 commandline scheduler AT.exe. Schtasks allows an administrator to create, delete, query, change, run and end scheduled tasks on a local or remote system.

Parameter List:
    /Create  : Creates a new scheduled task.

    /Delete  : Deletes the scheduled task(s).

    /Query  : Displays all scheduled tasks. 

    /Change  : Changes the properties of scheduled task. 

    /Run  : Runs the scheduled task immediately. 

    /End  : Stops the currently running scheduled task. 

    /?              Displays this help/usage.

Examples:
    SCHTASKS
    SCHTASKS /?
    SCHTASKS /Run /?
    SCHTASKS /End /?
    SCHTASKS /Create /?
    SCHTASKS /Delete /?
    SCHTASKS /Query  /?
    SCHTASKS /Change /?