Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a program I have to run as admin. Now I have to manually do a right click and choose from the menu "Run as admin"

I'm wondering if I could create an icon with some parameter and than just double click on this icon and this program run under admin rights.

share|improve this question
up vote 6 down vote accepted

Create a shortcut to you program (in Explorer drag the exe somewhere with the right mouse button to get menu with create shortcut option).

Right click on the short cut, select properties and the compatibility tab has an option to always run as administrator.

share|improve this answer
You can also do this without a shortcut by simply right-clicking the executable, choosing properties switch to "compatability" tab and then check "run as an administrator". This will run it as admin without regard to how it is launched. – horatio Jan 20 '11 at 20:35

Create a shortcut for that. Right click on that shortcut, Properties, Advanced, Run As Admin, Ok, Ok.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .