Download Article
Quick guide to open the Command Prompt as an admin
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
- Press the Windows Key + S to open the search bar.
- Search for "cmd" and right-click “Command Prompt” in the results.
- Select Run as administrator .
Steps
-
Press the Windows Key ( ) + S at the same time. This opens Windows search. [1] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- If you’re not logged in as an administrator, check out our guide on how to log in as an admin in Windows .
-
Type cmd in the search bar.Advertisement
-
Right-click Command Prompt . It’s the option in the results list with a black terminal window icon. [2] X Research source
-
Click "Run as administrator". This is the top option in the right-click menu. [3] X Research source
- 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.
Advertisement
Community Q&A
Search
-
QuestionIs there a command to activate admin cmd while already in normal cmd?ArroganceTop AnswererYou 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.
-
QuestionWhen I click manage account on my admin account, it says manage another account and change password. What is going on?Community AnswerPress the Windows key (Image titled Windowsstart.png) + S at the same time. This opens Windows search.
-
QuestionHow do I undo run as administrator?Liam TownsleyCommunity AnswerRestart your command prompt and it will no longer be an administrator terminal.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
- You can type /? after a command to see the help information about that command.Thanks
- You can type help to see a list of various commands and what they do.Thanks
- For more Command Prompt tips, check out how to change a computer password in the Command Prompt and chat over LAN using the Command Prompt .Thanks
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.Thanks
- 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.
Thanks
Advertisement
Things You'll Need
- Administrator permissions
References
About This Article
Article Summary
X
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 247,013 times.
Advertisement