i have an application which requires admin rights due to handling process killing -
i need it to start when the user logs-on
taskschedueler - but i have a few problems with the command line not being efficient enough
schtasks /create /tn mytaskname /tr "myfilelocation" /RL Highest /sc ONLOGON
- since it still checks the "ac-adapter" checkmark amongst others (and /RL doesnt work on win-xp machines)
this wont start the winform
even tried -
still to no avail.
i was thinking about creating a windows service - this seems a bit overkill really.
so my question is - is there any other way - besides taskschedueler, regedit and creating a windows service, that will allow me to start the winform with admin rights at startup
(manifest doesnt help accomplish this btw)