Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Run as Administrator



Run as Administrator

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

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)
Name:  Context_Menu.jpg
Views: 384375
Size:  53.5 KB
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)
Name:  Taskbar1.jpg
Views: 351942
Size:  39.8 KB
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.
Name:  Compatibility_Mode1.jpg
Views: 367045
Size:  129.5 KBName:  Compatibility_Mode2.jpg
Views: 361721
Size:  132.1 KB
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)
Name:  Advanced_Properties1A.jpg
Views: 363031
Size:  97.7 KB
3. To Always Run this Specific Shortcut as an Administrator
A) Check the Run as administrator box, and click on OK. (see screenshot below)
Name:  Advanced_Properties2.jpg
Views: 362331
Size:  59.2 KB
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

02 Jun 2009   #1
Captain Zero

Windows 7 Home Premium x64
 
 

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
 
 

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
 
 

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)
 
 

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
 
 

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
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

For the best protection, it should be all the way to the top. You may need to restart the computer afterwards as well.
My System SpecsSystem Spec
15 Sep 2009   #9
Lordofminor

Windows 7 Professional x64
 
 

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




Tutorial Tools




Our Sites

Site Links

About Us

Find 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 05:26 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 33