Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: http://www.sevenforums.com/tutorials/47415-open-command-window-here-administrator.html
[-HKEY_CLASSES_ROOTDirectoryshell
unas]
[HKEY_CLASSES_ROOTDirectoryshell
unas]
@="Open cmd here as Admin"
"HasLUAShield"=""
[HKEY_CLASSES_ROOTDirectoryshell
unascommand]
@="cmd.exe /s /k pushd "%V""
[-HKEY_CLASSES_ROOTDirectoryBackgroundshell
unas]
[HKEY_CLASSES_ROOTDirectoryBackgroundshell
unas]
@="Open cmd here as Admin"
"HasLUAShield"=""
[HKEY_CLASSES_ROOTDirectoryBackgroundshell
unascommand]
@="cmd.exe /s /k pushd "%V""
[-HKEY_CLASSES_ROOTDriveshell
unas]
[HKEY_CLASSES_ROOTDriveshell
unas]
@="Open cmd here as Admin"
"HasLUAShield"=""
[HKEY_CLASSES_ROOTDriveshell
unascommand]
@="cmd.exe /s /k pushd "%V""
https://blog.csdn.net/qq_19244423/article/details/46662293