I put a method on my system to change the registry by starting it with windows, so the executable must be run in administrator mode. The problem is that every time the system starts, the application opens and shows the message asking if the user wants to start as an administrator, which seems a bit annoying to me.
The question I ask is: Is there any way to open the application in administrator mode only the first time? or maybe check if the registry exists in windows and if it does run in normal mode?