I\'m working on a monitoring system called \"Nagios\" which monitors services for UNIX and WINDOWS servers. Problem is WINDOWS services that are launched by batch files are
You can run batch file as windows service to make a process name. You can set what to happen on start and on stop. You can kill the service using its PID.
C# Tutorial to create batch file as windows service.