3
My company uses 'Avecto Privilege Guard' to control administrator access on company computers. This creates a right click context menu that when activated, runs the program in an administrator account rather than the local user's account.
The system is functional, but it's annoying because the right click option only appears on files and shortcuts - it doesn't appear when right clicking on the pinned applications or recently opened applications in the start menu. Also, it's easy to open a program that usually needs to be run in administrator mode in regular user mode.
Is there any way to call Avecto Privilege Guard programmatically - for instance, from a batch file, the command prompt, or a C application? I had a dig around in the underlying dll that I assume drives the creation of the right-click option, 'PGHook.dll', but this isn't my area of expertise and I couldn't find anything.
1
This looks like a question that is better suited to Avecto Support, especially as it seems it is easy to bypass their "Audited" admin log ...
– DavidPostill – 2016-01-15T13:57:55.050@DavidPostill It doesn't bypass it - trying to elevate with the regular windows 'Run as Administrator' option requires the correct user account. – Oliver – 2016-01-15T15:48:20.563
Check out my answer. You absolutely can do this programatically. – Kolob Canyon – 2016-12-27T17:43:52.363