Open command window here reg file

  • Forum
  • Windows 10 Forums
  • Tutorials

    Open command window here reg file

    Open command window here - Add in Windows 10

    How to Add 'Open command window here' context menu in Windows 10
    Published by Category: Customization
    16 Dec 2021


    How to Add 'Open command window here' context menu in Windows 10

    A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the Windows graphical interface.

    Starting with Windows 10 build 14986, the Open command window here context menu item has been removed by default and replaced with the Open PowerShell window here context menu item.

    This tutorial will show you how to add or remove a Open command window here context menu for all users in Windows 10.

    This context menu will open a command prompt using the same working directory that you right clicked on.

    While you must be signed in as an administrator to add and remove the "Open command window here" context menu, all users can use the context menu when added.

    The "Open command window here" context menu will be available when you right click or shift + right click on a folder or drive, and when you right click or shift + right click on the background of a folder, drive, library background, or desktop.

    EXAMPLE: "Open command window here" context menu

    Open command window here reg file

    Here's How:

    1 Do step 2 (add-right click), step 3 (add-Shift+right click) , or step 4 (remove) below for what you would like to do.

    2 To Add Right Click "Open command window here" Context Menu

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Add_Open_command_window_here.reg

    Download

    3 To Add Shift + Right Click "Open command window here" Context Menu

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Add_Shift+Open_command_window_here.reg

    Download

    4 To Remove "Open command window here" Context Menu

    This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 5 below.

    Remove_Open_command_window_here.reg

    Download

    5 Save the .reg file to your desktop.

    6 Double click/tap on the downloaded .reg file to merge it.

    7 When prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

    8 You can now delete the downloaded .reg file if you like.

    That's it,
    Shawn

    Related Tutorials



    • How to Enable or Disable Command Prompt in Windows 7, Windows 8, and Windows 10
    • How to Open a Command Prompt in Windows 10
    • How to Open an Elevated Command Prompt in Windows 10
    • How to Open a Command Prompt at Boot in Windows 10
    • How to Add 'Open command window here as administrator' context menu in Windows 10
    • How to Add 'Open Bash window here' context menu in Windows 10
    • How to Add 'Open Bash window here as administrator' context menu in Windows 10
    • How to Add 'Open PowerShell window here' context menu in Windows 10
    • How to Add 'Open PowerShell window here as administrator' context menu in Windows 10
    • How to Customize Command Prompt Window Position in Windows
    • How to Change Command Prompt Font and Font Size in Windows
    • How to Customize Command Prompt Colors in Windows
    • How to Change Command Prompt Transparency Level in Windows 10
    • How to Change Command Prompt Default Window Size in Windows
    • How to Change Command Prompt Screen Buffer Size in Windows
    • How to Turn On or Off Wrap Text Output on Resize of Command Prompt in Windows
    • How to Add or Remove Command Prompt Open Here Context Menu in Windows 10

  1. Windows 11 Tutorials

  2.    New 10 Dec 2016 #1


    Thanks again, for your awesome contributions to the community!



  3.    New 17 Apr 2017 #3


    Is it possible to re-add Command Prompt also from Explorer "File" menu as it was before Windows 10 CU?

    Open command window here reg file


  4.    New 17 Apr 2017 #4


    Hello @hexaae, :)

    I haven't found a way to add it back to the File menu yet, but I will keep an eye out.


  5.    New 20 Apr 2017 #5


    Hello.
    I added "Open Command Prompt Here" a few days ago. Everything worked fine until I noticed It added to the context menu of my Start10. Which caused an issue with the right hand menu (folders and etc) every time I click on a folder Link it opens the command prompt now instead of the folder. so I removed "Open Command Prompt Here". It removed it on the computer but not from start10 context menu. any help would be greatly appreciated thank you.


  6.    New 20 Apr 2017 #6


    Hello Jeff, and welcome to Ten Forums. :)

    The "Open command prompt here" context menu adds entries at the registry key locations below. The remove .reg file will remove them from there. You could double check in your registry to see if the cmd2 keys have been removed at all the locations below in Registry Editor (regedit.exe).

    If they have been removed, then something else is causing this.

    Code:

    [-HKEY_CLASSES_ROOT\Directory\shell\cmd2]
    
    [-HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2]
    
    [-HKEY_CLASSES_ROOT\Drive\shell\cmd2]
    
    [-HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\cmd2]


    Does this happen with folders in Windows Explorer as well?

    If it does, then you might see if downloading and merging the .reg files for the listed Directory and Folder items in the table of Option 2 in the tutorial below may help. It will restore their default registry entries.

    Restore Default File Type Associations in Windows 10 - Windows 10 Customization Tutorials


  7.    New 20 Apr 2017 #7


    Hello Brink and Thank you for your reply.
    I had to go into the registry and search for either "cmd2" or "Open command window here" which both lead me to the "cmd2" folder that was added in another location. I deleted the folder and all works great now.


  8.    New 20 Apr 2017 #8


    Great news.

    Do you remember the location that caused this for you?


  9.    New 21 Apr 2017 #9


    Sorry I didn't catch the Path/Location in regedit. If it ever happens again I will post the results.
    I figured out what caused this issue I had though. I used "Winaero Tweaker" and the Add_Open_command_window_here.reg that you have above at the same time.
    The "Winaero Tweaker" added the new path/location settings in registry which caused an issue with my Start10, your posted removal.reg above removed the other options from the desktop/folder context menus. But Even though I used your removal.reg the to remove it. The "Winaero Tweaker" kept it stuck in the Start10 context menu which caused an issue with my right side folders context menu and only opened command prompt when even while left clicking because it made it an active link. It's better to only use one or the other I have found out LOL. now with Winaero Tweakers Open Command Prompt Here removed as well as registry key's the Start10 doesn't have it at all now even with your Add_Open_command_window_here.reg applied.



 


Tutorial Categories

Open command window here reg file

How do I open a command prompt window in R?

1. Use the shortcut keys for Run: Windows + R. The quickest way to access the Run command window is to use this keyboard shortcut: Windows + R. Simply hold down the Windows key and press R on your keyboard.

How do I open command window here?

To Quickly Open the Command Prompt: Hold Shift and Right Click. (This keyboard combination may be used on the Desktop or within Windows Explorer.) 2. A command prompt window will now appear.

How do I Run command prompt from registry?

To open Windows registry in the command prompt, press Windows key + R , type cmd, and press Enter . In the Command Prompt, type regedit and press Enter .

How do I open command prompt here instead of PowerShell?

From Windows 10 Settings.
Click on Start, select "Settings"..
Click on "Personalization"..
Click on "Taskbar" on the left panel, turn off the button below "Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key + X"..