Partager via


Modify a scheduled task

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To modify a scheduled task

  1. Open Task Scheduler.

  2. Right-click the task you want to modify, and then click Properties.

  3. Do one or more of the following:

    • To change the program being run, in Run, type the path for the new program.

    • To change the user account name and password that the scheduled task will run as, edit or enter a new name in the Run as box, and then click Set password.

    • To change the schedule for the task, click the Schedule tab.

    • To customize the settings for the task, click the Settings tab.

    • To set user and group permissions for the task, click the Security tab.

Notes

  • To perform this procedure, you must be a member of the Administrators, Backup Operators, or Server Operators group, or have been delegated the appropriate authority, on the local computer. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open Task Scheduler, click Start, click Control Panel, and then double-click Scheduled Tasks.

  • Confirm that the System date and time on your computer are accurate, as Task Scheduler relies on this information to run scheduled tasks. To verify or change this information, double-click the time indicator on the taskbar.

  • If the task program requires command-line options, type them in Run, after the task path.

  • If the path to the task program includes spaces, type double quotation marks ("") around the entire task path. For example:

    "C:\Program Files\Windows Media Player\Mplayer2.exe"

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Schedule a new task
Creating and managing scheduled tasks from the Command Line