Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a program that requires administrative privileges to run (i.e. the UAC prompts when it starts)

Can i have this program run at start-up? its in the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run but fails to start when i log in.

How do i fix this?

share|improve this question
up vote 5 down vote accepted

If you'd like to keep UAC on your current settings, you can have Task Scheduler run it for you on startup, with higher priviledges.

  • First, remove the current startup entries for the program. Autoruns can help you with this.

  • In Task Scheduler, set the action as the program you want to run, and have it run when you log on. Then in the General tab of your task, check Run with highest priviledges as shown here:

alt text

Complete guide found here (it is for Vista, but 7's task scheduling is almost identical).

share|improve this answer
One note I'd like to add. Some programs, unless they're run as part of login won't correctly attach to the existing explorer.exe (they're run from taskhost.exe). This means if they rely upon the explorer to display a taskbar icon in the notification area, they won't. You can get around this by enabling Allow task to be run on demand and use schtasks /run /tn 'Task Name' – Darren Hall Dec 25 '09 at 4:15
Thanx, using the task scheduler was the only way i was about to get around the UAC prompts – Nick Kavadias Mar 3 '10 at 12:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .