Link to home
Start Free TrialLog in
Avatar of tech-
tech-

asked on

Windows SBS 2008 Task Scheduler for Simple Batch File

I am trying to setup a simple task to run a batch script at a set time every day and keep getting 0x1 and the batch fille script is not executing.  It is set to run even if no one is logged in, using the administrator account, the permissions are set on the script file and folder, everything seems right, even when I execute a run now, I get a 0x1 failure and the script does not work.  It is a simple script using winscp to access a linux server for a file download.  The script works perfect when I double click on the batch file or run it from command line.   I have rebuilt the task thinking that may help...  but didn't.  Any advice?  Thanks
Avatar of Big_Steef
Big_Steef

first, log in with the user who is supposed to be running the script as, open the command prompt and run the script from there. if it works then delete and re-create the job. Be sure to run everything with Admin rights (under UAC)
Avatar of tech-

ASKER

It was created and tested by the administrator account which is the same one in the scheduler.
ASKER CERTIFIED SOLUTION
Avatar of tech-
tech-

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial