在任意文件夹下以管理员的身份运行powershell
写一个注册表
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\
转载
2020-11-03 18:09:06 ·
3370 阅读 ·
0 评论