trustedinstaller权限怎么获得及设置win11(需要trustedinstaller权限才能更改及怎么开启授权教程)

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

trustedinstaller权限怎么获得及设置win11(需要trustedinstaller权限才能更改及怎么开启授权教程)

方法/步骤

1、首先在桌面新建一个文本文件;

trustedinstaller权限怎么获得及设置win11(需要trustedinstaller权限才能更改及怎么开启授权教程)

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”

trustedinstaller权限怎么获得及设置win11(需要trustedinstaller权限才能更改及怎么开启授权教程)

trustedinstaller权限怎么获得及设置win11(需要trustedinstaller权限才能更改及怎么开启授权教程)

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

trustedinstaller权限怎么获得及设置win11(需要trustedinstaller权限才能更改及怎么开启授权教程)

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

trustedinstaller权限怎么获得及设置win11(需要trustedinstaller权限才能更改及怎么开启授权教程)

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

trustedinstaller权限怎么获得及设置win11(需要trustedinstaller权限才能更改及怎么开启授权教程)

以上就是小编教给大家的Win11系统获取trustedinstaller权限的方法,按照以上方法获取trustedinstaller权限之后就能去删除那些无法删除的文件了。

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2305938578@qq.com 举报,一经查实,本站将立刻删除。
(0)
上一篇 2023年 3月 6日 下午5:20
下一篇 2023年 3月 7日 下午1:10

相关推荐

发表回复

登录后才能评论