Microsoft KB Archive/300160

From BetaArchive Wiki

Article ID: 300160

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2



This article was previously published under Q300160

SUMMARY

This step-by-step article describes how to schedule a program to automatically start at a pre-determined interval.

back to the top

Schedule the Task

  1. Click Start, point to Settings, click Control Panel, and then click double-click Scheduled Tasks.
  2. Double-click Add Scheduled Task, and then click Next.
  3. A list of programs that are available on your computer are displayed. If the program you want to schedule is in this list, click it, and then click Next. If the program you want to run is not in this list, click Browse to locate the program, click the program, and then click Open.
  4. When you receive a suggested name for the task, you can either accept the default name or type another name. Click the interval you want to use for this task (daily, weekly, monthly, one time only, and so on). Click Next.
  5. If you chose to schedule the task daily, weekly, monthly, or one time only, you receive a time or date option. Choose the date or dates, time or times you want to schedule the task for, and then click Next.
  6. Type the user name and password. Make sure that the user name is in the domain\user format domain\user where domain is your NetBIOS domain name and user is the user account you want to schedule the task under. Click Next.
  7. Click Finish to schedule the task, and then verify that the task appears in the Scheduled Tasks window.

back to the top

Troubleshooting

  • By default, Task Scheduler logs on as the Local System account. In some cases, this account may not have the appropriate permissions to perform the scheduled task. Because of this, you must specify an account in the Scheduled Task Wizard. Verify that the account you specify in the wizard has sufficient rights to perform the task you are scheduling by logging on as that user and running the task manually.
  • You can also schedule tasks by using the AT command. Both methods can be used to automatically schedule tasks. However, neither program is aware of the list of the other's list of scheduled programs. For example, if you schedule a batch file to run every day at midnight in the Scheduled Task Wizard and also with the AT command, the command runs twice.
  • If you chose to schedule the task for any interval other than "one time only", the task continues to run indefinitely. You must manually delete the task to keep it from running again.
  • The Schedule Task Wizard does not verify the password you type for the user account that the process will run as. Make sure that you type the correct password.

back to the top

Keywords: kbhowto kbhowtomaster KB300160