How to Create a Program Shortcut to Run Without the UAC Prompt in Windows 7

Do you have a program or script that has to be run as administrator and you want a shortcut for it that doesn’t bring up User Account Control (UAC)? Here is a simple trick that will get rid of the annoying UAC prompt.

The trick makes use of Windows Task Scheduler to create a task with highest privileges. The task is then used in a shortcut. First, create the task:

Open Task Scheduler by entering “sched” (without quotes) in the Start search box. Another way is Control Panel-System and Security-Administrative Tools-Schedule tasks.

In the right pane of the Task Scheduler interface (shown in a previous tip), click “Create Task”.

The dialog shown below will open.

Give the task a name. You will need to use this later.

Be sure to check the box by “Run with highest privileges”. This is what keeps the UAC prompt from popping up.

Click the tab “Actions”

Click the button "New..."

The dialog window shown below will open.

Enter or browse to the full path and name of the program you want to run. If it has spaces, enclose the entire path and name in quotation marks.

Click "OK"

If you are using a laptop or other battery-powered device, click the "Conditions" tab and remove any power settings that might interfere with running on a battery.

Click “OK”

Next, you create a shortcut to run the task:

Right-click on an empty spot on the desktop.

In the context menu that opens, choose New—Shortcut.

In the box under “Type the location of the item”, enter schtasks /run /tn "your_taskname"
where your_taskname is what was used in step 4 above. Be sure to keep quotes around the task name.

Click “Next”

Enter a name for the shortcut.

Click “Finish”

Place the shortcut anywhere convenient.

And there you have it – a shortcut that will run a program with elevated privileges without the UAC dialog popping up.

Get your own favorite tip published! Know a neat tech tip or trick? Then why not have it published here and receive full credit? Click here to tell us your tip.