We have a application that occasionally will need its apache tomcat9 service/process restarted... but it doesn't restart cleanly unless we also restart the mysql database along with it. We have the html sensor monitoring the webpage , so whenever it becomes inaccessible we can go restart the services manually. I thought about using the WMI service sensor for apache tomcat, but the issue is that often when the webpage hangs, the service itself is still 'started' so it won't always be reliable in determining when the webpage is hung and needs a restart. So it seems a custom notification script would work best. I created a simple batch file that when I run on my local match it works on the application server as desired, but when I put this in the PRTG core server notificaiton/exe location and set the customized notification in the html sensor to run the batch file when the html sensor detects failure, it doesn't do its job. Is there anything i'm missing or some other permissions that need to be set to get this to be working? there is nothing wrong with the batch file itself and works 100% when ran manually but just when tied to html sensor as custom script notification it doesn't do anything at all.