Win10系统怎么获取trustedinstaller权限?
时间:2023-11-11 07:46:21
最近有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)
猜你喜欢
Windows 10系统升级 惹怒一大堆人
![](https://img.aspxhome.com/file/2023/4/a305515_0s.jpg)
Win10专业版怎么备份系统?Win10专业版备份系统的方法
![](https://img.aspxhome.com/file/2023/1/49801_0s.png)
Movavi Video Editor 15 Plus Mac如何更改视频的分辨率?
![](https://img.aspxhome.com/file/2023/3/a213393_0s.jpeg)
Excel怎么使用Find函数来查找定位?
![](https://img.aspxhome.com/file/2023/7/39917_0s.jpg)
如何修复macOS Big Sur问题?来看这篇全面的问题解析总结!
![](https://img.aspxhome.com/file/2023/6/a209286_0s.png)
Win10如何还原为Win7系统?
![](https://img.aspxhome.com/file/2023/1/a280722_0s.png)
Win7系统网页字体大小如何设置?Win7系统网页字体大小的设置方法
![](https://img.aspxhome.com/file/2023/27/a230380_0s.jpg)
AnyTrans:全面而专业的手机设备管理者
![](https://img.aspxhome.com/file/2023/9/a208269_0s.jpeg)
wps表格怎么做饼状图
WPS快速删除编辑内容的常用技巧
Win10怎么设置待机锁屏?
![](https://img.aspxhome.com/file/2023/1/a280754_0s.jpg)
如何用u盘重装正版Win10系统?石大师重装正版win10系统步骤
![](https://img.aspxhome.com/file/2023/1/a274986_0s.png)
excel里怎么合并单元格?
![](https://img.aspxhome.com/file/2023/1/37821_0s.jpg)
Word怎么设置文字和拼音在同一行
![](https://img.aspxhome.com/file/2023/3/31923_0s.png)
Excel怎么设置数据有效性
QQ拼音输入法中怎么使用剪贴板模式?
![](https://img.aspxhome.com/file/2023/7/a332241_0s.jpg)
Excel2010如何使用智能的搜索筛选器来对产品库存表进行筛选?
![](https://img.aspxhome.com/file/2023/1/40361_0s.png)
Excel自动换行的方法和步骤
![](https://img.aspxhome.com/file/2023/9/a153639_0s.jpg)
win10系统打开此电脑无响应解决方法
![](https://img.aspxhome.com/file/2023/29/a261480_0s.jpg)
wps怎么样压缩文件
![](https://img.aspxhome.com/file/2023/5/a171115_0s.jpg)