Hello,
We use a plugin for monitoring Citrix license, when i try it manually (cmd) from the probe server it works fine.
When used with a custom sensor (EXE XML) in prtg, we have the error "a required privilege is not held by client". Same account is use in the sensor and the manual test.
Any clue on what is going wrong ?
Article Comments
It's is an exe script not powershell. My problem solve itself with changing security context from parent device to probe service. Dont know why it s working on this configuration, because these two contexts have the same user, but it works!
Thank you for your anwser, sorry to disturb.
Dec, 2016 - Permalink
Hi, I've got the same problem, but only when I use the option "Use Windows credentials of parent device". I doesn't matter if the Excecution Policy is set to RemoteSigned or even Unrestricted. The problem doesn't occur when I use "Use security context of probe service", but than I don't have the possibility to use different credentials.
Does this help?
Apr, 2017 - Permalink
Hi Florian,
Please activate the "Write EXE result to disk" option in the sensor's settings and forward us the log files (Result of Sensor XXX.Data.txt and Result of Sensor XXX.txt) located on the corresponding probe under "C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors)" via email. You can simply open a ticket by mailing the logs to "support@paessler.com"
Best regards
Apr, 2017 - Permalink
Hi there,
Please execute the following command as an administrator in both the 32Bit and 64Bit PowerShell console:
Set-ExecutionPolicy RemoteSigned
Is the script working afterwards?
Dec, 2016 - Permalink