分类

Win10系统教程

教你Win10如何获得trustedinstaller权限的方法

作者:WinWin7   来源:本站整理   日期:2019-07-27
我们在Win10系统中进行操作的时候,有时会遇上一些文件需要trustedinstaller权限才能操作,trustedinstaller权限是系统内部最高权限,使用安全选项卡中也不能获得这个权限,那么如何解决呢?其实我们可以在Win10右键菜单中添加“获得trustedinstaller权限”对着文件操作即可。

Win10获得trustedinstaller权限步骤:


1、首先打开记事本或在桌面上新建一个文本文档,将下面代码粘贴到记事本中,另然为 “获取trustedinstaller权限.reg”

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权限"
;www.winwin7.com

"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"


2、双击创建好的注册表文件导入,这时右键点击文件夹或是文件就会出来获取trustedinstaller权限选项了。


利用这个选项,我们就可以参所有没有权限的文件进行操作了。大家可以试试这个管用的方法。

相关文章

推荐下载