I have an application which is a launcher for another application (my main one). The launcher goes to an FTP server, downloads updates and installs them. However, the update
I upvoted the accepted answer, because it is the correct one, but, sometimes we do need to eat our cake and have it too.
I found this tool to work beautifully from batch files or from startup:
https://github.com/alexey-gusarov/elevate
Can be installed via chocolatey:
choco install elevate