How to Schedule a Task on a Remote Computer

ID: Q192251


The information in this article applies to:


SUMMARY

This article describes how to schedule a task on a remote Windows NT-based computer. The Task Scheduler tool included with Microsoft Internet Explorer versions 4.0 and 4.01 does not provide a way to schedule a task on a remote computer. Therefore, you must use the AT command to schedule remote tasks. The AT command schedules a program to be run at a scheduled date and time. The AT command requires the Schedule service to be started on both computers.


MORE INFORMATION

The AT command uses the following syntax


   AT [\\computername] time [/INTERACTIVE] "command" 


where [\\computername] specifies the name of a remote computer. If this parameter is omitted, the command is scheduled on the local computer. The time parameter specifies the time when the task is to run. The [/interactive] parameter allows the program to interact with you. The "command" parameter specifies the program to be run.

For example, to remotely schedule Notepad to run at 2:30 P.M. on a computer named Test1, type "AT \\Test1 14:30 /interactive notepad.exe" (without quotation marks) at a command prompt.

For additional information about the AT command, see the following articles in the Microsoft Knowledge Base:

Q99243 AT Command Returns "Access Denied" Errors

Q151308 "Access Denied" When You Run AT Command on Remote Computer

Additional query words: winat itaskscheduler


Keywords          : nthowto 
Version           : winnt:4.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: February 16, 1999