How to have Com­mand Prompt on Win­dows 10 in Con­text Menu – Guide

Command Prompt is an incredibly useful way to accomplish certain tasks. For example, if you want to run programs with special parameters, Command Prompt is a faster way to do it. The problem is that navigating the directory structure of a modern computer can be a real pain when using Command Prompt. Especially since Windows 10 supports these long program and folder names. The good news is that you can open Command Prompt directly from a Windows Explorer window. Taking you straight to the location of that folder. ..

After the 2017 Creators Update for Windows 10, Microsoft removed the “Open Command Window Here” context menu entry. This was likely done in an effort to divert people away from using the Command Prompt and towards using PowerShell. ..

To get the context menu option back on your Windows 10 computer, you will need to tweak the Windows Registry. This is best done if you are not comfortable doing it, but if you want that option back, here’s what to do.

Add the option “Open command window here” to the folder’s context menu

To add the Open Command Window Here option to the context menu that appears when you right-click a folder, press Windows key + R and type: regedit. ..

If the User Account Control dialog box appears, click Yes to continue. You may not see this dialog depending on your User Account Control settings. ..

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon You can also access this key by using the following command: netstat -an | grep “WLONGLOGON”

HideBasedOnVelocityId is a value that is used to hide the velocity based on a certain criteria. Renaming this value will make it so that the velocity is hidden by default.

Change the name of the HideBasedOnVelocityId value to ShowBasedOnVelocityId and press Enter.

Close Registry Editor and restart the Windows Explorer process.

You can now right-click on a folder, not it, and select Open Command Window Here. This new feature makes it easier to work with files and folders. ..

Hide the “Open PowerShell Window Here” option

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon and add the following key: “Open PowerShell Window Here”

To take ownership of the Powershell key, type the following command: Get-Item -Path “C:\Program Files (x86)\WindowsPowerShell\Modules” | Grant-Permission -User “YourName” -Scope Local After granting yourself full control permission, you can use the Powershell key to access your Windows 10 computer remotely. ..

Right-click the HideBasedOnVelocityId value, select Rename and change the name to ShowBasedOnVelocityId.

Close Registry Editor and restart the Windows Explorer process.

Open PowerShell Window Here is no longer an option in File Explorer.

Add the option “Open command window here” to the context menu in an open folder

Open Command Window Here

Open the Open command window here option from the right-click menu on an open folder.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon In the right pane, double-click on the “Userinit” key. In the Userinit key, right-click on the “Startup” value and select “Create Shortcut”. Type in “%windir%\system32\userinit.exe” (without the quotes) as the shortcut’s name and click on OK. ..

To take ownership of the “cmd” key and grant yourself full control permission, follow these steps:

  1. Open the “Start” menu and click on “Run”.
  2. Type “cmd” and press Enter.
  3. At the command prompt, type the following command: chown -R yourusername:yourpassword /usr/local/bin/cmd ..

To make sure the cmd key is selected, right-click the HideBasedOnVelocityId value and rename it. ..

Then change the name to “ShowBasedOnVelocityId”

Close Registry Editor and restart the Windows Explorer process.

To open a command window in Windows 10, you can either press the Windows key + X to open the Start menu, type “cmd” into the search bar, and select Command Prompt (Admin) from the results, or you can use the keyboard shortcut Shift + Right Click in the right pane of File Explorer and select Open Command Window Here. ..

Final note

This guide will show you how to have Command Prompt prompt on Windows 10 in a context menu. If you have any question about this article, please ask us. Also, please share your love by sharing this article with your friends.