Win7 System Right-click menu How to add "Get trustedinstaller permission" option

Source: Internet
Author: User
Tags trustedinstaller

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.