I have 2 scheduled tasks that are both set to start a program, which is a *.bat file.
One of the scheduled tasks specifies a batch file, with the contents of that batch file containing a vbs file. When executed manually it runs without issue, only through scheduled tasks it does not run.
I use the same account credentials in the task that I do when it runs. I've also specified both just the Program/Script setting as the batch file, and also the Start in (optional) parameter in the folder path of where the batch file is located, and it still does not complete.
I have the same issue with another scheduled task that is a batch file, where the contents of that batch file is just a path to an Excel document. Again, when the batch file is executed manually it works without issue, but does not work through scheduled tasks.
Other settings I have configured as:
Run as the following user: same domain user account that is used to run it manually
Run whether user is logged on or not
Run with highest privileges
Configure for Server 2008