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 (883279)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional

SYMPTOMS

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:Event 7901
    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.

CAUSE

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.

WORKAROUND

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:
  1. Click Start, point to Settings, and then click Control Panel.
  2. Double-click Scheduled Tasks, double-click Add Scheduled Task, and then click Next.
  3. Click Browse, and then locate the remote .exe file for the program that you want to schedule.
  4. Click the .exe file, click Open, and then click Next.
  5. Type a name for the task, click a time interval under Perform this task, and then click Next.
  6. 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.
  7. Type your user name and password, and then click Next.
  8. Click Finish.

Modification Type:MajorLast Reviewed:9/20/2004
Keywords:kbtshoot kbprb KB883279 kbAudITPRO