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.

When I access the Run dialog in Windows 8 and type cmd, it opens a command prompt but it doesn't have administrative privileges.

Looking for cmd at the default start screen does show a command prompt shortcut but it is not admin either.

Is there a way of opening an admin command prompt or it is not possible anymore?

share|improve this question

4 Answers 4

up vote 14 down vote accepted

Yes, it is possible and there are several ways of doing it:

  1. This one is my favorite because it's quite fast, press Win+X to bring the power user menu up and then press A; it opens right away.
  2. Right click in the bottom left corner of the screen to open that menu too, and then click on "Command Prompt (Admin)".

    Menu

  3. Launching it from the start screen is also possible, and there are 2 ways that I know of:

    3.1. Holding down Ctrl+Shift before clicking it (or any other program for the matter) will open it with admin privileges (thanks to ernie for the info).

    3.2. Holding down Ctrl alone or right clicking the shortcut will show a bottom menu with options, one of which is "Run as administrator":

    Graphically

Anyway as Misha says you should really consider if you need an administrator terminal.

share|improve this answer
    
I need it to delete some leftover folders and files from the upgrade, I can't in the regular explorer. –  Charles Oct 31 '12 at 21:49
    
@Charles: just run it as administrator? –  houbysoft Oct 31 '12 at 21:57
    
Another option is to hold ctrl while pressing enter when launching the Command Prompt (or any application) –  ernie Oct 31 '12 at 23:34
    
@ernie Thanks, didn't know that. But it's apparently holding Ctrl+Shit right? Holding Ctrl alone pops up the bottom menu in my machine. I'll add it to the answer. –  Xandy Oct 31 '12 at 23:56
    
@xandy yes, ctrl-shift - sorry about the confusion. –  ernie Nov 1 '12 at 0:16

If you are upgrading or have bought a new computer with Windows 8.1 the following ways maybe helpful:

A. Opening Command Prompt as administrator from Start screen.

  1. When you are in the Start screen, type Command Prompt to see Command Prompt in the search result.
  2. Do a right-click on the Command Prompt entry and then click Run as administrator option to open elevated Command Prompt.

enter image description here

B. Switch To Start Screen. (Use this method if you prefer to open admin Command Prompt from desktop.)

The power user menu or the Win+X menu that appears when you right-click on the Start button on the Windows 8.1 taskbar shows Windows PowerShell and Windows PowerShell (admin) options with default settings.

If you prefer to use Command Prompt over PowerShell, you can configure Windows 8.1 to display Command Prompt and Command Prompt (admin) options in the power user menu by following given below steps:

  • Right-click on the empty space of taskbar and then click Properties to open Taskbar and Navigation Properties dialog.

enter image description here

  • Switch to the Navigation tab and check the option titled Replace Command Prompt with Windows PowerShell in the menu when I right-click the lower-left corner of press Windows key + X to replace Windows PowerShell option in the power user menu with Command Prompt.

enter image description here

  • From now on, you can simply right-click on the Start button, click Command Prompt (admin) and then click on the Yes button when you see the UAC prompt to run Command Prompt as administrator.

enter image description here

Additional ways to access administrator command prompt in Windows 8.1 including the methods described above can be found here.

share|improve this answer

You can go to all apps, find command prompt, right click, and then run as administrator.

enter image description here

share|improve this answer

It is also in the Win+X power user menu

A cursory Google search yields rather exhuastive results. I would strongly encourage you to proceed with caution as you can do irreversable damage to your system.

share|improve this answer
    
I need it to delete some leftover folders and files from the upgrade, I can't in the regular explorer. –  Charles Oct 31 '12 at 21:48
1  
@Charles Formost, never, never do an upgrade install. It doesn't work. My entire hope of completing the Windows 8 Challange is fueled by people who do upgrade installs. This sounds like an ownership issue that can be addrssed by changing the ownership of the folders: which can be done in the explorer. –  Mikhail Oct 31 '12 at 21:53
    
I have an upgrade license, that's why I did upgrade, but there were things left behind or something. –  Charles Oct 31 '12 at 21:59
    
@Charles, I would strongly encourage you to do a clean install. This is possibel from an upgrade installation. I would personally do a clean install using the upgrade media from a running copy of Windows 8. –  Mikhail Oct 31 '12 at 22:02

protected by Community Feb 10 at 7:34

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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