win10系统怎么获取 trustedinstaller权限获取

时间:23-08-07 15:04:23

作者:

分类:win10常见问题

  一些小伙伴在清理电脑文件时遇到权限不足,电脑提示需要trustedinstaller提供的权限才能对此文件进行更改,许多小伙伴遇到这种情况都感到束手无策,小面小编就给大家带来windows10 trustedinstaller权限的获取教程办法,希望能够帮助到有需要的小伙伴们,话不多说,快一起来看看吧。

win10系统怎么获取 trustedinstaller权限获取插图

  win10系统怎么获取 trustedinstaller权限获取

  1、右击桌面空白处,选择”新建”一个”文本文档”,将其命名为”trustedinstaller.txt”。

win10系统怎么获取 trustedinstaller权限获取win10系统怎么获取 trustedinstaller权限获取

  2、双击打开后,将以下代码复制粘贴进记事本中。

  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权限获取

  3、”Ctrl+S”保存后,将其后缀扩展名改为”reg”。

win10系统怎么获取 trustedinstaller权限获取

  4、在弹出的提示窗口中点击”是”。

win10系统怎么获取 trustedinstaller权限获取

  5、最后双击”trustedinstaller.reg”,会弹出成功添加都注册表中的提示窗口。

win10系统怎么获取 trustedinstaller权限获取