Helping people with computers... one answer at a time.

Pinning something to the task bar in Windows 7 is convenient, but appears to hide the "run as administrator" option. We'll find it.

I run into this often enough that I thought I'd share this quick tip for Windows 7 users.

Pinning something to the task bar so that it's always there ready to be run is convenient, but if you also, as I do, occasionally need to run items as the administrator, it's not obvious where the "run as administrator" option is. In fact, it's also not obvious how to run a second instance.

I'll show you.

I'll use the Windows Command Prompt as my example, since it's not uncommon to a) want to run it as administrator occasionally, and b) want to run multiple copies of it.

Here it is, not running, pinned to my task bar:

Command Prompt pinned to Windows 7 taskbar

Click on it, and it'll start an instance of the Command prompt.

Click on it again, and it'll ... not start an instance, but rather toggle the already running instance between being minimized and being displayed.

Right click on it, and you get this popup menu which would seem to offer some hope:

Right click on an already running pinned Windows Command Prompt in the task bar

Click on the Command Prompt in the popup menu and you'll get ... a second instance of the Command Prompt.

But still no "run as administrator".

Here's the trick: right click on that Command Prompt in the popup menu to get another popup menu:

The second right-click menu on a pinned taskbar item

There's the missing "run as administrator" option we've been looking for.

A couple of caveats:

You'll either need to be logged in as an administrator, or perhaps have to supply the administrator password to run something as the administrator (that's kinda the point).

Not all programs should be run as administrator. Make sure you know what you're doing.

Not all programs support running multiple instances. Command Prompt obviously does, but other programs may simply cause the already running instance to come to the foreground.

Article C4299 - May 6, 2010 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

9 Comments
Ken B
May 6, 2010 12:27 PM

There are times when you want a program to always be run as administrator. (Rare, but it does happen.) In that case, right-click the taskbar icon and right-click the program name, but then select "properties" instead. From there, click "advanced", and one of the choices is "run as administrator".

You'll still have the same UAC warnings, if enabled, but now all you have to do is click the icon to start it.

saad
May 11, 2010 2:08 PM

Also if you hold the "shift" key and press right click you will get the normal right click menu with "run as administrator" option..... best regards Dear Leo.

JustInspired
May 12, 2010 12:30 AM

Hold down Ctrl + Shift + Alt and then click it!

Simon
May 12, 2010 1:25 PM

I thought you were going to tell us how to make the taskbar icon default to Admin rights permanently. It would be good to find a way to remove the "Shield" from a taskbar icon permanently. For example, I use Winrar, but system doesn't like me using it unless I provide Admin's password. How can we set the prog to permanently run with full rights?
Thanks

JustInspired
May 12, 2010 4:47 PM

* Sorry; my previous comment should say Ctrl + Shift (Alt is not required)

mahee
June 24, 2010 9:23 AM

there's an easier way,
check this out

http://www.recipester.org/Recipe:Permanent_run_specific_application_as_Administrator_in_Windows_7_43539952

mur_phy
September 1, 2010 11:22 PM

Shift + click on an app will open a second instance in many cases

lemon-juice
August 20, 2011 8:34 PM

once i click on run as administrator, i get an error message saying "the extented attributes are inconsistent". it's been preventing me from downloading anything. how to fix?

Phil in Seattle
November 6, 2011 6:40 PM

I already had found how to run as administrator from taskbar icon in Windows 7 Ultimate. However, on the new machine that I just built (also running windows 7 ultimate), I right-click on the taskbar button for the app, then right-click on the app icon, then click on 'Run as administrator', and nothing happens. This works on my old machine.

(ALL Windows updates are installed including SP1 and all subsequent through today. The app is Visual Studio 2008. Run as administrator does work by right-clicking on the main menu item for the app; it only fails from the taskbar.)

I also just tried Shift+right-click, as suggested by another commentor, and then selecting 'Run as administrator', and it still does not work. It only works from main menu.

Thanks, I'll appreciate the help.

Comments on this entry are closed.

If you have a question, start by using the search box up at the top of the page - there's a very good chance that your question has already been answered on Ask Leo!.

If you don't find your answer, head out to http://askleo.com/ask to ask your question.