Powershell7-ContextMenu/Add 32-Bit Powershell 7 Context Menu On 64-Bit Windows 10.reg

50 lines
4.8 KiB
Reg
Raw Normal View History

2022-11-27 11:08:28 +01:00
<EFBFBD><EFBFBD>Windows Registry Editor Version 5.00
; Published by: iminet.hu
; Original author: Shawn Brink
; Date: 15 Jun 2021
; Origin: https://www.tenforums.com/tutorials/158168-how-add-remove-powershell-7-open-here-context-menu-windows-10-a.html
; GitHub: https://github.com/iminet/Powershell7-ContextMenu
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\PowerShell7x86]
"MUIVerb"="&PowerShell 7 (x86)"
"Icon"="C:\\Program Files (x86)\\PowerShell\\7\\assets\\Powershell_black.ico"
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShell7x86"
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShell7x86]
"MUIVerb"="&PowerShell 7 (x86)"
"Icon"="C:\\Program Files (x86)\\PowerShell\\7\\assets\\Powershell_black.ico"
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShell7x86"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x86\shell\openpwsh]
"MUIVerb"="Open &here"
"Icon"="C:\\Program Files (x86)\\PowerShell\\7\\assets\\Powershell_black.ico"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x86\shell\openpwsh\command]
@="C:\\Program Files (x86)\\PowerShell\\7\\pwsh.exe -NoExit -RemoveWorkingDirectoryTrailingCharacter -WorkingDirectory \"%V!\" -Command \"$host.UI.RawUI.WindowTitle = 'PowerShell 7 (x86)'\""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x86\shell\runas]
"MUIVerb"="Open here as &Administrator"
"Icon"="C:\\Program Files (x86)\\PowerShell\\7\\assets\\Powershell_black.ico"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x86\shell\runas\command]
@="C:\\Program Files (x86)\\PowerShell\\7\\pwsh.exe -NoExit -RemoveWorkingDirectoryTrailingCharacter -WorkingDirectory \"%V!\" -Command \"$host.UI.RawUI.WindowTitle = 'PowerShell 7 (x86)'\""
[HKEY_CLASSES_ROOT\Directory\shell\PowerShell7x86]
"MUIVerb"="&PowerShell 7 (x86)"
"Icon"="C:\\Program Files (x86)\\PowerShell\\7\\assets\\Powershell_black.ico"
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShell7x86"
[HKEY_CLASSES_ROOT\Drive\shell\PowerShell7x86]
"MUIVerb"="&PowerShell 7 (x86)"
"Icon"="C:\\Program Files (x86)\\PowerShell\\7\\assets\\Powershell_black.ico"
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShell7x86"
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\PowerShell7x86]
"MUIVerb"="&PowerShell 7 (x86)"
"Icon"="C:\\Program Files (x86)\\PowerShell\\7\\assets\\Powershell_black.ico"
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShell7x86"