
I have occasionally found it necessary to have a program start when I log in to my Windows desktop, but with Admin privileges. A little Google searching turned up this procedure for Windows Vista. I assume it works the same or very similarly for Windows 7. Because it is a bit mystical, I have been living in fear that the website with the instructions will disappear and I will never again be able to successfully set up a task in the task scheduler to run with Admin privileges, so I have copied the instructions here, with all credit due to the original author at Thomas’ Developer Blog.
To begin you have to start by removing that program from start up.
1) Run > msconfig
2) Click the Startup Tab
3) Scroll down until you find that pesky program giving you issues
4) Note the location and see if it is HKLM or HKCU
Open up regedit
1) Run > regedit
2) If it is HKLM go to HKey_Local_Machine otherwise it should be HKey_Current_User
3) Go to HKLM/HKCU > Software > Windows > Current Version > Run
4) Find that pesky program, right click, and delete that string value (the ab icon thing)
After that you need to go to task scheduler
1) go to: Start > Program Files > Accessories > System Tools > Task Scheduler
2) Under actions context at the top click “create task…”
Under create task
1) Give it a name (I choose the name of the program
2) Make sure you select run only when user is logged on
3) Check “Run with highest privileges
4) Go to the triggers tab
5) Click New
6) From the drop down select at log on
7) Make sure everything is unchecked EXCEPT “enabled” and click OK
8 ) Click Actions tab
9) Click New
10) Select Start a Program from the dropdownlist
11) Browse for the program you want to start
12) Click OK
13) Click Settings Tab
14) Check Allow task to be run on demand
15) Check Run task asap after a scheduled start is missed
16) Uncheck “Stop the task if it runs longer than:”
17) Uncheck “If the task is not scheduled to run again…” (note that you can check this if you want, but only if you don’t plan to run the program again after a set time)
18 ) Make sure “Do not start a new instance” is selected from the drop down list at the bottom
19) Click OK
20) Restart and it should be working just fine