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!