Created
July 9, 2021 21:16
-
-
Save Decimation/884ad6045976293f4c2ad87017231a89 to your computer and use it in GitHub Desktop.
Add "Open Windows Terminal here as admin" to context menu
This file contains 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 | |
[HKEY_CLASSES_ROOT\Directory\shell\OpenElevatedWT] | |
@="Open Terminal here as admin" | |
"Icon"="%userprofile%\\pictures\\icons\\wt.ico" | |
[HKEY_CLASSES_ROOT\Directory\shell\OpenElevatedWT\command] | |
@="powershell.exe \"Start-Process -Verb RunAs wt.exe\"" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenElevatedWT] | |
@="Open Terminal here as admin" | |
"Icon"="%userprofile%\\pictures\\icons\\wt.ico" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenElevatedWT\command] | |
@="powershell.exe \"Start-Process -Verb RunAs wt.exe\"" | |
[HKEY_CLASSES_ROOT\Drive\shell\OpenElevatedWT] | |
@="Open Terminal here as admin" | |
"Icon"="%userprofile%\\pictures\\icons\\wt.ico" | |
[HKEY_CLASSES_ROOT\Drive\shell\OpenElevatedWT\command] | |
@="powershell.exe \"Start-Process -Verb RunAs wt.exe\"" | |
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenElevatedWT] | |
@="Open Terminal here as admin" | |
"Icon"="%userprofile%\\pictures\\icons\\wt.ico" | |
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenElevatedWT\command] | |
@="powershell.exe \"Start-Process -Verb RunAs wt.exe\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment