I have tried a similar approach to https://www.paessler.com/knowledgebase/en/topic/453-how-can-i-reboot-a-computer-with-a-wmi-call but with restarting a service on a remote computer.
Unfortunately, it does not work from within PRTG monitoring service. I have multiple versions (WMI, Powershell, Sysinternals) but all have the same problem. It is on a Windows 2008 R2 server and I think it has something to do with the fact that the notifications folder is a sub-folder of the program files.
The manual start of these versions do the job well, only when trigger from within PRTG it does not work.
Does someone have a solution for me?
I will upgrade the software from 22.214.171.12451 to the latest version.