Javascript required
Skip to content Skip to sidebar Skip to footer

How to Run Command Prompt as Admin Windows 10

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.

    Start menu Command Prompt Source: Windows Central

  4. (Optional) Right-click the Command Prompt option, select the More submenu, and choose Run as administrator.

    Start menu run Command Prompt as administrator Source: Windows Central

  5. (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.

    Open Command Prompt from Windows Search Source: Windows Central

  3. (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.

Quick Link menu

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.

    Open Command Prompt from Quick Link menu Source: Windows Central

  3. 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.

    Enable CMD on Quick Link menu 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.

    Open CMD as admin from taskbar 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.

    Start menu pin Command Prompt to taskbar 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

    Run dialog open Command Prompt (standard) Source: Windows Central

  4. 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

    File Explorer open Command Prompt from address bar 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.

    Open Command Prompt from System32 folder 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.

    Task Manager run new task option Source: Windows Central

  4. Type the following command and press Enter:

    cmd

    Open Command Prompt from Task Manager Source: Windows Central

    Quick note: Check the Create this task with administrative privileges option to run the console as an administrator.

  5. 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.

    Desktop Create Shortcut Option Source: Windows Central

  3. Type the following executable and click the Next button:

    cmd.exe

    Cmdexe Createshortcut Windows Source: Windows Central

  4. Confirm a name for the shortcut — for example, Command Prompt.

    Shortcut Name Cmd Source: Windows Central

  5. 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.

    Shortcut properties Source: Windows Central

  2. Click the Shortcut tab.
  3. Click the Advanced button.

    Shortcut Advanced Button Source: Windows Central

  4. Check the Run as administrator option.

    Shortcut open Command Prompt (admin) Source: Windows Central

  5. Click the OK button.
  6. Click the Apply button.
  7. 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.

    Command Prompt open with keyboard shortcut Source: Windows Central

  5. Click the Apply button.
  6. 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.

    Advanced Startup restart now button Source: Windows Central

  5. Click on Troubleshoot.

    Advanced Startup Troubleshoot Source: Windows Central

  6. Click on Advanced options.

    Advanced Options Source: Windows Central

  7. Click the Command Prompt option.

    Command Prompt Advanced Startup Source: Windows Central

  8. Select your Windows 10 account.
  9. Confirm the account password.
  10. 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.

    Advanced Startup restart now button Source: Windows Central

  5. Click on Troubleshoot.

    Advanced Startup Troubleshoot Source: Windows Central

  6. Click on Advanced options.

    Advanced Options Source: Windows Central

  7. Click on Startup settings.

    Startup Settings Option Source: Windows Central

  8. Click the Restart button.

    Advanced Startup restart Source: Windows Central

  9. Use the F6 key to enable Safe Mode with Command Prompt.

    Enable Safe Mode Command Prompt Source: Windows Central

  10. 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:

  • Windows 10 on Windows Central – All you need to know
  • Windows 10 help, tips, and tricks
  • Windows 10 forums on Windows Central

How to Run Command Prompt as Admin Windows 10

Source: https://www.windowscentral.com/how-launch-command-prompt-standard-and-admin-windows-10