How does Win7 modify the Trustedinstaller permission file?

  
                

When using Win7 system, we need to modify or delete some system files/folders. When modifying, or deleting, it will pop up "You need the permission provided by TrustedInstaller to modify this file". How can this be solved? Now Xiaobian will talk to you about how Win7 can modify the Trustedinstaller permission file.

Specific method:

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.

6. If the prompt window is displayed, click OK.

7. Click the OK button in the back window.

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\\*\\shell\ unas]< Br>

@=“Get TrustedInstaller Permissions&##>

[HKEY_CLASSES_ROOT\\*\\shell\ unas\\command]

@=“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_ROOT\\Directory\\shell\ unas]

@=“Get TrustedInstaller Permissions

“NoWorkingDirectory =“”

[HKEY_CLASSES_ROOT\\Directory\\shell\ unas\\command]

@=“cmd.exe /c takeown /f \\”%1\\“ /r /dy && icacls \\”%1\\“ /gra Nt administrators:F /t”

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

======================================================================= =================

3, save the file as a file with the extension reg (note that all files (*.*) are selected in the save type, otherwise Will be saved as a TXT file).

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.

About Win7 modify the Trustedinstaller permission file to give you a detailed introduction here, if you have the same problems as the above, you may wish to try the above method! For some files/folders in the system that cannot be deleted, this method can sometimes be easily deleted.

Copyright © Windows knowledge All Rights Reserved