首页  >  文章  >  系统教程  >  Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍

Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍

WBOY
WBOY原创
2024-09-05 11:34:49631浏览

在使用计算机过程中,权限是不可或缺的。如果您需要获取 Windows 10 系统文件或文件夹的 trustedinstaller 权限,本文将为您提供详细的分步指南。我们的 php小编柚子已经仔细整理了一系列有效的方法,以便您轻松获取权限,并打造出您想要的计算机操作体验。继续阅读,了解如何轻松获取 trustedinstaller 权限,并充分利用您的 Windows 10 系统。

Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍

Win10系统获取trustedinstaller权限方法介绍

1、首先我们需要在电脑空白的桌面进行右键,然后新建一个文本文档。

Win10系统怎么获取trustedinstaller权限_Win10系统获取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”

Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍

Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍

3、然后对于文件的扩展名进行修改,改为reg。

Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍

4、然后会出现一个弹窗的提示,在这里直接点击确定即可。

Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍

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

Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍

以上是Win10系统怎么获取trustedinstaller权限_Win10系统获取trustedinstaller权限方法介绍的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn