How to Open the Command Prompt as Administrator in Windows

Much of the time, opening the Command Prompt as a regular user is all you need. Sometimes, though, you’ll need to open the Command Prompt as an administrator so that you can run commands that require administrative privileges.

Windows offers a lot of different ways to open the Command Prompt, and with a lot of those methods, you can also open the Command Prompt with admin privileges.

Option One: Use the Start Menu

You can also open an administrative Command Prompt using just the Start menu (or Start screen in Windows 8). Hit Start, type “command,” and you’ll see “Command Prompt” listed as the main result. Right-click that result and choose “Run as administrator.”

When you launch the Command Prompt with admin privileges, you’ll likely see a “User Account Control” window asking for permission to continue. Go ahead and click “Yes.”

Once you’ve got the “Administrator: Command Prompt” window open, you can run any command, whether it requires administrative privileges or not.

Option Two: Use the Run Box

If you’re used to using the “Run” box to open apps, you can use that to launch Command Prompt with admin privileges. Press Windows+R to open the “Run” box. Type “cmd” into the box and then press Ctrl+Shift+Enter to run the command as an administrator.

Option Three: Use the Power Users (Windows+X) Menu

Both Windows 8 and 10 offer a Power Users menu that you can access by pressing Windows+X or just right-clicking the Start button. On the Power Users menu, choose “Command Prompt (Admin).”