I have a program, specifically an installer, which is marked is requiring elevation with highestAvailable approach. I am using an administrator account with UAC at the highest level.
Is it possible to run this program without giving it administrative privileges?
Another example of such a program is stock regedit.exe, I can happily run it under an ordinary user without any UAC prompts, but cannot start it in admin account without elevation.
Interested mainly in Windows 7, but would not hurt to have a solution for Vista.
From SuperUser:
For all apps with requestedPrivilegeLevel="highestLevel" in their manifest, you can use Microsoft's Application Compatibility Toolkit 3 to shim the application with the RunAsInvoker fix, which forces the app to run with your standard user tokens.
Also you can define an undocumented environmental variable __COMPAT_LAYER.
From the cmd.exe command line:
If the application is compiled to require elevation then it will always prompt.
To stop things from prompting you would need to change the UAC settings.