Site menu:



Windows 7 > Tips


Windows 7: Bypass UAC Prompt For Specific Application

By: Arie Slob

Sometimes you may have a need for a program to run with Administrator privileges, but if it is a program you run frequently, having to respond to the User Account Control (UAC) prompt gets old fast.

Here is a way around it:

  1. Type Task Scheduler in the search box on your Start menu, and press [Enter]
  2. Click the Create Task link under Actions in the right panel
  3. Type a name for the task (name it after your application) and click the check-box Run with highest privileges. Leave everything else as default
  4. Select the Actions tab and click the New button
  5. Browse to the program in the Program/script box by clicking the Browse... button. When you find your program, select it and click the OK button two times
  6. You can now close Task Scheduler
  7. On your desktop, right click an empty space and from the context menu choose New > Shortcut
  8. In the Create Shortcut window type schtasks.exe /run /tn TaskName where TaskName is the name of task you created at #3 and click Next
  9. Type a name for the shortcut and click Finish

Now, you can double click the shortcut to run the program without UAC prompt.

If you want to have a certain program run automatically at startup, copy the shortcut you created to \ProgramData \ Microsoft \ Windows \ Start Menu \ Programs \ Startup. Please note that the ProgramData is a hidden directory on your hard drive, so you'll have to set Windows Explorer's Folder Options to Show hidden files, folders, and drives.

WARNING: If a virus were to infect your application it would now be able to run with Administrator privileges.