Windows – Why is hidebasedonvelocityid flag set in registry entry

windows-10-v1607windows-registry

I was going into my registry to add a command prompt shortcut to folders when I found there was already one there, looking like the following:

[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="@shell32.dll,-8506"
"Extended"=""
"HideBasedOnVelocityId"=dword:006698a6
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /s /k pushd \"%V\""

However, the entry was not showing on my context menu when I right clicked. The only thing that makes sense to me is the HideBasedOnVelocityId key as keeping it from being displayed. Anyone know why? Is there a dword value I should put in to allow it to work?

Best Answer

Change the HideBasedOnVelocityId to ShowBasedOnVelocityId to enable the command prompt entry again.

enter image description here

Microsoft is doing this to replace cmd.exe with Powershell

Related Question