Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 30534

Re: Elevated Command Prompt Script?

$
0
0

Try one of these options and let me know if it works for you.

1. Use an impersonateUser() statement before your executeShellCommand() to execute the shell command using a specified administrator account.

2. Or set up the credentials on the machines using Agent>Set Credentials and then use an executeShellCommand() statement and set it's RunAs parameter to 'Execute as user'.


Viewing all articles
Browse latest Browse all 30534

Trending Articles