PDF download Download Article
Accessing Command Prompt (CMD) without a mouse
PDF download Download Article

Do you need to open the Command Prompt on your Windows laptop or desktop computer? If your mouse isn't working, you can use keyboard shortcuts instead. You can use the Run menu, Power Menu, or Search menu to run the Command Prompt with or without Administrator privileges. This wikiHow will show you how to open the Command Prompt using your keyboard on Windows 10, 8.1, and 8.

Keyboard Shortcuts to Open Command Prompt

  • Open the Run menu with Windows Key + R, then type "cmd."
  • Press "Enter" to open the regular Command Prompt, or Ctrl + Shift + Enter to open as an Administrator.
  • Another way is to press Windows Key + X, use the arrow keys to select "Command Prompt," then press Enter.
Method 1
Method 1 of 4:

Using Windows Key + R

PDF download Download Article
  1. This will open the Run window.[1]
  2. This is the code for the Command Prompt.[2]
    Advertisement
  3. This will open a regular Command Prompt window.
    • To open Command Prompt with Administrator privileges, press CTRL + Shift + Enter.
      • Use the arrow key to highlight Yes to allow access, then press Enter.
  4. Advertisement
Method 2
Method 2 of 4:

Using the Windows Key to Search

PDF download Download Article
  1. This is the Windows logo on your keyboard.
  2. This will search for the Command Prompt. It should be the first option.[3]
  3. This will open a regular Command Prompt window.
    • To open Command Prompt with Administrator privileges, press CTRL + Shift + Enter.
      • Use the arrow key to highlight Yes to allow access, then press Enter.
  4. Advertisement
Method 3
Method 3 of 4:

Using Windows Key + X (Windows 8, 8.1, 10)

PDF download Download Article
  1. Pressing the Windows key and X at the same time opens the Power User menu.
  2. Use the arrow keys to navigate to the Command Prompt.[4]
    • On newer versions of Windows 10, the Command Prompt is replaced by Windows PowerShell.
      • If you'd like to switch PowerShell with Command Prompt in the Power User Menu, right-click on the taskbar and click Properties, then click the Navigation tab. Make sure the checkbox next to "Replace Command Prompt with Windows PowerShell in the menu when I right-click the lower-left corner or press Windows key +X" is unchecked, then click OK.[5]
      • Alternatively, you can select Run instead. Follow the steps to Using the Run Window to access the Command Prompt.
  3. Advertisement
Method 4
Method 4 of 4:

Using Windows Key + X (Windows 11)

PDF download Download Article
  1. Pressing the Windows key and X at the same time opens the Power User menu.
  2. You can choose Terminal or Terminal (Admin).
  3. It's next to the plus sign to add a new Terminal tab.
  4. This will open a new tab in the Terminal window for Command Prompt.
    • Alternatively, you can press Ctrl+ Shift+2 to open a new Command Prompt tab in the Terminal window.
  5. Advertisement

Expert Q&A

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!

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
Run Command Prompt As an Administrator on Windows4 Ways to Run the Command Prompt as an Administrator in Windows
Run Task Manager from Command PromptRun Task Manager in CMD (+ More Task Manager Commands)
Start the Control Panel from the Command Line Open the Control Panel from a CLI on a Windows Computer
Boot to Command PromptBoot to Command Prompt
Reboot from Command Prompt on Windows Restart Windows in Command Prompt:
Restart Windows 10 Restart Windows 10 & 11: Five Easy Step-by-Step Methods
Make Command Prompt Appear at SchoolMake Command Prompt Appear at School
Open a Folder in Cmd Open a Folder in Command Prompt (CMD)
Shut Down Your PC with a Shortcut Key6 Easy Ways to Use Shortcut Keys to Shut Down a Windows PC
Close Command PromptClose Command Prompt
Open Windows Task Manager Open Windows Task Manager: Menus, Shortcuts, & More
Shut Down Your Windows Computer from the Command LineShut Down Your Windows Computer from the Command Line
Advertisement

About This Article

Hannah Dillon
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Hannah Dillon. Hannah Dillon is a Technology Writer and Editor at wikiHow. She graduated with a B.A. in Journalism from North Dakota State University in 2013 and has since worked in the video game industry as well as a few newspapers. From a young age Hannah has cultivated a love for writing and technology, and hopes to use these passions in tandem to help others in the articles she writes for wikiHow. This article has been viewed 299,238 times.
How helpful is this?
Co-authors: 10
Updated: December 3, 2025
Views: 299,238
Categories: Command Prompt
Thanks to all authors for creating a page that has been read 299,238 times.

Is this article up to date?

Advertisement