Windows – Email When A Program Is Closed


Is there any program I can run, that, when another program or service is quit that it will send an email notification? Something for Windows machines

We have a building automation program that we would like to have running at all times. We just want to be alerted by email if the program gets closed.

Thank you

Best Answer

A script can be written to do this. My examples are for VBScript. Here is a Script to List the Processes Running on the Computer. And here is a script to send an email. You can combine the two, make some tweaks and a loop, checking for a process and emailing if it does not see it.