PDA

View Full Version : how to let agent run bat script as administrator


exfish
12-08-2010, 12:06
On windows, how to let agent run bat script as administrator?
Because the bat script need to read system file which only administrator can read it.
Thanks!

zalex_ua
13-08-2010, 10:29
Agent runs from "Local system" account, which has no restrictions of access to local file system by default. Bat file that will run the agent will run as this account's unlimited access.


from non-standard that's like
http://www.robotronic.de/runasspcEn.html
I do not use it, but it seems very interesting