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:
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 7 years ago
Blue Belt
Of course, I would find it right after posting...the process is officially OUTLOOK.EXE - not OUTLOOK.exe (or Outlook.exe, nor outlook.exe).

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