Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mike-clark-8192/9db20f48884302ca9c1ea9ea150acdf5 to your computer and use it in GitHub Desktop.
Save mike-clark-8192/9db20f48884302ca9c1ea9ea150acdf5 to your computer and use it in GitHub Desktop.
Pwsh& Here
Windows Registry Editor Version 5.00
; Created by Sergey Tkachenko
; Tutorial: https://winaero.com/how-to-remove-open-in-windows-terminal-context-menu-in-windows-11/
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=-
"{02DB545A-3E20-46DE-83A5-1329B1E88B6B}"=-
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\cmdhere]
@="Cmd& Here"
[HKEY_CLASSES_ROOT\Folder\shell\cmdhere\command]
@="cmd /k \"cls&pushd \"%l\"\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdhere]
@="Cmd& Here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdhere\command]
@="cmd /k \"cls&pushd \"%V\"\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\pwshhere]
@="Pwsh& Here"
[HKEY_CLASSES_ROOT\Folder\shell\pwshhere\command]
@="pwsh -NoExit -Command \"Set-Location '%l'\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\pwshhere]
@="Pwsh& Here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\pwshhere\command]
@="pwsh -NoExit -Command \"Set-Location '%v'\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\wthere]
@="WT& Here"
[HKEY_CLASSES_ROOT\Folder\shell\wthere\command]
@="wt nt --appendCommandLine \"cd '%l'\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\wthere]
@="WT& Here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wthere\command]
@="wt nt --appendCommandLine \"cd '%V'\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\wthere]
@="WT& Here"
[HKEY_CLASSES_ROOT\Folder\shell\wthere\command]
@="wt nt -d \"%l\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\wthere]
@="WT& Here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wthere\command]
@="wt nt -d \"%V\""
Windows Registry Editor Version 5.00
; Created by Sergey Tkachenko
; Tutorial: https://winaero.com/how-to-remove-open-in-windows-terminal-context-menu-in-windows-11/
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=""
"{02DB545A-3E20-46DE-83A5-1329B1E88B6B}"=""
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\cmdhere\command]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\cmdhere]
[-HKEY_CLASSES_ROOT\Folder\shell\cmdhere\command]
[-HKEY_CLASSES_ROOT\Folder\shell\cmdhere]
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\pwshhere\command]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\pwshhere]
[-HKEY_CLASSES_ROOT\Folder\shell\pwshhere\command]
[-HKEY_CLASSES_ROOT\Folder\shell\pwshhere]
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\wthere\command]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\wthere]
[-HKEY_CLASSES_ROOT\Folder\shell\wthere\command]
[-HKEY_CLASSES_ROOT\Folder\shell\wthere]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment