Task Scheduler does not run a task that refers to a remote program when you use the At.exe command to schedule the task in Windows 2000
When you use the At.exe command to schedule a task that refers to a remote program, you may experience the following behaviors:
- Task Scheduler does not run the task.
- The following event is logged in the System log:
The At9.job command failed to start due to the following error: General access denied error
- An entry that is similar to the following entry is recorded in the Task Scheduler log (SchedLgU.txt):
"At9.job" (Program.exe) 15/03/2004 16:02:03 ** ERROR **Unable to start task.The specific error is:0x80070005: Access is denied.Try using the Task page Browse button to locate the application.
This issue occurs because the At.exe command is designed to use the local System account. The local System account is local to the computer and does not have access to remote computers.
To work around this issue, use the Scheduled Tasks item in Control Panel to run tasks that refer to remote programs. To do this, follow these steps:
- Click Start, point to Settings, and then click Control Panel.
- Double-click Scheduled Tasks, double-click Add Scheduled Task, and then click Next.
- Click Browse, and then locate the remote .exe file for the program that you want to schedule.
- Click the .exe file, click Open, and then click Next.
- Type a name for the task, click a time interval under Perform this task, and then click Next.
- Configure the scheduling options that you want to use, and then click Next.
Note The scheduling options differ depending on the time interval you choose in step 5.
- Type your user name and password, and then click Next.
- Click Finish.
Article ID: 883279 - Last Review: 10/30/2006 21:27:28 - Revision: 2.1
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional Edition