While PowerShell on Windows 10 doesn’t take forever to open like it did with previous Windows versions it is still a larger burden on your system then good old CMD. I am on Windows 10 build 15058 and I noticed Microsoft has changed the right mouse button menu while holding the shift key. The shift key provides me the open PowerShell window instead of the command window here.
Mouse click/keyboard modifier combinations for shell objects
SHIFT+right click: Displays a shortcut menu containing alternative commands
SHIFT+double click: Runs the alternate default command (the second item on the menu)
ALT+double click: Displays properties
To change this behaviour you need to do a little bit of registry editing.
Here’s what you need to do
- Open Regedit.exe
- Navigate to HKEY_CLASSES_ROOT\Directory\Background\shell
- Make a backup by right clicking with your mouse on the shell Key in the left view and choosing export.
- Change permissions on the same shell Key by right clicking shell and chosing permissions. Click on advanced in the new dialogue box. Another dialogue box will open where you can change the ownership rights. I suggest you change it to the group Administrators and check the box “Replace owner on subcontainers and objects“
- Navigate to cmd (one level lower) and rename the DWORD HideBasedOnVelocityId to ShowBasedOnVelocityId
- Navigate to Powershell (beneath cmd) and to the opposite, rename the DWORD ShowBasedOnVelocityId to HideBasedOnVelocityId
And you’re done.