Win7 How to modify TrustedInstaller permission file

Source: Internet
Author: User
Tags split trustedinstaller

method One:

1, simple and quick, remember the steps on any Win7 computer is the same operation.

2. Right-click the file-attribute that you want to modify.

3, switch to the "Security" tab, click the "Advanced" button.

4, switch to the Owner tab.

In general, the default owner is TrustedInstaller (no effect), and click the Edit button.

5, the pop-up window to select the current computer login username, click OK. Windows7 Tutorial

6, if pop-up as the diagram prompts the window, direct point determine.

7, the back of the window are clicked OK.

8, again right click on the file, properties, security, edit.

9, select the current user name, check "Allow" under the full Control, and then click OK.

10, if this window appears, click OK.

11, click OK to close the front open several windows, then you can modify or delete this file/folder.

Method Two:

1, once and for all, solve the problem quickly.

2, open Notepad, copy and paste the following code:

======================== Split Line ========================

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"

======================== Split Line ========================

3. Save the file as a file with the extension reg (Note that all files (*.*) are selected in the Save type, otherwise it will be saved as TXT file).

4, double-click the saved file.

5, if the User Account Control window is clicked.

6, this window click Yes.

7, finished. Right-click on any file or folder, the menu will have the "Get TrustedInstaller permission" Item, click this, if the User Account Control window is clicked, and then a black window (if you want to deal with fewer files, the black box will flash over, or even invisible), After the black window is automatically closed, you are free to delete and modify files/folders.

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.