PDF download Download Article
Quick guide to open the Command Prompt as an admin
PDF download Download Article

This wikiHow will show you how to open the Windows Command Prompt (also called the terminal window) as an administrator. 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.

How to Do CMD Run as Administrator

  1. Press the Windows Key + S to open the search bar.
  2. Search for "cmd" and right-click “Command Prompt” in the results.
  3. Select Run as administrator.
  1. Advertisement
  2. This is the top option in the right-click menu.[3]
    • Click Yes when prompted, “Do you want to allow this app to make changes to this device?” This will open a window called “Administrator: Command Prompt”.
    • You’re done! The Command Prompt has been opened.
  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 careful when running commands when running Command Prompt as an administrator. You can do permanent damage to your computer if you run the wrong command.
  • Don't run any random command that 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 though, and other commands can still be dangerous.
Advertisement

Things You'll Need

  • Administrator permissions

You Might Also Like

Change Directories in Command Prompt Navigate to a Different Folder in the Command Prompt
Format a USB Using Cmd Format a USB Using CMD (Command Prompt)
Change a Computer Password Using Command Prompt Change a Windows Password Using Command Prompt
Reboot from Command Prompt on WindowsReboot from Command Prompt on Windows
Open a Folder in Cmd Open a Folder in Command Prompt (CMD)
Use Windows Command Prompt to Run a Python FileUse Windows Command Prompt to Run a Python File
Add Users from CMDAdd Users from CMD
Run a Batch File from the Command Line on Windows Run a Windows Batch File from the Command Line (CMD)
Open the Command Prompt in Windows5 Simple Ways to Open the Command Prompt in Windows
Open Command Prompt with a Keyboard Shortcut (Windows 8, 8.1, and 10)3 Ways to Open Command Prompt with Keyboard on Windows
Use Net SendUse Net Send
Copy Files in Command PromptCopy Files in Command Prompt
Watch Star Wars on Command Prompt Watch Star Wars via Telnet: Windows CMD & Mac Terminal
Merge Text (.Txt) Files in Command Prompt Merge Multiple Text Files in Command Prompt, Notepad, & More
Advertisement

About This Article

Ken Colburn
Co-authored by:
Consumer Electronics Expert
This article was co-authored by Ken Colburn and by wikiHow staff writer, Kyle Smith. 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 248,350 times.
How helpful is this?
Co-authors: 7
Updated: December 13, 2024
Views: 248,350
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 248,350 times.

Is this article up to date?

Advertisement