/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


KACE Scripting: Verify a Process is NOT running

05/20/2015 3718 views
I'm trying to build a script for an uninstall/install and want to verify that Outlook is not running before trying to run the uninstall. I have it set to verify that OUTLOOK.exe is not running, test it on a machine with Outlook running (that has had its inventory updated and shows in the Running Processes of the device detail page that OUTLOOK.exe is running, but the script "succeeds", reporting that Outlook is not running, when indeed it is running. Here's what my script looks like:
QwmbwE.png
I'm sure I'm missing something stupid, so forgive me for that in advance...

Any tips or suggestions anyone has will be appreciated.
0 Comments   [ + ] Show comments

Comments


All Answers

4
Of course, I would find it right after posting...the process is officially OUTLOOK.EXE - not OUTLOOK.exe (or Outlook.exe, nor outlook.exe).

Arrgh!
Answered 05/20/2015 by: jfrank
Blue Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ