How to launch Command Prompt (standard and admin) on Windows 10

Open Command Prompt on Windows 10
Open Command Prompt on Windows 10 (Image credit: Windows Central)

On Windows 10, Command Prompt has been available for a long time, and it is an essential tool that allows anyone to execute commands to change system settings, run non-graphical tools (such as netsh, diskpart, netstat, powercfg, dism, sfc, chcksk, etc.), troubleshoot problems, and automate tasks on their desktop computer or laptop.

Although opening Command Prompt is easy enough, Windows 10 supports many other different ways to launch it, depending on where you are in the system and what you're trying to accomplish. For example, you can use the Start menu, Search, taskbar, run dialog, File Explorer, Advanced startup, Safe Mode, and even with a shortcut, which you can also use to start CMD quickly with a keyboard combo.

In this Windows 10 guide, we will show you virtually every way you can open Command Prompt on your computer.

How to open Command Prompt with Start menu

To launch Command Prompt from the Start menu, use these steps:

  1. Open Start.
  2. Click the Windows System folder from the "All apps" list.Quick tip: You can quickly jump to the folder location by clicking the letters, separating each section, and selecting the W.
  3. Select the Command Prompt option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. (Optional) Right-click the Command Prompt option, select the More submenu, and choose Run as administrator.

Source: Windows Central (Image credit: Source: Windows Central)
  1. (Optional) Right-click the Command Prompt option and select Pin to Start to make the app quickly accessible from the tile section.

Once you complete the steps, the command shell will start, allowing you to run commands and scripts on Windows 10.

How to open Command Prompt with Search

To open the Windows 10 command console from the search box, use these steps:

  1. Click the search box in the taskbar.Quick tip: You can quickly open the experience with the Windows key + S keyboard shortcut.
  2. Search for Command Prompt and select the top result.

Source: Windows Central (Image credit: Source: Windows Central)
  1. (Optional) Click the Run as administrator option from the context menu on the right side.

After you complete the steps, Command Prompt will open.

How to open Command Prompt with taskbar

You can also start the command shell from two different places using the Windows 10 taskbar.

To open Command Prompt from the Quick Link menu, use these steps:

  1. Right-click the Start button.Quick tip: You can also open the menu using the Windows key + X keyboard shortcut.
  2. Select the Command Prompt option to open the app with standard privileges.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Select the Command Prompt (admin) option to open the app with administrator privileges.

Once you complete the steps, the command line environment will launch on the Desktop.

Enable option in Quick Link

If the option is not available in the Start button menu, use these steps:

  1. Open Settings.
  2. Click on Personalization.
  3. Click on Taskbar.
  4. Turn off the Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key + X toggle switch.

Source: Windows Central (Image credit: Source: Windows Central)

After you complete the steps, the Command Prompt options will be available in the Quick Link menu.

Taskbar pin

If the app is pinned to the taskbar, you can click the button to launch the console with standard privileges. However, if you want to launch the console with administrator privileges from the taskbar, use these steps:

  1. Right-click the Command Prompt button.
  2. Right-click the Command Prompt item from the context menu.
  3. Select the Run as administrator option.

Source: Windows Central (Image credit: Source: Windows Central)

Once you complete the steps, the CMD shell will run with administrative privileges.

Pin Command Prompt to taskbar

If you want to pin the app, use these steps:

  1. Open Start.
  2. Click to open the Windows System folder from the "All apps" list.
  3. Right-click the Command Prompt option.
  4. Select the More submenu.
  5. Choose the Pin to taskbar option.

Source: Windows Central (Image credit: Source: Windows Central)

After you complete the steps, the Command Prompt button will pin to the taskbar.

How to open Command Prompt with Run

To start Command Prompt with the Run dialog, use these steps:

  1. Open Start.
  2. Search for Run and click the top result to open the command.Quick tip: You can quickly open the Run dialog with the Windows key + R keyboard shortcut.
  3. Type the following command and press Enter:cmd

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the OK button.

Once you complete the steps, the Run dialog will execute the command and open Command Prompt.

How to open Command Prompt with File Explorer

To open Command Prompt in a specific folder location, use these steps:

  1. Open File Explorer.Quick tip: You can quickly open the app with the Windows key + E keyboard shortcut.
  2. Type the following command in the address bar and press Enter:cmd

Source: Windows Central (Image credit: Source: Windows Central)

After you complete the steps, Command Prompt will open in the folder location you executed the command.

System32 folder

You can also access the command shell from the folder location with these steps:

  1. Open File Explorer.
  2. Type the following path in the address bar and press Enter:C:\Windows\System32
  3. Double-click the cmd.exe file to launch Command Prompt with standard privileges.
  4. (Optional) Right-click the cmd.exe file and select Run as administrator to launch the app with administrator privileges.

Source: Windows Central (Image credit: Source: Windows Central)

Once you complete the steps, the command shell interface will open like a regular application.

How to open Command Prompt with Task Manager

To launch Command Prompt from Task Manager as standard or admin user, use these steps:

  1. Open Start.
  2. Search for Task Manager and click the top result to open the app.Quick tip: You can quickly open the Task Manager using the Ctrl + Shift + ESC keyboard shortcut.
  3. Click the File menu and select the Run new task option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Type the following command and press Enter:cmdQuick note: Check the Create this task with administrative privileges option to run the console as an administrator.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the OK button.

After you complete the steps, Command Prompt will open with standard or administrative privileges depending on your selection.

How to open Command Prompt with shortcut

To create a shortcut to launch Command Prompt on Windows 10, use these steps:

  1. Open the Desktop with the Windows key + D keyboard shortcut.
  2. Right-click the Desktop, select the New submenu and choose the Shortcut option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Type the following executable and click the Next button:cmd.exe

Source: Windows Central (Image credit: Source: Windows Central)
  1. Confirm a name for the shortcut — for example, Command Prompt.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Finish button.

Once you complete the steps, you can double-click the shortcut to open Command Prompt on Windows 10.

Run shortcut as admin

If you want to run Command Prompt as an administrator with the shortcut, use these steps:

  1. Right-click the shortcut you created (see above steps) and select the Properties option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Shortcut tab.
  2. Click the Advanced button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Check the Run as administrator option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the OK button.
  2. Click the Apply button.
  3. Click the OK button.

After you complete the steps, when double-clicking the shortcut, the command line application will start as an administrator.

Run Command Prompt with keyboard shortcut

In addition to running the console as an administrator, you can also configure the shortcut to run Command Prompt with a keyboard shortcut using these steps:

  1. Right-click the shortcut you created (see above steps) and select the Properties option.
  2. Click the Shortcut tab.
  3. Click the Shortcut key text box.
  4. Select a keyboard combo — for example, Ctrl + Shift + C.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Apply button.
  2. Click the OK button.

Once you complete the steps, use the keyboard shortcut you specified, wait a short moment, and Command Prompt will launch automatically without additional steps.

How to open Command Prompt with Advanced startup

To launch the Command Prompt from the Advanced startup environment to troubleshoot Windows 10, use these steps:

  1. Open Settings.
  2. Click on Update & Security.
  3. Click on Recovery.
  4. Under the "Advanced startup" section, click the Restart now button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click on Troubleshoot.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click on Advanced options.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Command Prompt option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Select your Windows 10 account.
  2. Confirm the account password.
  3. Click the Continue button.

If you want to close the console and return to Windows 10, use the

exit

command and then click on Continue.

How to open Command Prompt with Safe Mode

To use Command Prompt in Safe Mode to troubleshoot and fix problems on Windows 10, use these steps:

  1. Open Settings.
  2. Click on Update & Security.
  3. Click on Recovery.
  4. Under the "Advanced startup" section, click the Restart now button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click on Troubleshoot.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click on Advanced options.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click on Startup settings.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Restart button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Use the F6 key to enable Safe Mode with Command Prompt.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Sign in to your account.Quick tip: You can exit Safe Mode and restart the computer with the shutdown -r -t 00 command.

Once you complete the steps, Windows 10 will start in Safe Mode but only with the Command Prompt without the graphical user interface (GUI).

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

Mauro Huculak

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.