- 註冊時間
- 2012-10-14
- 精華
- 在線時間
- 小時
- 米币
-
- 最後登錄
- 1970-1-1
尚未簽到
|
新建一个文本文档,打开后把下面红色的复制粘贴保存,保存名为:获取权限.reg
- W$ }8 O" F# e$ ]! q# i3 B* ~. o% _Windows Registry Editor Version 5.00; W C F; Z* e
[HKEY_CLASSES_ROOT\*\shell\runas]+ M- ^3 M; A4 w& m& w {6 K
@="获取权限"+ U# S0 B4 ? z3 k3 X( ]4 Y9 C' d
"NoWorkingDirectory"=""
: _& C& x% {+ }4 d4 ?[HKEY_CLASSES_ROOT\*\shell\runas\command]/ G. [) Y# X+ u( W$ Q: V
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
0 _$ j7 g) t, S"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"* D( R5 M' @- {4 P) ]7 q
[HKEY_CLASSES_ROOT\Directory\shell\runas]' e) T" j4 E& k8 B$ Z1 |# c
@="获取权限"8 V) e/ i1 D; f) ?& w+ `
"NoWorkingDirectory"=""% w0 \, g0 ]5 E2 M3 D
[HKEY_CLASSES_ROOT\Directory\shell\runas\command] w6 A3 i9 h5 _' v
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
8 F+ B1 A1 T+ r4 f- h"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" |
|