Ad Widget

Collapse

Run User Parameter on Windows with elevated admin permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarshClog
    Junior Member
    • May 2024
    • 1

    #1

    Run User Parameter on Windows with elevated admin permissions

    Hello!

    I'm trying to run a User Parameter using Agent 2 on a windows machine. It's a powershell command that needs to be run in an elevated session. I've changed the log on user for the service, but even though the user is in the administrator group, the command seems to still be run in a standard session.

    Is there a way to run a command elevated on Windows through the Zabbix Agent?

    Thanks!
  • markosa
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Aug 2022
    • 104

    #2
    Have you tried runas cmd?

    Comment

    Working...