How to design autostart application that runs as admin on Windows Vista/7?
问题 I have the need for my application to start and stop Windows Services based on certain events. The thing is that this application needs to run as an elevated normal user (In order to stop services), as well as auto start when Windows starts. Additionally, it need to be in the systray with an user interface. What are my options here? I suppose that there are at least two possibillities: To make the application auto start by putting it in the Startup folder or in the ..\Run key in the registry.