|
TrustedInstaller是一个虚拟账户,比Administrator权限要大,(MS难道是通过降低用户的权限来到达 更高安全性的目的的????)但并非是最高权限账户,System才是。
获取TrustInstaller权限的修改方法:
1.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@="获取权限"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT*shellrunascommand]
@="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F"
[HKEY_CLASSES_ROOTDirectoryshellrunas]
@="获取权限"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTDirectoryshellrunascommand]
@="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"
将上述内容保存为*.reg(*代表任意称号 ),双击导入,会在鼠标右键添加"获取权限"项目,如图[ghost win7纯净版] 所示[win7旗舰版系统下载]
2.
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT*shellrunas]
[-HKEY_CLASSES_ROOTDirectoryshellrunas]
将上述内容保存为*.reg导入注册表后可以将获取权限项目删除 |
|
|
|
|
|
|