User Account Control (UAC) is a security feature found in Windows Vista and Windows 7. UAC helps prevent unauthorized changes to your computer, but may get very annoying, especially if you try to launch certain programs on startup. There’s a quick workaround for this though.
- Go to Start Menu > All Programs > Accessories > System Tools > Task Scheduler
- Create a new task that runs a program of your choice. For example, this task will be named “My Task”.
- Create a shortcut in Start Menu > All Programs > Startup. Link this shortcut to your task inside Task Scheduler by using the command schtasks /run /tn “My Task”
- Done!
Now whenever windows boots up, it will run My Task (and your program) does not ask for permission anymore. Note that this bypasses UAC and its security goals, and that you should be sure of what you’re doing, and that your program is safe to run before attempting this.