Set "Run as administrator" to quickly navigate the arrow

In Windows 7, you can set the “Run as administrator” shortcut property so that the application is called with administrator rights or an administrator account is offered to the user.

I know that I can request / force administrator rights with a manifest file for my application, but I need to set privileges for applications that are not mine. I use SetUp Factory 8 as the installer software. It will create a shortcut, but will not install "Run as administrator".

For now, I set the parameter with each client manually after installation, but this is a lot of work.

How to configure "Run as administrator" for application shortcuts through the program / script (for example, editing a shortcut) or in any other way.

+5
source share
1 answer

You know you can insert a manifest, but it looks like you don’t know that you can also have an external manifest. You do not need to compile the executable file for this. Just specify any.exe.manifest file and place it in the same folder as whatever.exe file. If this manifest says requireAdministrator, you will request an elevation on every run. Ask your installer to copy the manifest where it copies the exe.

+6
source

All Articles