Deploying scripts that required elevated privileges fail when deployed through desktop central

Deploying scripts that required elevated privileges fail when deployed through desktop central

Whenever I try to deploy a script configuration to a machine through desktop central, it fails. I know why it fails - it's because the script requires elevated privileges to run properly. I've confirmed this by running my script via a regular cmd prompt (and having it fail) and from one run as administrator (it succeeds).

So my question is, how do I get it to run as admin through desktop central? I've tried using the "runas" option and using my network credentials (I'm a domain admin), but it still fails.

Manage Engine support isn't being helpful as usual, so hopefully somebody here has some answers.

                New to ADSelfService Plus?