电脑教程
位置:首页>> 电脑教程>> windows教程>> Win10系统当中trustedinstaller权限应该如何获取?

Win10系统当中trustedinstaller权限应该如何获取?

  发布时间:2023-11-06 19:25:39 

标签:Win10系统,trustedinstaller权限

最近有Win10系统表示,删除文件的时候提示需要trustedinstaller权限才可以进才能够继续删除,但是用户却不知道应该如何获取trustedinstaller权限。对此,下面本文就为大家分享Win10系统当中trustedinstaller权限的获取方法。

Win10系统当中trustedinstaller权限应该如何获取?

获取trustedinstaller权限操作方法:

1、首先在桌面新建一个文本文件;如图所示:

Win10系统当中trustedinstaller权限应该如何获取?

2、将文件重命名为trustedinstaller.txt,将以下代码复制粘贴到记事本里;

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellunas]

@=“获取TrustedInstaller权限”

[HKEY_CLASSES_ROOT*shellunascommand]

@=“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_ROOTDirectoryshellunas]

@=“获取TrustedInstaller权限”

“NoWorkingDirectory”=“”[HKEY_CLASSES_ROOTDirectoryshellunascommand]

@=“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”如图所示:

Win10系统当中trustedinstaller权限应该如何获取?
Win10系统当中trustedinstaller权限应该如何获取?

3、将文件的扩展名修改为reg;如图所示:

Win10系统当中trustedinstaller权限应该如何获取?

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

Win10系统当中trustedinstaller权限应该如何获取?

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

Win10系统当中trustedinstaller权限应该如何获取?

0
投稿

猜你喜欢

手机版 电脑教程 asp之家 www.aspxhome.com