Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.