Windows 7 Tips & TricksThe User Account Control (UAC) feature has been criticized for being a hindrance in doing everyday tasks in Windows, but we need to understand that the benefits of the UAC far outweigh its annoyances. It has dramatically improved the security situation in Windows.

However, sometimes, UAC can really be annoying, when you are running a Trusted Program, and it prompts you to let it run. Against better advice you can Turn off UAC, but then we would be missing a crucial security feature in Windows. So in order to make our trusted programs run without any hindrance, we can create shortcuts that bypass the UAC.

The trick is quite simple really. Among the several programs in Windows, Task Scheduler can run unhindered. So we create a shortcut for our Favorite program via the Task Scheduler and bypass the UAC. Lets see how that is done.

Creating a New task In Task Scheduler:

Click on Start and Type Task Scheduler in “Search Programs and Files” box. Click on task Scheduler.

Go To Task Scheduler

In the Task Scheduler window  – Click on Create Task on the Right Sidebar.

Create a New task

In the Create Task Window, Type the name of the Program you want to Run without UAC block. Preferably a small name as we need to use the same name in the Shortcut.

I need a shortcut for the Revo Uninstaller Program – since its a trusted program, I use often and I would rather have it bypass the UAC. So accordingly I have named the Shortcut “RevoUAC”

At the bottom Make sure you Check the option – “Run with Highest Privileges”. Select Configure for “Windows 7” if you are currently using Windows 7. You can select Windows Vista , if you are on Vista.

Create Task for a Program to avoid UAC Prompt

Once the above steps are done, Go to the Third tab – “Actions”. We need to define, what would this task do. Once we are there, Click on the New… button.

When we click on new we get an option to specify an action. Select the action – “Start a Program”

Create New Action in Actions tab

Now we need to select which program we need to start. Click on browse next to the “ Program/script” text-box. Browse to the Program that you want to start and select the correct executable file.
In case of Revo Uninstaller – We went to Program files > VS Revo Group > Revo Uninstaller > revouninstaller.exe

Select the Program you want to run by going in program files

After selecting the exe, you would see the path of selection in the New Action Window.

Add New Action - Start Program - Revo Uninstaller

Click on Ok after selecting the required program. We see the details regarding the action, in the “Create Task” window, as shown below.

Added Action to Start Revo in Task Scheduler

Click on ok, and our task has been defined.

Creating a Desktop Shortcut for the Task in Task Scheduler:

Now that we have the task ready, we need to create a shortcut to run it on the desktop. Right click anywhere on the Desktop > Go to “New” and Select > Shortcut.

Create a New Short cut on Desktop

In the create shortcut window Type in or Paste the command shown below:

C:\\\Windows\\\System32\\\schtasks.exe /run /tn “MyProgramExe”

Now, in place of the “MyProgramExe” – Type the name of the shortcut. In this case we had named the Task “RevoUAC”. So we type that in. Make sure that the Task Name is within quotation marks.

Type the Execution command for the task in Shortcut Window

Click on Next and give a familiar name the shortcut and click Finish.

Next - Give a Name to the New Shortcut

That’s about it, now you have a shortcut on the desktop for your trusted program and its not blocked by the UAC every time you start it.

New Shortcut Created

You can select a different Icon for the shortcut if you wish, or just use the default icon, wither way, it gets the job done!

A One Click Solution for creating Elevated shortcuts to bypass UAC prompt –

Allow Any Program To Bypass UAC Prompt Easily With UAC Trust Shortcut Utility

  • I’m sure that everyone has about half a dozen or so trusted programs. What I would like to try would be to rather than have the shortcuts on the desktop, have them in a folder that sits in the taskbar. When this folder is clicked on, have a jumplist appear containing the shortcuts that have been created in the task scheduler UAC bypassed. I guess I could create a restore point and give it a shot.

    • That’s a good idea TBJwolf. You could also add them to the quick launch toolbar.
      If you miss the good old quick launch toolbar from XP and Vista – we have written a short tutorial to enable quick launch toolbar Windows 7.

  • Csblackwell says:

    Tried it, but all I get is a flash of the cmd window. The task runs ok from the scheduler, but not from the shortcut. Running Win 7 ultimate. Any ideas.

  • When I first worked on it, I had a similar issue. It was because the shortcut wasn’t properly configured. Make sure you input the correct “program name” in the shortcut.

    That resolved it for me, so please try it and let me know if it works out!

    • Abe Hendin says:

      I too had the cmd window flash, which reports “ERROR: The system cannot find the file specified.” My task starts the program just fine, but the shortcut did not. It finally hit me that Win 7 didn’t like the “smart” quotes that came over when pasting your link format above:
      C:\Windows\System32\schtasks.exe /run /tn “MyProgramExe”
      In fact, if you look closely in the target box, you can see that the quotes as pasted are different from a dquote as typed there. You may want to change your text there to use CHR(34) instead of smart quotes, or advise retyping instead of pasting.

      Now, this doesn’t resolve the UAC prompt if the program in question is started by double-clicking a file… even if the program was already started without UAC by the task scheduler trick. Ho hum. Sadly, I can’t pull a fast one and pass the document pathname as an argument to the scheduled task by changing the file association to the shortcut. More thinking to do!

  • Ronrobert says:

    Don’t put the quotation marks around the task name after the tn
    Shortcut should be:C:WindowsSystem32schtasks.exe /run /tn Temp
    Not: C:WindowsSystem32schtasks.exe /run /tn “Temp”
    This will start my task called Temp
    Hope this helps.

  • instead of doing these we can set the UAC to some low level, this will enable you to launch any application you like without the prompt, but will show the prompt when a program launches something. This way the malwares will not be able to execute anything, and you will be able to do it all. You can even create your own custom app if you wish to.