Run as Administrator

Page 1 of 11 123 ... LastLast
    Run as Administrator

    Run as Administrator

    How to Run a Program as an Administrator in Windows 7
    Published by
    Designer Media Ltd


    How to Run a Program as an Administrator in Windows 7


       Information
    This will show you how to have a program run as administrator with full elevated rights and privileges in Windows 7.

    A Standard user will still not be able to run a elevated program without getting a UAC prompt and having to enter the administrator's password.
       Note
    If a program that you are trying to run is giving you a Access Denied or No Permission type error, then running it as an administrator can usually give the program the permission it needs to run properly.
       Warning
    You should only allow a program that you trust to run as administrator. Once you have applied UAC permission, the program will have full access to your computer.





    OPTION ONE

    "Run as administrator" using a Keyboard Shortcut


    NOTE: This will allow you to temporarily run a program as an administrator once until you close it.
    1. Press and hold Ctrl+Shift while opening the program.

    2. If prompted by UAC, then click on Yes to apply permission to allow the program to run with full permission as an Administrator.
    NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator's password before the program will run as administrator.




    OPTION TWO

    "Run as administrator" using Context Menu of Program


    NOTE: This will show you how to temporarily run a program as an administrator once until you close it.
    1. Right click on the program's shortcut or an .EXE file, BAT file, CMD file, or MSI file, and click on Run as administrator. (see screenshot below)
    Run as Administrator-context_menu.jpg
    2. If prompted by UAC, then click on Yes to apply permission to allow the program to run with full permission as an administrator.
    NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator's password before the program will run as administrator.



    OPTION THREE

    "Run as administrator" from Pinned Program on Taskbar


    NOTE: This will show you how to temporarily run a program pinned to the taskbar as an administrator once until you close it.
    1. Right click on the icon of the pinned program on the taskbar to open it's Jump List. (see screenshot below)

    2. In the Jump List, right click on the program's name, and click on Run as administrator. (see screenshot below)
    Run as Administrator-taskbar1.jpg
    3. If prompted by UAC, then click on Yes to apply permission to allow the program to run with full permission as an Administrator.
    NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator's password before the program will run as administrator.



    OPTION FOUR

    "Run as administrator" from Start Menu Search Box


    NOTE: This will show you how to temporarily run a program as an administrator once until you close it.
    1. Type in the file name (ex: cmd) of the program that you want to run elevated. (see screenshot below)
    Run as Administrator-start_menu.jpg
    2. Do either step 3 or 4 below.

    3. Press Ctrl+Shift+Enter to open the program (ex: cmd) elevated, and go to step 5 below.

    OR

    4. Do OPTION TWO as above to right click on the program (ex: cmd) in the search results at the top of the Start Menu, and click on Run as administrator. (see screenshot below step 1)

    5. If prompted by UAC, then click on Yes to apply permission to allow the program to run with full permission as an Administrator.
    NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator's password before the program will run as administrator.



    OPTION FIVE

    "Run as administrator" using Compatibility Mode


    NOTE: This will show you how to always have the program run as an administrator when you open it.
    1. Right click on the program shortcut or program .exe file, then click on Properties, and on the Compatibility tab. (see screenshots below)
    NOTE: If you are doing this while logged on as a standard user instead of an administrator, then you will need to also click on the Change settings for all users button and type in the administrator's password.
    Run as Administrator-compatibility_mode1.jpgRun as Administrator-compatibility_mode2.jpg
    2. To Always Run this Program as an Administrator
    A) Check the Run this program as an administrator box, and click on OK. (see screenshots above)
    3. To Not Always Run this Program as an Administrator
    A) Uncheck the Run this program as an administrator box, and click on OK. (see screenshots below step 1)
    4. Open the program.

    5. If prompted by UAC, then click on Yes to apply permission to allow the program to run with full permission as an administrator.
    NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator's password before the program will run as administrator.



    OPTION SIX

    "Run as administrator" using Advanced Properties


    NOTE: This will show you how to always have only this specific shortcut of the program run as an administrator when you open it, and not from any other shortcut or .exe of the program.
    1. Right click on a shortcut that you want to run as administrator, and click on Properties.

    2. Click on the Shortcut tab for a program shortcut, then cllick on the Advanced button. (see screenshot below)
    Run as Administrator-advanced_properties1a.jpg
    3. To Always Run this Specific Shortcut as an Administrator
    A) Check the Run as administrator box, and click on OK. (see screenshot below)
    Run as Administrator-advanced_properties2.jpg
    4. To Not Always Run this Specific Shortcut as an Administrator
    A) Uncheck the Run as administrator box, and click on OK. (see screenshot above)
    5. Click on OK. (see screenshot below step 2)

    6. Open the program.

    7. If prompted by UAC, then click on Yes to apply permission to allow the program to run with full permission as an Administrator.
    NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator's password before the program will run as administrator.



    OPTION SEVEN

    "Run as administrator" using an Elevated Shortcut





    OPTION EIGHT

    "Run as administrator" Manually in Registry Editor


    1. For how, use the RUNASADMIN value with the full path to the program's file in OPTION THREE here: How to Run a Program in Compatibility Mode in Windows 7
    That's it,
    Shawn








  1. Posts : 990
    Windows 7 Home Premium x64
       #1

    Outstanding. Another fine tutorial.

    I'd add a couple of questions, Brink...

    1 - When is it NOT ok to RAA?
    2 - Rules of thumb for using RAA?
    3 - Drivers, always use RAA?

    That might be helpful as a reference for many.
      My Computer


  2. Posts : 72,505
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Hello Captain Zero,

    Q1) I would say that when a program runs fine normally, then there is no need to RAA.

    Q2) Mostly what's in the NOTE at the top of the tutorial.

    Q3) Drivers do not always RAA. Escpecially not if they are loaded at startup since it would cause you to have to apply UAC permission everytime you started Windows 7. It is usually best to leave these set at default. If the drivers do not run properly, then try installing the driver with RAA instead.

    Hope this helps,
    Shawn
      My Computer


  3. Posts : 158
    Windows 7 Professional x64
       #3

    Hi Brink, thanks for tutorial. But second method doesnt works for me (classic - right click on file - run as admin). When I do this, nothing happens. Well, program starts, but not with administrator privileges.
    I have UAC turned off.
    Thanks for quick help.
    Hope you understand my English..
      My Computer


  4. Posts : 72,505
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    Hello Lordofminor,

    Does it work for you when you have UAC turned on?
      My Computer


  5. Posts : 5,807
    Windows 7 Home Premium x64 - Mac OS X 10.6.4 x64
       #5

    If he has UAC turned off than Run as Administrator won't appear...because he is running everything as an administrator now because of again...no UAC
      My Computer


  6. Posts : 8,476
    Windows® 8 Pro (64-bit)
       #6

    Zidane24 said:
    If he has UAC turned off than Run as Administrator won't appear...because he is running everything as an administrator now because of again...no UAC
    No thats not true. I have turned off UAC and some programs wont run without running it as admin. So i right click and do run as admin and the program runs fine. So even if you disable UAC, run as admin still can be applied.
      My Computer


  7. Posts : 158
    Windows 7 Professional x64
       #7

    Thanks for quick replys, I will try to turn UAC on and see if it works.
    And, in which position of these three I should keep it?
      My Computer


  8. Posts : 72,505
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #8

    For the best protection, it should be all the way to the top. You may need to restart the computer afterwards as well.
    Last edited by Brink; 15 Sep 2009 at 11:40.
      My Computer


  9. Posts : 158
    Windows 7 Professional x64
       #9

    Brink said:
    You may need to restart the computer afterwards as well.
    It is normal that Windows doesnt inform me about need of restart? Btw, are these changes for everyone user, or only for non-admin users?
      My Computer


 
Page 1 of 11 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:56.
Find Us