Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have recently upgraded to Windows 8.

I almost exclusively use Win+R and the run dialog to open any program, and as a developer need to open some programs as an administrator.

In Windows 7, the run dialog tells me that This task will be created with administrative privileges.

How can I configure the run dialog to behave like this in Windows 8?

Edit for close as duplicate:
As per my comment, I read the related question (Win+R runs as Administrator in Windows 8) before posting. However, the accepted answer is "Don't use Win+R", which doesn't solve my problem.

share|improve this question

marked as duplicate by Karan, Breakthrough, Dave M, Scott, Brad Patton Jun 12 '13 at 19:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I have read this related question:…. However, the accepted answer is "don't use Win+R", which doesn't solve my problem. – StuperUser Jun 10 '13 at 16:28
If you have to run every program you use as an administrator there are problems with those programs. A program should FULLY function without having to be ran as an administrator. You sure its even required? – Ramhound Jun 10 '13 at 16:57
@StuperUser: Why? What is the advantage the Run dialog has? – Oliver Salzburg Jun 10 '13 at 17:21
For me, speed and convenience; 1 key stroke then the name of the program. – StuperUser Jun 10 '13 at 17:31
@StuperUser It's the same if you do it from the start menu/screen search: one keystroke (the Win key) and the name of the application. You just need to hold Ctrl and Shift while pressing enter, which isn't a great inconvenience with most of the typical hand rest positions. – Bob Jun 10 '13 at 18:01

That functionality in Windows 7 is provided by turning UAC off; You can try to do the same in Windows 8 for it, but I do not recommend that.

As an end user that has to constantly deal with software written by terrible developers which breaks with UAC, please make sure you test your stuff with UAC if you don't develop with it enabled!

You can also flag the *.exe as requiring elevated privileges (Properties -> Compatibility). This will cause it to elevate when launched from Win+R. This will require a bit more work to flag each executable, but you don't have to disable UAC, and it gives you much more fine-grained control.

Thanks for pointing out that related question though; as a fellow developer, it'll be nice not having to add all my executables to my %PATH% to quickly launch them.

share|improve this answer
"please make sure you test your stuff with UAC!" really good point. Luckily, all my stuff's web apps, so thankfully I don't have worry about programming for UAC. – StuperUser Jun 10 '13 at 16:44
Lucky.... ;) Another solution is to set a compatibility mode for the executable to run as admin; this will allow you to keep UAC and still have Win+R launch as admin for that executable. – Darth Android Jun 10 '13 at 16:46
I would recommend against turning off UAC. In essence, you will be running every program with administrative privileges (assuming the user account has such privileges). This is highly dangerous for any untrusted applications, which includes web browsers and especially browser plugins. – Bob Jun 10 '13 at 16:53
@Bob: Not to mention turning off UAC completely in Win8 will break Metro apps. – Karan Jun 11 '13 at 2:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.