I am working on a monitoring system called "Nagios" that monitors services for UNIX and WINDOWS servers. The problem is that the WINDOWS services launched by the batch files are called in the task manager as "cmd.exe", so the system cannot distinguish between these services during monitoring.
How can I change the name of the process in the task manager when it starts so that everyone has a unique name, and not "cmd.exe"?
Thanks in advance.
source share