People always disable the UAC because there is no way to disable the UAC for a specific program. is this really true?
No, it is not true. There is an build in way to do this!
Q: How can I do this?
A: Use the taskscheduler.
1. Start the computer management MMC snap-in
00_Start_ComputerManagement.png 23.39KB 458 downloads
2. This step is optional: go to Task scheduler Library and make a right click and click "New Folder" (see picture 2)
and type in "myTasks" to create a new folder (see picute 3)
01_TaskScheduler_NewFolder.png 29.99KB 281 downloads
02_TaskScheduler_NewFolder_1.png 23.46KB 207 downloads
3. Make a right click on the folder myTasks and select "Create Task"
03_TaskScheduler_CreateTask.png 16.15KB 220 downloads
and type in a name: I always name them "autoElevatePROGRAMNAME". Here for my expample "autoElevateProcessExplorer" and mark the checkbox "Run with highest priviligies".
04_TaskScheduler_CreateTask_Config.png 24.53KB 381 downloads
4. go to the tab "Actions" and select the program you want to execute
05_TaskScheduler_Action.png 24.38KB 360 downloads
and click ok, to create the Task.
5. create a new shortcut on your desktop and type in the following command:
C:\Windows\System32\schtasks.exe /RUN /TN "myTasks\autoElevateProcessExplorer"
Q: Do I have to do this for all programs I want to start?
Q: How Do I backup my tasks?
A: make a right click on the task and select "Export" and save it into a XML file and after a reinstall of your Windows
Vista / 7 select "Import Task" and import the XML file again.
Q: How do I start applications with administrator rights at startup?
A: You can copy the shortcut into the startup folder ( C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup ) or run the task with a trigger (in the task creation window to to "triggers" and select "create Trigger" and choose "Begin the task" - "At logon". If you create such an trigger you don't have to put the shortcut into the startup folder.
So I hope I was able to show you how to start applications with elevated rights, without disabling the UAC and without being "annoyed" to accept the UAC prompt. I'm using this technique for 3 years (starting with Vista Beta2 Milestone Builds) now.