Open command window here - Add in Windows 10  

Page 1 of 6 123 ... LastLast
    Open command window here - Add in Windows 10

    Open command window here - Add in Windows 10

    How to Add 'Open command window here' context menu in Windows 10
    Published by Category: Customization
    30 Mar 2020
    Designer Media Ltd


    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, or desktop.



    EXAMPLE: "Open command window here" context menu
    Open command window here - Add in Windows 10-open_command_window_here_context_menu.jpg



    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



  1. SOHO1's Avatar
    Posts : 114
    Windows 10 Edu
       #1

    Thanks again, for your awesome contributions to the community!
      My Computer

  2. Brink's Avatar
    Posts : 48,681
    64-bit Windows 10 Pro for Workstations build 19631
    Thread Starter
       #2

      My Computers

  3. hexaae's Avatar
    Posts : 137
    Windows 10 Pro x64
       #3

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

      My Computer

  4. Brink's Avatar
    Posts : 48,681
    64-bit Windows 10 Pro for Workstations build 19631
    Thread Starter
       #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.
      My Computers


  5. Posts : 7
    Windows 10 Pro
       #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.
      My Computer

  6. Brink's Avatar
    Posts : 48,681
    64-bit Windows 10 Pro for Workstations build 19631
    Thread Starter
       #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
      My Computers



  7. Posts : 7
    Windows 10 Pro
       #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.
      My Computer

  8. Brink's Avatar
    Posts : 48,681
    64-bit Windows 10 Pro for Workstations build 19631
    Thread Starter
       #8

    Great news.

    Do you remember the location that caused this for you?
      My Computers


  9. Posts : 7
    Windows 10 Pro
       #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.
      My Computer


 
Page 1 of 6 123 ... LastLast

Tutorial Categories

Open command window here - Add in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:53.
Find Us




Windows 10 Forums