How to modify the Trustedinstaller permission file for Win7

  

Method 1:

1. Simple and fast, remember that the steps are the same on any Win7 computer.

2. Right click on the file you want to modify - properties.

3. Switch to the "Security" tab and click the "Advanced" button.

4. Switch to the "Owner" tab.

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

5. In the pop-up window, select the login name of the current computer and click OK. Windows7 tutorial

6, if the pop-up prompt window, click OK.

7. Click on OK in the following windows.

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

9. Select the current user name, check the full control under “Allow” and click OK.

10. If this window appears, click OK.

11. Click OK to close several windows opened in front, and you can freely modify or delete this file/folder.

Method 2:

1. Once and for all, solve problems quickly.

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

======================================== ===================================== Windows Policy Editor Version 5.00

[HKEY_CLASSES_ROOT*shellrunas]

@=“Get TrustedInstaller Permissions&##>

[HKEY_CLASSES_ROOT*shellrunascommand]

@=“cmd.exe /c takeown /f ”%1“ && icacls &rdquo ;%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”

“Iso latedCommand”=“cmd.exe /c takeown /f ”%1“ /r /dy && icacls ”%1“ /grant administrators:F /t”

==== ================================================================================================= p> 3. Save the file as a file with the extension reg (note that all files (*.*) are selected in the save type, otherwise they will be saved as TXT files).

4. Double-click the saved file.

5. If the User Account Control window appears, click Yes.

6. Click on this window.

7, you're done. Right click on any file or folder, there will be "TrustedInstaller permission" in the menu, click this item, if the user account control window appears, click Yes, then a black window will appear (if there are few files to be processed, the black box will Flashing past, even invisible), the black window is automatically closed and you can freely delete and modify files/folders.

Copyright © Windows knowledge All Rights Reserved