
Quote: Originally Posted by
nelsonm
After reading the post, i don't think that would work in my case since when the program installs, it sets itself up to automatically run after account login. I would have to substitute the executable for the shortcut in the registry somewhere i think.
Wouldn't it easier just to elevate the programs' priority in the registry?
No, I feel as though that wouldn't work. When you create the task, substitute it for the run command in the registry. Example: Hd tune would have in the registry an entry HKLM run to autostart the E:\Program Files\HD Tune\hdtune.exe but it will not launch because it needs elevation. Now, Copy the scheduled task and name that you create for your app and replace it in the registry with what your app has installed/written in order to autostart it. I gave HD Tune as an example so after I made the task, I replaced HD Tune's installed auto start entry of
E:\Program Files\HD Tune\hdtune.exe in the registry with the task I made
E:\Windows\System32\schtasks.exe /run /tn HDTune