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

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

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest