cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ldenis
Engaged Sweeper
I have created several custom action scripts which run correctly if logged in as a Domain Admin, however, I need to be able to run them as a Domain Admin user when logged in as another user without domain admin credentials. Is this possible, and if so, how? I've tried a runas command, but have been unsuccessful. Here is an example of my Action parameters for a script that changes AD computer attributes:

{actionpath}test.vbs "{computer}"

When run, the script starts to run okay, but then I receive the following error due to non-admin credentials:

Error: Access is denied.
Code: 80070005
Source: Active Directory

Any help would be greatly appreciated! Thanks!


2 REPLIES 2
ldenis
Engaged Sweeper
Thank you. I ended up just logging into the browser with admin credentials. That seemed to do the trick. Thanks for your help.
Hemoco
Lansweeper Alumni
See this link: http://www.lansweeper.com/forum/yaf_postst4665_Admin-needed-to-make-Actions-run.aspx