I am using the ScheduledTask2XML custom sensor to monitor a couple schueduled task within our company network. So far everything is working mostly well.
Though I am not able to monitor a scheduled task that is located on the same computer (win server 2012) that PRTG is running. When I try to do this I get the following error shown inside the PRTG Webinterface:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
What I don't understand is that I am able to "access" and monitor this exact same scheduled task form another PRTG instance running on my local computer using the exact same parameters and credentials in the following form:
-c="computerName" -t="pathToTask" -u="user" -p="password"
Could anybody give me a hint on what might be causing this, or is monitoring scheduled task that are located on the same machine as PRTG not supported by this custom sensor?