PDF download Download Article
Get admin privileges in CMD with this tutorial
PDF download Download Article

This wikiHow will show you how to open the Windows Command Prompt as an administrator. The methods in this article work for both Windows 10 and Windows 11, though some are specific to Windows 10 only. This can be done easily if you’re logged in to a user account that has administrator privileges. Running the Command Prompt as an administrator gives you access to more commands and permissions.

Quick Steps

  1. Type "cmd" in the taskbar search bar.
  2. Right-click "Command Prompt" in the Start menu that pops up.
  3. Click Run as administrator.
Method 1
Method 1 of 4:

Search Bar

PDF download Download Article
  1. Consumer electronics expert Ken Colburn says that opening Command Prompt, which is a command line interface on your computer, is as simple as just typing "cmd" into your search bar.[1]
  2. Advertisement
  3. This is the top option in the right-click menu.[2]
    • Click Yes when prompted, "Do you want to allow this app to make changes to this device?"
  4. Advertisement
Method 2
Method 2 of 4:

Run (Windows 10 and Above)

PDF download Download Article
  1. This will open the Run dialog box, where you can enter simple commands.
  2. " However, don't click OK or press Enter just yet.
  3. You'll want to hold down each button as you click it. So, press and hold Ctrl, then press and hold Shift, then finally, press and hold Enter. Once you've held down all three keys at once, you can release them.
    • This will make Run open Command Prompt as an administrator.
  4. Advertisement
Method 3
Method 3 of 4:

Run (Windows 8.1 and Below)

PDF download Download Article
  1. This will open the Run dialog box, where you can enter simple commands.
  2. Once you do so, press Enter to run the command.
  3. You'll be prompted to enter your password once CMD opens. You'll need to type in the administrator password to continue; if you're the only user on your computer, you should be the admin by default.
  4. Advertisement
Method 4
Method 4 of 4:

Power User Menu (Windows 10 and Below)

PDF download Download Article
  1. It's in the bottom-left corner of the screen, in the taskbar. Alternatively, you can press Win+X to open this menu.
  2. Alternatively, if you pressed Win+X to open the Power User menu, you can press A to choose the Command Prompt (Admin) option (you'll see the word Admin has the A underlined, which means you can press that key to select that option). You can't press A to select this option if you right-clicked on the Windows icon.
  3. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Is there a command to activate admin cmd while already in normal cmd?
    Arrogance
    Arrogance
    Top Answerer
    You can launch a new elevated Command Prompt window with "powerShell -Command Start-Process cmd -verb RunAs". You cannot launch a new elevated prompt in the same window.
  • Question
    When I click manage account on my admin account, it says manage another account and change password. What is going on?
    Community Answer
    Community Answer
    Press the Windows key (Image titled Windowsstart.png) + S at the same time. This opens Windows search.
  • Question
    How do I undo run as administrator?
    Liam Townsley
    Liam Townsley
    Community Answer
    Restart your command prompt and it will no longer be an administrator terminal.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Be cautious when running commands in the Command Prompt as an administrator. You can do permanent damage to your computer if you run the wrong command.
  • Avoid running any random command you find on the internet. Some people will troll others by saying that you should run a command to fix a problem, but the command will actually damage your computer.
    • Some commands that you should avoid running are "del", "rd", or "format", unless you know what you are doing. This list is not exhaustive, however, and other commands can still be dangerous.
Advertisement

You Might Also Like

Open the Command Prompt in Windows6 Simple Ways to Open the Command Line in Windows
Open Terminal in Windows Open the Windows Terminal: A Quick Guide
Open Command Prompt with a Keyboard Shortcut (Windows 8, 8.1, and 10)4 Ways to Open Command Prompt with Keyboard on Windows
Make Yourself an Administrator on Any Windows SystemMake Yourself an Administrator on Any Windows System
Boot to Command PromptBoot to Command Prompt
Reboot from Command Prompt on Windows Restart Windows in Command Prompt:
Make Command Prompt Appear at SchoolMake Command Prompt Appear at School
Add and Delete Users Accounts With Command Prompt in WindowsAdd and Delete Users Accounts With Command Prompt in Windows
Run Task Manager from Command PromptRun Task Manager in CMD (+ More Task Manager Commands)
Open a Folder in Cmd Open a Folder in Command Prompt (CMD)
Log in As an Administrator in Windows 10Quick Ways to Log In as Administrator in Windows 10
Set Administrator Password Change the Windows Administrator Password
Change Directories in Command Prompt Navigate to a Different Folder in the Command Prompt
Start the Control Panel from the Command Line Open the Control Panel from a CLI on a Windows Computer
Advertisement

References

  1. Ken Colburn. Consumer Electronics Expert. Expert Interview
  2. https://grok.lsu.edu/article.aspx?articleid=18026&printable=y

About This Article

Ken Colburn
Co-authored by:
Computer Repair Expert
This article was co-authored by Ken Colburn and by wikiHow staff writer, Hannah Dillon. Ken Colburn is a Consumer Electronics Expert and the Founder & CEO of Data Doctors Computer Services. With more than 34 years of experience, he specializes in computer checkups and repairs, data recovery, and teaching others about technology. Ken also provides one-minute tech tips through his broadcast, Data Doctors Tech Tips. This article has been viewed 277,437 times.
How helpful is this?
Co-authors: 7
Updated: November 28, 2025
Views: 277,437
Article SummaryX

1. Press the Windows Key + S.
2. Type cmd.
3. Right-click Command Prompt.
4. Click Run as administrator.

Did this summary help you?

Thanks to all authors for creating a page that has been read 277,437 times.

Is this article up to date?

Advertisement