How to Selectively Disable UAC Prompt For Certain Applications

Compared to Windows Vista, Windows 7 comes with a less annoying UAC (User Account Control) and also a mean to control how and when you want it to appear. However it is not perfect yet. There are several instances where it will show a prompt when you start an application, and that can be annoying if you use that particular application on a regular basis. For example, I have this habit of running CCleaner at the end of each session to clean up the computer. Even when I “run the application as administrator”, the prompt will still appear, everytime. Since I have no intention to lower the security settings of the UAC, I need to find a way to bypass the UAC for specific application.

This is how it can be done to selectively disable UAC prompt for certain applications.

Click on the “Start” menu. Right click on the “Computer” entry and select “Manage”.

uac-manage-computer

You will see the Computer Management window. On the left pane, select the “Task Scheduler”. On the right pane, select “Create Task”.

uac-create-task

Enter a name for the new task. At the bottom, check the box “Run with highest privilege”.

uac-new-task

Next, click on the “Actions” tab. Click the “New” button.

uac-new-action

In the Program/Script field, browse and select the application that you want to bypass the UAC prompt (in this case – CCleaner). Once done, click OK.

uac-action-select-app

Close your Computer Management window.

On your desktop, click “New -> Shortcut”.

uac-new-shortcut

In the new window that pop up, type the following:

schtasks.exe /run /tn "TaskName"

Replace the “TaskName” with the new task that you have just created. For example, in my case, I will type schtasks.exe /run /tn “CCleaner” into the field.

uac-shortcut-filepath

Give your shortcut a new name and click Finish.

That it. Whenever you click the shortcut to launch your application, the UAC will not prompt again.