PeterSDepending on what the application is you need to run it may need to run as an interactive task.
If so you may need to either 'Impersonate User' or make sure that theKaseya Service account is running as the usr you want to run the tasks and that it is allowed interactive access to the desktop.
I'm trying to get a couple of scripts running on a couple of servers to make sure prone to failure applications are running, eg, they would check that firefox.exe was running, if not, they would execute c:\program files\mozilla\firefox\firefox.exe etc.
They just dont work, they exec firefox.exe (example) in task manager but do not launch the program.
I have tried everything, creating .bat files and executing them as files from Kaseya scripts, even though I can go to the actualy server itself, double click the .bat file and the application will load/launch, Kaseya will only load the process in task manager, rather than launch the program.
Can anyone help?
PS. I currently have a ticket open (#191595) which has been passed to a senior engineer but could do with resolving this today.
nickbHad a similar problem trying to run a Dell client config utility. Someone else on this forum showed me that I needed to run my executable from psexec for it run...like this:
Execute Shell Command
Parameter 1 : #tempdir#\psexec.exe /accepteula -w #tempdir# #tempdir#\DellWOL.exe
Script Name: test
IF Application is Running
Parameter 1 :
Parameter 1 : "C:\Program Files\Internet Explorer\iexplorer.exe"
Parameter 2 : http://www.google.com -extoff
Parameter 3 : 3
OS Type : 0