Last active
March 10, 2018 16:21
-
-
Save jamesguan/225889f81b429976c1c745fc71caf30a 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 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShellAsAdmin] | |
@="Open PowerShell window here as administrator" | |
"Extended"="" | |
"HasLUAShield"="" | |
"Icon"="powershell.exe" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShellAsAdmin\command] | |
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -windowstyle hidden -Command \"Start-Process powershell -ArgumentList '-NoExit', '-Command cd %V' -Verb runAs\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment