I want to start my application automatically with adminrights on user logon. I've found this question: How to run a program automatically as admin on Windows startup? but it does not solve my problem. If i use schtasks there are two problems: The first is that it won't run on the user desktop on vista, xp,...(see comments of the 2nd answer). The second problem is this description of the onlogon parameter
The task runs whenever a user (any user) logs on. You can specify a date, or run the task the next time the user logs on.
See http://technet.microsoft.com/en-us/library/bb490996.aspx. I want to create a settings interface which allows every user to turn starting on logon on and off.
So are there any better solutions out there which will also work on windows xp?