Windows 7: Bypass UAC Prompt For Specific Application
By: Arie SlobSometimes 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:
- Type Task Scheduler in the search box on your Start menu, and press [Enter]
- Click the Create Task link under Actions in the right panel
- 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
- Select the Actions tab and click the New button
- 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
- You can now close Task Scheduler
- On your desktop, right click an empty space and from the context menu choose New > Shortcut
- 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
- 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.