I would like my app to always have admin privileges, but I would like the user to be asked for the admin password only at the very first start.
I have tried multiple things, but the only working solution so far seems to be an extra helper program which runs as a Windows service. This program is then running always, has admin privileges and communicates with the main program via TCP. But this approach is rather complex.
Do you have another idea for this?