Background
A good friend is to trying to following instructions, but running into head wind.
Issue
The Instructions read :-
- Launch File Explorer.
- Navigate to a specific folder
- Right click on that folder and from the dropdown menu, select “Open command window here“
Image
Explanation
In our case “Open Command Window here” does not appear.
Instructions
Found Instructions here
Ramesh Srinivasan
Winhelponline.com
Get back “Open command window here” context menu option in Windows 10
Link
TroubleShooting
Outline
- Access Registry
- Access the HKEY_CLASSES_ROOT\Drive\shell branch
- Confirm that cmdprompt node is not present
- Access the HKEY_CLASSES_ROOT\Drive\shell branch
Image
Processing
Outline
- Prepare registry file
- Import registry file
Registry
Launch a text editor.
Copy the registry text pasted below and save the file.
In our case, we saved the file as openCommandShellHere.reg.
Text
Windows Registry Editor Version 5.00 ;Ramesh Srinivasan ;Get back “Open command window here” context menu option in Windows 10 ;https://www.winhelponline.com/blog/cmd-here-windows-10-context-menu-add/ [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt] @="@shell32.dll,-8506" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command] @="cmd.exe /s /k pushd \"%V\"" [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt] @="@shell32.dll,-8506" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command] @="cmd.exe /s /k pushd \"%V\"" [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt] @="@shell32.dll,-8506" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command] @="cmd.exe /s /k pushd \"%V\""
Command
reg import openCommandShellHere.reg
Validate
Registry
Image
Here is the post import view of HKEY_CLASSES_ROOT\Directory\shell registry branch.
Windows Explorer
Launch Windows Explorer.
Right click on an entry and see if “Open command window here” appears.
Requirement
Here are the requirements :-
- Security
- Local Administrator Group Access
Operating System ( OS)
Targeted OS :-
- Windows 2016
- Windows Server 2016
Dedicated
Dedicated to Ramesh Srinivasan.