Elevator – command line

If you tried elevator, you probably know that it is running thought context menu:

image

It is assigned only to exe files (if it is needed, I can extend it)… But sometimes you may want to change shortcut to always run specific action using elevator.

In fact it is pretty easy – just run ElevatorRunner.exe with filename and parameters and you are all set :)

First parameter is executable you want to run and then any command line arguments you want to include.

For example if you want to elevate MMC.exe, simply runs ElevatorRunner MMC.exe and thats it.


To also show example with command line parameters, this is command line I use to run Joost:
C:\Data\SkipUAC\ElevatorRunner.exe “C:\Program Files (x86)\Joost\xulrunner\tvprunner.exe” “C:\Program Files (x86)\Joost\application.ini”

 

In following screenshot you can see few examples:

image

 

It is also pretty easy to modify shortcuts to use Elevator:

image

Martin

4 thoughts on “Elevator – command line”

  1. Thanks Martin :D
    Joost works for me now if I run it from a shortcut.
    Keep up the good work!

    Thanks again,
    David Phillippo

  2. I really like this solution. Would it be possible to make a non-elevated version of this for the sole purpose of suppressing those obnoxious “unidentified program” prompts? I noticed this trick eliminates those, but I’d rather not have to needlessly elevate them as well.

  3. Hmmmmmm, as far as I know this is eliminated because it is elevated :(

    However you can try it yourself. Go to scheduled tasks, find scheduled task named Elevated and just uncheck checkbox that is stating that you want to run application elevated.

    If that works (application is NOT elevated and you don’t get unidentified program prompts), I can add it as option ;)

    Martin

  4. Bummer. You are correct. Without being elevated that prompt comes back. Thanks for the directions on trying that!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>