Avecto Privilege Guard - How to run from command line?

OS: Windows 7 Enterprise

PG is run via right clicking Windows Explorer when an executable is selected and selcting the Privilege Guard menu item.

Is there anyway to wrap this into a script\batch file so I don't have to remember to do this for certain apps?

2

2 Answers

You can simple add avecto to the beginning of your call. For instance, if you want to run notepad.exe as avecto elevated, simply put the following in a .cmd file: avecto notepad.exe

Additionally, you can alter the shortcut properties by adding avecto as mentioned above.

2

Since avecto.bat is not available anymore you can use a general program requesting elevation like Johannes Passing Elevate.exe. Then just use elevate as you has used avecto, e.g.

elevate prog.exe

or

elevate -k script.cmd

As a nice side effect it works in arbitrary environments.

Duplicate of Programmatically execute a program using Avecto Privilege Guard?

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like