BigFunkyChief
IS-IT--Management
I have been able to deploy a scheduled task to my Windows 2003 SBS network using the AT command (from the server, logged in as Administrator).
However, the only way I could get it to work was to deploy the .vbs script to each computer (in a stashed diretory) and have the scheduled task run the program locally.
This works:
at \\REMOTE-COMPUTERNAME 9:00 /interactive /EVERY:m c:\stash\monday.vbs
This does not:
at \\REMOTE-COMPUTERNAME 9:00 /interactive /EVERY:m G:\monday.vbs
and fails with this error in the AT Log:
"At4.job" (monday.vbs) 11/16/2006 3:15:51 PM ** ERROR **
Unable to start task.
The specific error is:
0x80070002: The system cannot find the file specified.
Try using the Task page Browse button to locate the application.
The G:\ is full read-write for everyone, I can run the script manually by executing from the G:\, and it's ok. Doubled checked the file permissions 1000 times.
This also fails:
at \\REMOTE-COMPUTERNAME 9:00 /interactive /EVERY:m \\REMOTECOMPUTER\SHARE\monday.vbs
with the error:
"At5.job" (monday.vbs) 11/16/2006 3:20:43 PM ** ERROR **
Unable to start task.
The specific error is:
0x80070002: The system cannot find the file specified.
Try using the Task page Browse button to locate the application.
Browsing for the file (like it suggests) is not an option since the properties of the job are all greyed out.
Anyone have any luck doing what I'm trying to do above?
Thanks in advance!
"Rule #1 - When stumped, check your Event Logs!
However, the only way I could get it to work was to deploy the .vbs script to each computer (in a stashed diretory) and have the scheduled task run the program locally.
This works:
at \\REMOTE-COMPUTERNAME 9:00 /interactive /EVERY:m c:\stash\monday.vbs
This does not:
at \\REMOTE-COMPUTERNAME 9:00 /interactive /EVERY:m G:\monday.vbs
and fails with this error in the AT Log:
"At4.job" (monday.vbs) 11/16/2006 3:15:51 PM ** ERROR **
Unable to start task.
The specific error is:
0x80070002: The system cannot find the file specified.
Try using the Task page Browse button to locate the application.
The G:\ is full read-write for everyone, I can run the script manually by executing from the G:\, and it's ok. Doubled checked the file permissions 1000 times.
This also fails:
at \\REMOTE-COMPUTERNAME 9:00 /interactive /EVERY:m \\REMOTECOMPUTER\SHARE\monday.vbs
with the error:
"At5.job" (monday.vbs) 11/16/2006 3:20:43 PM ** ERROR **
Unable to start task.
The specific error is:
0x80070002: The system cannot find the file specified.
Try using the Task page Browse button to locate the application.
Browsing for the file (like it suggests) is not an option since the properties of the job are all greyed out.
Anyone have any luck doing what I'm trying to do above?
Thanks in advance!
"Rule #1 - When stumped, check your Event Logs!