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.

In Windows 7 opening Run dialog (Win+R) and confirming with Ctrl + Shift + Enter ran specified command elevated.

In Windows 8 this trick doesn't work anymore and I miss it a lot!

Is there a way to get this feature back?

share|improve this question
    
never had to do that when using win+r in a admin user account in W7, it ran elevated by default. –  Moab Aug 15 '12 at 22:12
2  
@Moab Not if you have UAC enabled. –  Darth Android Aug 15 '12 at 22:13
2  
For me, this only works in the Windows 7 Start menu, but not in the Run dialog. And that functionality is still there in Windows 8. –  Oliver Salzburg Aug 15 '12 at 22:23
    
Not on any of my systems with UAC enabled. –  Moab Aug 15 '12 at 22:24
    
I'm on Windows Vista here. This only works from the Start menu, not from the Run prompt. This is something I picked up from HowToGeek years ago. But does this really work from the Run prompt in Windows 7?... –  sammyg Aug 3 '13 at 22:13

2 Answers 2

up vote 9 down vote accepted

Do not press Win + R.

Instead, just press Win and type the command directly into the Metro interface. As you type, the search interface will start bringing up possible matches, but just ignore them. When you're done typing, press Ctrl + Shift + Enter, and the command will run elevated, as expected.

This works perfectly for full commands with arguments. It also works for commands without arguments, but with some caveats (matching shortcut, multiple executables, etc.). I have not generally found these to be a major problem.

share|improve this answer
    
Thanks! I just realised that I have been using Win / cmd / Shift+Ctrl+Enter all the time. :) –  David Vidmar Aug 16 '12 at 8:30
    
This does not seem to work for me all the time when using parameters. Very often, Windows search will open with the exact search term displayed on the left which I can then click to execute the command, but I wan’t it executed when pressing enter instead. For example cmd /c echo.foo. –  poke Jan 9 at 19:28
1  
This behavior seems to have changed in Windows 8.1. If you have parameters, you can press Ctrl-Shift-Enter a second time to execute the command from the search results screen. Or press the down arrow key before hitting Ctrl-Shift-Enter. –  taoyue Jan 23 at 0:38
    
Okay, but how do you get the Run dialog to launch apps as an administrator? –  BrainSlugs83 Nov 13 at 23:49

Okay, I figured it out. It seems to be caused by a feature called "Admin Approval Mode" or "AAM". You can disable this feature and (at least with UAC turned off as well) Win+R will run applications as elevated by default. Here's how to disable it:

  1. Open Local Security Policy editor (on the Start screen type "secpol" and right click it, "Run as administrator").

  2. From the menu on the left, expand "Local Policy".

  3. Under the expanded "Local Policy" heading, select "Security Options".

  4. On the panel on the right find "User Account Control: Run all administrators in Admin Approval Mode", open this setting and change the value to Disabled. [ see: image ]

  5. "OK" out of everything, and reboot (at least on my machine it said that a reboot was required, YMMV).

If it all worked right, when you hit Win+R at your windows desktop you should see the little shield below the text box that says "This task will be created with administrative privileges." [ see: image ]

(NOTE: I believe you have to have UAC turned off for this to work as well.)

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.