Top Nav

How to Create an Administrator Privileged Shortcut that Bypasses Windows UAC

Create a UAC-exempt Shortcut in Windows 7 or Vista

Last week we learned how to create a discreet total-computer-history erase button using CCleaner.  The only problem was, when Windows launched the shortcut it caused the UAC (User Account Control) security window to pop-up.  Fortunately, Microsoft inadvertently included a way to bypass the UAC prompts if the shortcut is ran as an administrator Task.  Let’s learn how to set one up!


Below we’ll walk-through the process of setting up a Task in Windows that will act just like a regular shortcut, except it won’t require a UAC prompt confirmation.  As an example, I’ll be setting up CCleaner to run in the background without the UAC prompt.

Note: If you are already familiar with creating tasks in Windows 7 or Vista, you can probably just skip down to Step 7.

Step 1

Click the Windows Start Menu Orb and Type task scheduler into the search  box.  Press Enter.

Start Windows Task Scheduler

Step 2

On the Task Scheduler window, Click the Action menu and Select Create Task

 Create task in windows task scheduler

Step 3

The Create Task window should automatically open to the General tab.  From here Type a name into the task box.  Next, Check the box labeled Run with highest privileges.

name your shortcut in task scheduler

Step 4

Now SKIP the Triggers tab, go straight to the Actions tab instead.  Click New… and in the New Action Window Browse to the program you would like to create a shortcut for.  Be sure to add any arguments that you might want, but those are optional.

actions start a program, program location and arguments

Step 5

Click the Conditions tab next, and Uncheck the box labeled Start the task only if the computer is on AC power.  Otherwise, this option will prevent the task from working if you are on an unplugged Laptop.

Related Article:  A Trick to Sort Files and Folders by Importance

Once done with this step, Click OK to save and exit the task.

uncheck conditions if on battery power for task shortcut

Step 6

Now on any blank spot on the desktop, perform a Right-Click.  From the context menu Select New > Shortcut.

new windows shortcut

Step 7

In the text box, Type in the following*:

schtasks /run /tn “clearhistory”

If you have trouble getting this to work, be sure to manually type the quotation (”) marks.

*Replace clearhistory with whatever you named your shortcut, but be sure to keep the quotation marks around it!

how to turn a windows task into a shortcut

Step 8

Now you just have to name your shortcut.  This is the name that will show up underneath it on the desktop, start menu, or wherever you decide to place it.

name your windows shortcut


Now you have yourself a shortcut that will run whatever application you pointed it to without prompting the UAC dialog.  In my example I used CCleaner since a normal shortcut would prompt the UAC.  As you can see in the screenshot below, it started right up.

erase history ccleaner cleaning

Questions, comments?  Drop one below!

More Reading:

, , ,

6 Responses to How to Create an Administrator Privileged Shortcut that Bypasses Windows UAC

  1. DW96 April 25, 2011 at 1:08 pm #

    Awesome! I can’t believe I’ve never heard of this before…

  2. gregzeng April 27, 2011 at 5:14 am #

    Advanced users can totally Bypass Windows UAC. Many ways, but I use freeware: “Tweakuac.exe”. However, have System restore shortcots on the Desktop, in the Start Menu, and perhaps the menu bar. It is badly labelled in W/system32/ as “SystemPropertiesProtection.exe”.

    Also ensure that the boot drive for Windows has at least 1 gigabyte of drive space dedicated for easy system restores.

    Finally, i use freeware Cobian Backup to at least daily backup my most important files. Guaranteed, automatic, timed backups are another topic: encryption, compression, on site, off-site & removable.

  3. Antoine June 29, 2011 at 4:05 pm #

    Many thanks for that very useful tip.

  4. paidjo September 14, 2012 at 3:02 am #

    its imposible and just joke a way hahaha

  5. paidjo September 14, 2012 at 3:09 am #

    before run a program we must install that program but, installation was blocked by UAC. so how do you run a Tweakuac.exe after all?

    • Austin Krause September 14, 2012 at 6:21 am #

      If UAC is preventing you from installing a program, try disabling UAC before you attempt to install you program. [guide here]

Leave a Reply