Is there a way to run a program or command with elevated rights when I am already in a non-elevated command line?
Exactly the same action that would be performed when I click on the program shortcut and select Run as administrator.
The runas command is probably not a solution – it asks for a password, but I just want the UAC dialog.
Best Answer
It looks like this utility - Hidden Start - will do what you wish if you use the /uac switch. Here's an example command line:
This will pop up the UAC dialog rather than ask for a password like runas does.