Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Running a VBscript with elevated permissions

$
0
0

Guys,

I have a working VBscript (remove a software that is installed on the end users computers) that  I need to deploy to the entire organization. I've tested the script under my account (I'm the domain admin and part of the local administrators group and it worked just fine). The problem is that my domain users are not and when I try to run the script the regular way I am getting the following event:

I was told that I can use the GPO under scheduled tasks to run my script:

You can run your script as a scheduled task using elevated credentials. You would specify the program as:

Program/script: C:\Windows\system32\cscript.exe

Add arguments (optional): "C:\Script Path\your script.vbs"

and select the check box titled Run with highest privileges.

That didn't work...I tried to do it under computer configuration and user configuration (below):

Do I miss anything here?


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>