Windows 7: Always remember UAC choice for an application

23

4

I have some applications that I open from time to time, and I always get this UAC message with

Do you want to allow the following program from an unknown publisher to make changes to this computer?

Is there a way I can mark a single program so that won't ask me that again? Like, I think it is good that it asks me the first time, but some programs I do launch more often, and I am ok with them making changes and don't want to be asked all the time.

Svish

Posted 2010-03-12T09:54:53.547

Reputation: 27 731

1Bypassing the UAC dialog would give crackers (if they find an exploit) a way to run privileged programs without your explicit permission or confirmation that you intended to run the program. – Joe Internet – 2010-03-12T12:05:38.160

After every windows 7 install I always find myself coming back to this issue. Eventually I always end up disabling UAC - which people agree is a bad idea. – AnnanFay – 2017-11-30T03:33:55.597

3Honestly don't get why there is no "[x] Always run this program elevated" on the prompt, that would actually make this feature usable... – RomanSt – 2011-04-12T20:10:09.383

3@JoeInternet, you’ve missed the point, Svish was asking about program he does want to run. – Synetech – 2013-11-27T01:39:46.147

Answers

3

There is no way in windows itself to "whitelist" certain applications. You could use the program "tweak uac" to switch really easy and quick between uac settings.

http://www.tweak-uac.com/what-is-tweak-uac/

You could also right click the icon/program you want to run and "run as administrator" it should only ask you once in uac that way.

Other option is to completely turn off uac, but it's not reccomended by microsoft nor by me.

S.Hoekstra

Posted 2010-03-12T09:54:53.547

Reputation: 2 231

Yeah, whitelist was the word I was looking for. But alright. I am only asked once either way, so running as admin and such wouldn't make any difference really. But at least now I know kind of :) Turning it off is not an option for me either :) – Svish – 2010-03-12T13:21:23.897

12

A trick is to use the Task Scheduler to launch the application:

Create a task for your application in the scheduler (Win+R, taskschd.msc) and launch it with schtasks /run /TN "name of your task" (or use one of the scheduler parameters)

For more info - TechRepublic:

Run UAC restricted programs without the UAC prompt

Make Vista launch UAC restricted programs at startup with Task Scheduler

fluxtendu

Posted 2010-03-12T09:54:53.547

Reputation: 6 701

Interesting solution. Although a bit too sneaky for me I think :p – Svish – 2010-03-12T13:21:51.667

1

I had used Irfanview for years without problems, then something happened and it asked me UAC permission every time - very annoying! I re-installed etc with no luck.

Then I found that this worked for me:
1. Right-click on the link to the program
2. Click Properties
3. Select the Compatibility tab
4. Untick "Run this program in compatibility mode for...[Windows XP SP3]"
5. Click OK

Then it no longer asked me for UAC permission every time! Hurrah!

Esco

Posted 2010-03-12T09:54:53.547

Reputation: 111

1

The following worked for me:

  1. Right-click on the link to the program
  2. Click Properties
  3. Select the Compatibility tab
  4. Click Change settings for all users
  5. Under Privilege level, make sure that Run this program as an administrator is NOT checked.

Then if a program ever does need to run with administrator privileges at some time the UAC gives me the option when I try to run it, without having to give permission every time.

stuestes

Posted 2010-03-12T09:54:53.547

Reputation: 19

This will not do anything, If a program really needs "Administrative privileges" it can't do anything without it – Anwar – 2014-10-30T11:18:49.813

4Checked or not checked, doesn't seem to make a difference =/ – Svish – 2010-08-26T20:05:48.323