I have a program - Macro Scheduler - which requires Administrator privileges in order for me to run certain macros I have created.
This requires running the application at startup in Administrator mode. The application already automatically runs at startup.
To my horror, when "Run as Administrator" is checked, the application still runs at startup, but as verified by this question, the user interface is not visible and (more to the point in my case), the tray icon is invisible, and worse yet, with the tray icon invisible, the application does not respond to my hotkeys.
When I simply double-click the application icon, with "Run as Administrator" checked in the Properties for the application, the tray icon loads and the application runs as desired.
I therefore played around with various possibilities in the Task Scheduler to run this program at startup, most notably:
- Set the scheduled task to run the program with "Highest Privileges"
- Set the scheduled task to run the program as Administrator
- Set the scheduled task to run the program as SYSTEM
- Set the scheduled task to run the program as the user I log in as normally
- Set the scheduled task to run the program in parallel if an instance is already running
- Set the scheduled task to wait 30 seconds after logon to run the application
- Set the scheduled task to run the application at "any user logon", as well as at system startup
Unfortunately, none of the above options works. Whenever the application runs without administrator privileges, it starts just fine, displaying the icon in the tray and responding to hotkeys, but without running my macros that require Administrator privileges. And, whenever it runs with Administrator privileges, no tray icon appears and it does not respond to hotkeys.
Note, in regards to the above link, that I have User Account Control completely disabled.
What I would like seems fairly simple. I simply want to run this desired program with Administrator privileges at startup or logon exactly as though I double-click the application icon. Nothing more, nothing less.
Is this possible in Windows 8?