Command Prompt in Windows 10

Command prompt is an important part of Windows operating system for many years a lot of operations related to the system management is used to perform with the help of this tool. Nowadays Microsoft promotes own more advanced PowerShell console, but we are sure that Command Prompt will save its own important role in nearest future. In this article we will take a closer look on Command Prompt in Windows 10.

How to Run Command Prompt by Pressing Win + X

Since Windows 8.1, users can find an important system programs in menu that opens by pressing Win + X buttons. You can use this menu to run Command Prompt too:

  1. Press Win + X. You can also open this menu by right clicking on Start button when on PC and by holding Start button on tablets.
  2. Choose Command prompt or Command prompt (Admin).
    command prompt windows 10 start

In case instead of the console you are seeing PowerShell in menu Win + X, you need to go to Control Panel –> Personalization –> Taskbar and check off Replace Command Prompt with Windows PowerShell in the menu when I right-click on the Start button or press Windows key + X.

command prompt in windows 10

How to Run Command Prompt by Using Search in Windows 10

Since Windows Vista, developers added search for installed applications in the Start menu, and in newer Windows 8.1 and Windows 10 this functionality was even upgraded. With the help of search, you can run the Command prompt even with an administrator privileges. Follow the instructions below:

  1. Press Win + S and on the icon near the Start button.
  2. Type in search query Command prompt.
  3. Choose the needed program. In case you want to run it with administrator privileges, right click on the result and choose Run as administrator.
    command prompt run administrator

Run the Command Prompt by Using Applications List in Start menu

You can find Command prompt in the list of system utilities that is located in a separate folder in Start menu. Follow the instructions:

  1. Click on the Start button and find folder Windows System in the list.
  2. Press on Command prompt. To run it with the administrator privileges, right click on it and choose More -> Run as administrator.
    command prompt from start run administrator

How to Run Command Prompt by Using Win + R Menu

The Run menu can also be useful in case you want to run Command prompt:

  1. Press Win + R. You can also use shortcut Win + X (right click on Start menu or click and hold it). Now choose Run.
  2. Type in and run command cmd.
    cmd
READ ALSO:  How to clear clipboard in Windows 10?

In case User Account Control (UAC) level is high, you won’t be able to run Command Prompt with the administrator privileges by using Win + R menu (at least without additional steps). In case User Account Control (UAC) level is low, console will run with the administrator privileges.

How to Run Command Prompt by Using Task Manager

This method is rarely used, but can be useful for you in case Windows is not responding (in such situation other methods won’t work).

  1. Run the Task manager. In Windows 8 and higher you can do this by pressing Ctrl + Shift + Esc. In older Windows versions (as in 8 and 10 too), you can click Ctrl + Alt + Del and choose Task manager.
  2. Click on File -> Run new task.
    task manager run cmd
  3. Type in and run command cmd. In case you need to run cmd as administrator, check on Create this task with administrative privileges.
    cmd administrator from task manager

You can use hidden method to run Command prompt with Administrator privileges from Task manager in Windows 10:

  1. Run Task manager;
  2. Click on File, then, holding Ctrl, click on Run new task.

How to run Command prompt using Executable File

  1. Open File Explorer or any other file manager;
  2. Go to folder C:\Windows\System32;
  3. Find cmd.exe and double click on it. In case you want to run cmd with administrator privileges, right click on cmd.exe and choose Run as administrator.
    cmd file explorer

How to Run Command Prompt by Using Address Field of File Explorer

That’s a pretty interesting method to run Command prompt from a specific folder:

  1. Open the needed folder;
  2. Click on the address field of File Explorer, type in cmd and run the command by clicking Enter;
    cmd search file manager

You will have the ability to run it as administrator depending on your Account Control (UAC) Settings (as is for menu Win + R).

How to Create a Command Prompt Shortcut on the Desktop

  1. Press Start and find folder Windows System;
  2. Click on Command prompt and grab it to your desktop.

In case you want to run Command prompt as administrator, follow the instructions below:

  1. Right click on icon and choose its Properties.
  2. Go to tab Shortcut, then click on Advanced.
    command prompt properties shortcut
  3. Check on Run as administrator, press ОК, then Apply.
    command prompt properties administrator
READ ALSO:  How to disable all ads in Windows 10

Running Command Prompt by Using File Explorer

Since Windows 10 1607 Anniversary Update and earlier builds, you can run Command prompt with the help of File menu in the File Explorer. If it’s needed, you can run it as administrator:

  1. Open the needed folder in File Explorer;
  2. Press on File, then click on Open command prompt;
  3. Choose the needed permissions for Command prompt.

How to run Command Prompt by Using Context Menu of File Explorer

In Windows 10 Anniversary Update 1607 users were allowed to run Command prompt in any specific folder by using context menu. Unfortunately, in Windows 10 1703 this function was deleted. But you can return it to its place by using following instructions:

  1. Open the needed folder in the File Explorer;
  2. Hold Shift and right click on some empty area of the window;
  3. Choose Open command window here.
    command prompt open here

How to Return Open Command Window Here Feature in Windows 10 Creators Update

In order to take advantage of this functionality in the current version of Windows 10, you’ll have to change specific values in the registry. It’s important to mention that the proposed solution will work only when you hold Shift and right-clicking on a folder, rather than an empty area.

  1. Press Win + R. Type in regedit and press Enter.
  2. Go to branch HKEY_CLASSES_ROOT\Directory\shell\cmd.
  3. Right click on folder cmd and choose Permissions… .
    command prompt permissions registry
  4. Press on Advanced.
    command prompt from advanced
  5. In the Owner area click on Change.
    command prompt owner change
  6. In the text field Enter the object name to select type in your user name (in case you have local account on Windows) or email address of main Microsoft account.
  7. Click on Check Names. In case you entered correct user name, it will become underlined.
    command prompt owner user
  8. Click on ОК.
  9. Check on Replace owner on subcontainers and objects and press Apply, then click ОК.
    command prompt replace owner
  10. Choose group Administrators and check on Allow at Full Control.
  11. Press Apply, then click ОК.
    cmd administrator full control
  12. Right click on HideBasedOnVelocityId and choose Rename.
    hide based velocity registry
  13. Rename parameter to ShowBasedOnVelocityId and press Enter.
    show based velocity registry

Most likely, Microsoft developers will get rid of the Command prompt in the nearest future and completely replace it with the PowerShell utility, but right now that is still a powerful and useful tool for geeks and common users.

Leave a Reply

Your email address will not be published. Required fields are marked *