Win C#: Run app as administrator without UAC prompt
- by paja
Hello,
I need one of my .exe to always run as administrator without UAC prompt. My program will be installed with setup, which will have for one time admin rights, and I need to perform such step in this setup that my exe will be always executed as admin without UAC prompt.
I've found 2 solutions so far:
1)
Use custom service, which will elevate the program for me.
2)
Use tash scheduler:
http://www.howtogeek.com/howto/windows-vista/create-administrator-mode-shortcuts-without-uac-prompts-in-windows-vista/
Is there any other solution? Some manifest probably?
Thanks.