Win10系统怎么获取trustedinstaller权限?
时间:2022-05-11 17:06:41
最近有Win10系统用户反映,在清理系统一些文件的时候,发现无法删除该文件,并且提示需要trustedinstaller权限才能进行删除。那么,Win10系统怎么获取trustedinstaller权限呢?下面,小编就来教教大家Win10系统获取trustedinstaller权限的方法。
方法/步骤
1、首先在桌面新建一个文本文件;
2、将文件重命名为trustedinstaller.txt,将以下代码复制粘贴到记事本里;
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@=“获取TrustedInstaller权限”
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@=“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_ROOT\Directory\shell\runas]
@=“获取TrustedInstaller权限”
“NoWorkingDirectory”=“”
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@=“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”
3、将文件的扩展名修改为reg;
4、提示修改后的问题,不用管,直接点确定;
5、双击trustedinstaller.reg,提示注册表信息添加成功。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Win10 21H1系统怎么创建本地账户?
![](https://img.aspxhome.com/file/2023/3/50853_0s.jpg)
After Effects 教程「1」,如何在 After Effects 中打开项目或创建项目?
![](https://img.aspxhome.com/file/2023/4/a202484_0s.jpeg)
Word排版美化,这招技能一定要Get
![](https://img.aspxhome.com/file/2023/3/24163_0s.png)
如何使用手机wps将文档输出为打印文件
在Wps中插入方框符号的教程
![](https://img.aspxhome.com/file/2023/8/a165668_0s.jpg)
Excel怎么制定工作表
word如何利用剪贴板进行多次复制、多次粘贴?
![](https://img.aspxhome.com/file/2023/4/35614_0s.png)
wps文字中怎么插入图形页眉
![](https://img.aspxhome.com/file/2023/1/53411_0s.jpg)
在word中如何使用公式编辑器
WORKDAY 函数
Win10切换窗口卡顿怎么解决?Win10切换窗口卡顿解决教程
![](https://img.aspxhome.com/file/2023/5/51915_0s.jpg)
Excel DEGREES 函数 使用实例教程
![](https://img.aspxhome.com/file/2023/9/a163139_0s.png)
哪些 iOS 应用使用后可以明显提高生活质量?
![](https://img.aspxhome.com/file/2023/7/a198077_0s.gif)
matlab读取excel文件的方法
Win10显示该设备的驱动程序在设备状态字段中被阻止启动的消息(代码 48)
![](https://img.aspxhome.com/file/2023/6/52606_0s.jpg)
如何在苹果Mac上高效地使用桌面和窗口?
![](https://img.aspxhome.com/file/2023/0/a206090_0s.gif)
WPS文档怎么设置多人编辑
![](https://img.aspxhome.com/file/2023/6/a184176_0s.png)
Excel 2003如何拆分单元格
![](https://img.aspxhome.com/file/2023/9/37669_0s.jpg)
Excel2007查找重复值的技巧
Win10电脑一装系统就出现电脑蓝屏怎么办?
![](https://img.aspxhome.com/file/2023/5/50565_0s.png)