Thanks Keith. I have been trying to do this without much luck.
I created a task with Action: "Start a program"
Trigger: At system startup
Program / script: "C:\Program Files\Java\jdk1.6.0_24\bin\java.exe"
Add arguements: -jar C:\NetApp\Snap_Creator_3.3.0\scServer3.3.0\gui\snapcreator.jar
Run as user: LOCAL SERVICE
The task appears to start and complete, but the process is not running and the service is not up. Can anyone think of any obvious items I am missing on the task setup?
The history plays out like this:
Task Scheduler started "{f060aa39-cc3e-430c-a121-774cbef11bd3}" instance of the "\SnapCreator GUI Start" task for user "NT AUTHORITY\LOCAL SERVICE".
Task Scheduler launched action ""C:\Program Files\Java\jdk1.6.0_24\bin\java.exe"" in instance "{f060aa39-cc3e-430c-a121-774cbef11bd3}" of task "\SnapCreator GUI Start".
Task Scheduler launch task "\SnapCreator GUI Start" , instance "C:\Program Files\Java\jdk1.6.0_24\bin\java.exe" with process ID 2824.
Task Scheduler successfully completed task "\SnapCreator GUI Start" , instance "{f060aa39-cc3e-430c-a121-774cbef11bd3}" , action "C:\Program Files\Java\jdk1.6.0_24\bin\java.exe" with return code 4294967295.
Task Scheduler successfully finished "{f060aa39-cc3e-430c-a121-774cbef11bd3}" instance of the "\SnapCreator GUI Start" task for user "NT AUTHORITY\LOCAL SERVICE".