目录:powershell.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryBackgroundshellPowerShellAsAdmin]
@="Open PowerShell window here as administrator"
"Extended"=""
"HasLUAShield"=""
"Icon"="powershell.exe"
[HKEY_CLASSES_ROOTDirectoryBackgroundshellPowerShellAsAdmincommand]
@="C:Windowssystem32WindowsPowerShellv1.0powershell.exe -windowstyle hidden -Command "Start-Process powershell -ArgumentList '-NoExit', '-Command cd %V' -Verb runAs""