Win7 system after a period of time will accumulate a lot of file garbage, so we try to delete some system folders, expand the memory space. "TrustedInstaller permission" is ejected when a user has recently been deleted, resulting in the inability to delete or rename it. How should we deal with this problem? Today, I want to share with you the Win7 system system right-click menu to add the "Get TrustedInstaller Permissions" option.
1. First open Notepad or create a new text document on the desktop, paste the following code into Notepad, and then "Get TrustedInstaller permissions. 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/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, double-click to create a good registry file import, then right click on the folder will come out to get trustedinstaller permission options.
The Win7 system can get the TrustedInstaller permission option as long as this option is added. Users who need it can do it manually.
Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join