Win7 system right-click menu how to add "get trustedinstaller permissions" option

  

win7 system will accumulate a lot of file garbage after a period of use, so we try to delete some system folders, expand the memory space. Recently, when a user deletes, the permission "<;trustedinstaller" pops up, which prevents the deletion or renaming. How to deal with this problem? Today, Xiaobian wants to share with you the win7 system system right-click menu to add the "trustedinstaller permissions" option.

1. First open Notepad or create a new text document on the desktop, paste the following code into Notepad, and otherwise get the trustedinstaller permission.reg”

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellrunas]

@="Get TrustedInstaller Permissions"

[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]

@="Get TrustedInstaller Permissions&<;>

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTDirectoryshellrunascommand]

@="cmd.exe /c takeown /f "%1" /r /dy && icacls "%1" /grant administrators:F /t"

"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /dy && icacls "%1" /grant administrators:F /t"

2 Double-click on the created registry file to import, then right click on the folder and you will get the trustedinstaller permission option.

As long as this option is added to the win7 system, you can get the trustedinstaller permission option. Users in need can do it.

Note: For more exciting tutorials, please pay attention to the computer tutorial section, computer office group: 189034526 welcomes you to join

Copyright © Windows knowledge All Rights Reserved