Hi, I understand that it is a difficult function to implement, but as a developer, I often have to start applications as an administrator, it would be possible, maybe when you're preemptive on the shift, run the app selected as an administrator?
Thanks for your patience
Ueli is build with electron and uses node.js to interact with the operating system and execute os specific commands such as opening files and programs. As far as I know it is not possible to start an application as admin/bring up the UAC dialog. If you always want to open specific programs as admin you can do the this:

Ctrl+o to open the file explorer at the specified file locationCompatibility check Run this program as an administrator
I know it does not solve your problem if you want don't always want to launch the program as admin but only "on command". But at least something. I will close this issue and mark it as 'Won't fix'. If you or anyone else has a solution to this, reopen it and let me know ;)
In release binaries, Electron put elevate.exe in resources folder, I don't know why but it's there:

You can use it to open shortcut as Administrator, just execute it with shortcut path as parameter
.\resources\elevate.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Sublime.lnk"
@khanhas Thank you for your research, I will look into this!
For me it doesn't always work. For example the Windows command prompt or Notepad won't work as expected. When I execute
.\resources\elevate.exe C:\Users\Oliver\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories\Notepad.lnk"
Notepad does start (I checked in the Windows Task Manager) but there is no Window. Any idea?
Yeah, it doesn't open CMD and Notepad in my side too, weird.
How about powershell command? I see you already used a Powershell utilities package.
This should works gracefully:
Start-Process -Verb Runas "path/to/shortcut.lnk"
Does this bring up the UAC dialog? Or do you have to enter the user's password on the command line?
Yes, it does bring up UAC dialog as expected in all elevated programs.
And no, users don't need to enter password.
Oh nice! @khanhas Thank you for your research!
@cosimochellini Added the possibility to launch programs as admin with ShiftEnter. This will be included in the next release.
@khanhas Thank you for your research!
Most helpful comment
@cosimochellini Added the possibility to launch programs as admin with ShiftEnter. This will be included in the next release.
@khanhas Thank you for your research!