This is not the intended use case for this sensor. This sensor will constantly monitor if the service is running, if the service is detected as stopped, then PRTG tries to restart the service.
In order to restart services, via triggers, you need to write a custom script (e.g. in PowerShell). This can be added to a notification template under "Setup > Account Settings > Notification Templates > ANY NOTIFICATION > Execute Program".
Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.