Under Windows 10 Preview Build 14971, Microsoft presented users the replacement of Command Prompt (aka, “cmd.exe”) with Powershell in the WIN + X menu and in the context menu when you execute the shift-right-click. This is with an effort of Windows pushing the Powershell command line tool to replace the native Windows Command Prompt. PowerShell is undoubtedly much more powerful tool, but many users still prefers CMD as a handy tool for troubleshooting errors, running batch commands, and other system maintenance.

For users who prefer to use Command Prompt, adding the "Open Command Window Here" option back to windows 10 context menu is possible. There are many tutorials online available for this topic, the usual procedure will take you modifying the system's registry and permission settings (which is a risky and tedious way).

However, there is a simple and easy way to to Add "Open Command Window Here" option on context menu, with just a few clicks, you can bring back the once replaced option without messing around with the registry contents and permissions.

Here's How:

  1. Open NOTEPAD.
  2. Copy this following lines to Notepad:

    Windows Registry Editor Version 5.00


    @="cmd.exe /s /k pushd \"%V\""


    @="cmd.exe /s /k pushd \"%V\""

  3. Save the Notepad as .REG file to any location (preferably Desktop), and name it to whatever you want, for example cmdcontext.reg. Be sure to select the All Files (*.*) when saving.
  4.  Once you're done saving, locate the created .REG file and double click on it to add the regfile on the registry. You will be prompted a UAC for this step, just click YES to continue.
  5. You will then be prompted another window (Registry Editor) for confirmation. For this, just click YES.
  6. Once the regfile is added, click OK.

  7. You can now access the "Open Command Window Here" option on the context menu even without pressing the SHIFT key. It also has the cmd.exe icon which is much better to easily distinguish it on the context menu.

Post a Comment

Previous Post Next Post