Here is how to set the GFI Max service to restart on failure.
SC failure "Advanced Monitoring Agent" reset=86400 actions= restart/300/restart/300/run/300
SC failure "Advanced Monitoring Agent" command= "AgentFailed.bat"
Create a batch file called AgentFailed.bat and put whatever you want it to do on the 3rd fail.
Some ideas would be to make it restart, send a message to the user to call the helpdesk, or use something like blat to send an email notifying you.
Your email address will not be published. Required fields are marked *