Win10系统怎么获取trustedinstaller权限?
最近有Win10系统用户反映,在清理系统一些文件的时候,发现无法删除该文件,并且提示需要trustedinstaller权限才能进行删除。那么,Win10系统怎么获取trustedinstaller权限呢?下面,小编就来教教大家Win10系统获取trustedinstaller权限的方法。

方法/步骤
1、首先在桌面新建一个文本文件;

2、将文件重命名为trustedinstaller.txt,将以下代码复制粘贴到记事本里;
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@=“获取TrustedInstaller权限”
[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]
@=“获取TrustedInstaller权限”
“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”


3、将文件的扩展名修改为reg;

4、提示修改后的问题,不用管,直接点确定;

5、双击trustedinstaller.reg,提示注册表信息添加成功。

以上就是小编教给大家的Win10系统获取trustedinstaller权限的方法,按照以上方法获取trustedinstaller权限之后就能去删除那些无法删除的文件了。
相关文章:
1. 苹果Mac OS X Snow Leopard:无与伦比的革新2. Windows7怎么取消护眼模式3. win XP系统的电脑无法连接苹果手机怎么解决4. win7电脑提示缺少vcruntime140.dll的处理操作5. Win7窗口边框变得很难看且界面与Win2000/WinXP类似怎么解决?6. 升级win11数据会不会清空详情7. windows system32文件可以删除吗?windows system32介绍8. taskhost.exe是什么进程? taskhost.exe占用cpu的解决办法9. Win10系统怎么修复注册表?Win10系统修复注册表操作方法10. Win10如何更改C盘默认安装?Win10更改C盘默认安装的方法

网公网安备