Avecto Privilege Guard - How to run from command line?

9

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?

AwkwardCoder

Posted 2015-09-01T10:18:47.480

Reputation: 193

1I'd love to see an answer to this one. I had a look around in the registry but I couldn't work out what hook it is that controls this context menu item. – Oliver – 2016-01-15T11:44:37.030

1Please accept @MatthewPeters answer. It is correct. Win 7 tested true – Kolob Canyon – 2016-12-27T17:02:24.650

Answers

3

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.

Matthew Peters

Posted 2015-09-01T10:18:47.480

Reputation: 1 718

Can you please share the location of the avecto.exe – PrivatMamtora – 2017-04-18T19:01:00.443

Seems that avecto command is missing on latter versions, cannot find it anywhere – Fabio Marreco – 2017-08-03T20:06:29.613

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?

Oliver Wienand

Posted 2015-09-01T10:18:47.480

Reputation: 131

This does not launch DefendPoint for me, it only pops up the UAC dialog asking for an admin account. Are Privilege Guard and DefendPoint two separate products? – Scott Kuhl – 2020-02-03T16:58:40.823