Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
3  
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.