Created
April 6, 2020 00:02
-
-
Save t-makaro/9e20cf37057421d1e1d6613ba41357ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Windows terminal | |
; Sets up the "Windows Terminal" top level item | |
[HKEY_CLASSES_ROOT\Directory\shell\MenuWindowsTerminal] | |
"MUIVerb"="Windows Terminal" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminal" | |
[HKEY_CLASSES_ROOT\Directory\background\shell\MenuWindowsTerminal] | |
"MUIVerb"="Windows Terminal" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminal" | |
[HKEY_CLASSES_ROOT\Directory\LibraryFolder\shell\MenuWindowsTerminal] | |
"MUIVerb"="Windows Terminal" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminal" | |
[HKEY_CLASSES_ROOT\Drive\shell\MenuWindowsTerminal] | |
"MUIVerb"="Windows Terminal" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminal" | |
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\MenuWindowsTerminal] | |
"MUIVerb"="Windows Terminal" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminal" | |
; Windows Terminal Admin | |
; Sets up the "Windows Terminal (Admin)" top level item | |
[HKEY_CLASSES_ROOT\Directory\shell\MenuWindowsTerminalAdmin] | |
"MUIVerb"="Windows Terminal (Admin)" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminalAdmin" | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\Directory\background\shell\MenuWindowsTerminalAdmin] | |
"MUIVerb"="Windows Terminal (Admin)" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminalAdmin" | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\Directory\LibraryFolder\shell\MenuWindowsTerminalAdmin] | |
"MUIVerb"="Windows Terminal (Admin)" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminalAdmin" | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\Drive\shell\MenuWindowsTerminalAdmin] | |
"MUIVerb"="Windows Terminal (Admin)" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminalAdmin" | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\MenuWindowsTerminalAdmin] | |
"MUIVerb"="Windows Terminal (Admin)" | |
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_0.10.781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe" | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\MenuWindowsTerminalAdmin" | |
"HasLUAShield"="" | |
; Now to add stuff to those top level items | |
; CMD | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; standard user | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminal\shell\CMD\command] | |
@="C:\\Users\\TMOko\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -p \"cmd\" -d ." | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminal\shell\CMD] | |
"MUIVerb"="CMD" | |
"Icon"="imageres.dll,-5323" | |
; admin user | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\CMD\shell\runas] | |
"HasLUAShield"="" | |
"MUIVerb"="Admin" | |
"Icon"="imageres.dll,-5324" | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\CMD\shell\runas\command] | |
@="cmd.exe /s /c pushd \"%V\" & start wt -p \"cmd\" -d ." | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminalAdmin\shell\CMD] | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\CMD" | |
"MUIVerb"="CMD" | |
"Icon"="imageres.dll,-5324" | |
"HasLUAShield"="" | |
; Windows Powershell | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; standard user | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminal\shell\Powershell\command] | |
@="C:\\Users\\TMOko\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -p \"Windows PowerShell\" -d ." | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminal\shell\Powershell] | |
"Icon"="imageres.dll,-5372" | |
"MUIVerb"="Windows PowerShell" | |
; admin user | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\Powershell\shell\runas] | |
"HasLUAShield"="" | |
"MUIVerb"="Admin" | |
"Icon"="imageres.dll,-5324" | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\Powershell\shell\runas\command] | |
@="cmd.exe /s /c pushd \"%V\" & start wt -p \"Windows PowerShell\" -d ." | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminalAdmin\shell\Powershell] | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\Powershell" | |
"Icon"="imageres.dll,-5373" | |
"HasLUAShield"="" | |
"MUIVerb"="Windows PowerShell" | |
;pwsh core | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; standard user | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminal\shell\pwsh7\command] | |
@="C:\\Users\\TMOko\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -p \"PowerShell\" -d ." | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminal\shell\pwsh7] | |
"Icon"="C:\\Program Files\\PowerShell\\7\\assets\\Powershell_black.ico" | |
"MUIVerb"="PowerShell 7" | |
; admin user | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\Powershell\shell\runas] | |
"HasLUAShield"="" | |
"MUIVerb"="Admin" | |
"Icon"="C:\\Program Files\\PowerShell\\7\\assets\\Powershell_black.ico" | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\pwsh\shell\runas\command] | |
@="cmd.exe /s /c pushd \"%V\" & start wt -p \"PowerShell\" -d ." | |
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuWindowsTerminalAdmin\shell\pwsh7] | |
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\pwsh" | |
"Icon"="C:\\Program Files\\PowerShell\\7\\assets\\Powershell_black.ico" | |
"HasLUAShield"="" | |
"MUIVerb"="PowerShell 7" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment