As the title states I have a batch file that will launch a script which executes smoothly on it's own.
taskkill /IM simba.exe /F
start "C:\Simba\Simba.exe" -o C:\Temp\Script.simba -r
The only issue is when I attempt to run this through Scheduled tasks it will terminate simba.exe - it launches the script, but Simba never shows up anywhere, I can hear the login music in the background and Java.exe launches as well. Any ideas or know if there's any additional arguments that may need to be added within windows Task scheduler?
Running Windows 8.1 I'm not sure if the task scheduler settings will prove useful but here they are...
General-
Run whether user is logged on or not
Run with highest privileges
Running task as local Administrator user.
Actions-
Start a program
C:\Temp\script.bat
Start in (Option): C:\Temp
Conditions-
Wake the computer to run this task
Edit: Setting Start a program C:\Simba\Simba.exe results in in starting Simba.exe - but again it launches in the background and there is no window that you can select to make it appear.
Edit2: Managed to get it to launch by changing to to run only when user is logged on and unchecked run with highest privileges. Now it just doesn't run the script though even though I have -r within the batch file.
At this point I've tried launching the script itself and adding the -r argument which it will only open the script. Still does not run. Scratching my head at this point.
Edit3: Not sure what in the hell I was doing wrong in the first place but it's working like a champ now..?