Windows 7 Forums


Windows 7: Run as Administrator


Run as Administrator

How to Run a Program as an Administrator in Windows 7
Published 02 Jun 2009
Published by

Featured Tutorial

Portable OS - Carry your OS on an External Drive
Portable OS - Carry your OS on an External Drive

How to Create a Portable OS on an External Drive

Troubleshooting Steps for Windows 7
Troubleshooting Steps for Windows 7



Search - Find More with Filters and Operators
Search - Find More with Filters and Operators

How to Use Windows Search Filters and Operators to get better Search Results in Windows 7

Microsoft Outlook Desktop Shortcut - Create
Microsoft Outlook Desktop Shortcut - Create

How to Create a Special Outlook Desktop (Office XP style) Shortcut

Troubleshooting Windows 7 Failure to Boot
Troubleshooting Windows 7 Failure to Boot



Emergency Kit - save your files from a dead OS
Emergency Kit - save your files from a dead OS

How to Create and Use a Linux Mint Mate USB Flash Drive to Recover your Files
How to Run a Program as an Administrator in Windows 7

information   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   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   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
1. For how, see:
How to Create a Elevated Program Shortcut without a UAC Prompt

OR

How to Create a Elevated Program Shortcut a Standard User is able to Run in Windows 7



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










Related Tutorials

Need more help? Try searching our extensive help and support site.
Loading
02 Jun 2009   #1
Captain Zero

Windows 7 Home Premium x64 7600 [MSDN]
Los Angeles
 
 

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 System SpecsSystem Spec

02 Jun 2009   #2
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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 System SpecsSystem Spec
15 Sep 2009   #3
Lordofminor

Windows 7 Professional x64
Europe, Slovakia
 
 

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 System SpecsSystem Spec
.


15 Sep 2009   #4
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

Hello Lordofminor,

Does it work for you when you have UAC turned on?
My System SpecsSystem Spec
15 Sep 2009   #5
Zidane24

Windows 7 Home Premium x64 - Mac OS X 10.6.4 x64
North Carolina, United States of America
 
 

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 System SpecsSystem Spec
15 Sep 2009   #6
Dinesh

Windows® 8 Pro (64-bit)
Mumbai, India
 
 

Quote   Quote: Originally Posted by Zidane24 View Post
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 System SpecsSystem Spec
15 Sep 2009   #7
Lordofminor

Windows 7 Professional x64
Europe, Slovakia
 
 

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 System SpecsSystem Spec
15 Sep 2009   #8
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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 AM..
My System SpecsSystem Spec
15 Sep 2009   #9
Lordofminor

Windows 7 Professional x64
Europe, Slovakia
 
 

Quote   Quote: Originally Posted by Brink View Post
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 System SpecsSystem Spec
Comment

 Run as Administrator problems?



Tutorial Tools



Similar help and support threads for: Run as Administrator
Windows 7 Tutorial Category
User is both an Administrator, and not an Administrator. Cannot change General Discussion
No Administrator Privileges on Administrator Account... General Discussion
Renaming the administrator account back to Administrator General Discussion
Domain Administrator has no local Administrator Rights Network & Sharing
Administrator account isn't a 'real' administrator :( General Discussion


All times are GMT -5. The time now is 05:05 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32