Run a Command as Administrator from the Windows Run Box (Any Version)

By Lowell Heddings on January 7th, 2015

If you are a command line junkie like me, and have been testing out Windows… one of the first things you’ll notice is that there is no way to run a command from the run box in “Administrator” mode. Until now.

This works in Windows 10, 8, 7, or Vista, but it works a little differently in each.

Running a Command as Administrator in Windows Vista, 7, or 10

To try this out, go to the run box and type in something (cmd, for example)

If you’re using Windows 10, it’ll look a little different, but it’ll be the same thing:


Now instead of hitting the Enter key, use Ctrl+Shift + Enter. You will be prompted with the obnoxious User Account Control dialog… but it will then open up a command prompt in Administrator mode.

Hint: You can use Alt + C to quickly close the User Account Control dialog in Vista, or Alt+Y in Windows 7, 8, or 10.

Running a Command as Administrator in Windows 8

Windows 8 is annoying.

You can’t use either of the methods listed above in Windows 8, instead you’ll have to either just open a command prompt in administrator mode and run the commands from there (the smartest idea) or you can type the command into the search on the Start Screen, and then right-click to get the menu to allow you to run as administrator.


But seriously, Windows 8 is really annoying.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 01/7/15
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!