PolicyPak Least Privilege Manager: How do I elevate.VBS and .JS files

To elevate .VBS files, you need to use a Combo rule. Then you’ll use the following:
The Path condition should be:
%SYSTEMROOT%\system32\WSCRIPT.exe

policypak-least-privilege-manager-how-do-i-elevate-vbs-and-js-files-0

Then the Command-line arguments (which must be in “Strict” mode) would be:
“c:\temp\folder\script.vbs” or
“c:\temp\folder\script.js”

policypak-least-privilege-manager-how-do-i-elevate-vbs-and-js-files-1

Back