Introduction
Sometimes you have a program you trust a program with elevated privileges and you want to bypass the UAC prompt.
This article lists how to do that.
Open Task Scheduler
Click Start.
Right click on Computer and click Manage.
[wpg2 31]
Click Continue.
Click “Task Scheduler” on the left.
[wpg2 165]
Create an Elevated Task
Click “Create Task” on the right.
[wpg2 168]
Basics
Type a Name for the task.
You can also type a description if you want to.
Click “Run with highest privileges”.
[wpg2 170]
When to run the task
Depending on which you want follow that section.
To run when you login
Click Triggers at the top.
Click New.
Select “At log on” under begin task.
Select “Specific User Or Group”. This ensures the task only runs at log on for you and not all users. Running for all users would be a security risk due to the program running under your User Account with Administrative Access.
Click Ok.
[wpg2 172]
Now scroll down to the what to run section.
To run with a shortcut
Open the folder you want a shortcut in.
Right click in the folder, move over New and click “Shortcut…”.
[wpg2 181]
In the box type: schtasks.exe /run /tn “TaskName” where TaskName is the name of task you put in on the basics tab and click next.
[wpg2 179]
Type a name for the shortcut and click Finish.
[wpg2 177]
Now you have a shortcut. It doesn’t work yet though.
[wpg2 175]
Close the folder and switch back to the Task Scheduler Window.
What to run
Click Actions at the top.
Click “New…”.
Put the path of the program in the “Program/script” box.
Click Ok.
[wpg2 183]
Options
Click the Conditions tab.
Uncheck “Start the task only if the computer is on AC power” unless you want that to happen.
[wpg2 185]
Click the Settings tab.
Uncheck “Stop the task if it runs longer then”.
[wpg2 187]
End
Click Ok.
Now the task will run elevated and either on demand with a shortcut or on log on.
Information from: http://huddledmasses.org/vista-setuid-how-to-elevate-without-prompting/