Back to Geneos FAQ

Start a Windows service automatically from Geneos

The Win Services Plug-in already has a built-in options to start and stop the selected service.

Screenshot

This article will tackle how to automatically start & stop a service via rule > action > and command.

1. Create a command that will start the service.

Screenshot

2. Make an action that will call the command.

Screenshot

3. Define a rule.

Screenshot

This is to set the severity of the cell to critical when the status of the service turns into Stopped. This rule will also call the action which will call the command that will auto-start the service.

Attached is the XML of the command, action, and rule.

["Geneos"] ["FAQ"]

Was this topic helpful?