随着电脑的使用的普遍,电脑系统随之产生大量垃圾文件,这些文件占用系统内存,对系统运行速度也有影响,所以删除整理这些文件是很有必要的。最近有用户在使用Win7系统中删除文件时提示需要“Trustedinstaller的权限”文件访问被拒绝,导致无法直接删除这些文件,出现这种问题该怎么办?其实用户可以鼠标右键菜单中添加获取“Trustedinstaller权限”,这样更方便对这些文件进行执行管理。下面U青菜小编就教大家Win7技巧:系统如何获取Trustedinstaller权限的方法。
.@"q$\ 0oh]61gC
0A:n0[V:] .0G6flD 1、在桌面新建“记事本”文档,将下面代码复制粘贴到记事本中。并另存为“获取Trustedinstaller权限.reg”(文件格式为“.reg类型”才能导入注册);
I2a6w<b !;Jmg Windows Registry Editor Version 5.00
h b/]8mR "/]| Hhc{ [HKEY_CLASSES_ROOT\*\shell\runas]
QW_agm `+#G+Vu5 @="获取TrustedInstaller权限"
[DHoGy,P 63!rU
B!
[HKEY_CLASSES_ROOT\*\shell\runas\command]
m'-|{c GdVhK:<> @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
`p'Q7m2y/b 9]'($:LF08 "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
Uu 7dSU
AkU<g [HKEY_CLASSES_ROOT\Directory\shell\runas]
+
<c^=&7Lq 3jogD @="获取TrustedInstaller权限"
,&Wn [G<2 `imWc"'Ej "NoWorkingDirectory"=""
IZ3{>NV 3u>8\|8wz [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
B$ KwkhMe `O^G5 0 @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
D^U:
ih 3K@@D B6 "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
B$?qQ|0:= O|cu.u| 2、根据以上步骤创建好“获取Trustedinstaller权限.reg”后,双击运行将注册表文件导入即可;
U Q@7n1 zu2HH<E
t!1$$e?`r INSkgOo O
;
HY% 3、接下来右键文件夹并能在鼠标右键菜单中查看到“获取Trustedinstaller权限”选项,在文件删除时选择该选项即可删除或管理。
7{oe ->r Q>qFM9Z 以上就是Win7技巧:系统如何获取Trustedinstaller权限的方法的讲解了,导入注册表就能实现。遇到此问题就参考上面的方法进行修改,更多教程请关注U青菜官网。
k#}g,0@ Win7技巧:系统如何获取Trustedinstaller权限的方法:
http://www.uqingcai.com/articleshow375_page1.html