/build/static/layout/Breadcrumb_cap_w.png

KACE Scripting: Verify a Process is NOT running

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

Answers (1)

Posted by: jfrank 8 years ago
Blue Belt
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!

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