I. Description of TrustedInstaller
The Windows7 operating system is much better than previous Windows XP and previous versions of security, with more stringent permissions on system files and no unauthorized modification of system files. For example, if we want to remove unnecessary windows from an input method file, an Access denied prompt will appear. There are a lot of friends who will encounter some situations where programs cannot run, most of which are caused by the inability to get the relevant permissions, known as "compatibility issues."
650) this.width=650; "title=" 1.png "alt=" 52ba2eec32b45e7e6969a3a27287e987.png "src=" https://s5.51cto.com/oss/ 201710/22/52ba2eec32b45e7e6969a3a27287e987.png "/>
Many Windows users think that the administrator or Administrators group account permissions are the highest permissions, but in some cases otherwise, TrustedInstaller permissions is the highest permission to lock Win7! So how do we get the highest privileges of the Win7 system "trustedinstaller permission" When this happens?
Second, get TrustedInstaller permissions
1, Method one:
1) Right click on the file or folder you want to manipulate, go to "properties → security → advanced → owner → edit";
2) in the "Change owner to" column, select the administrator user who logged into the system, and then select "Apply", click OK;
3) Go back to the folder Properties window and go to the "Security" tab and select "Edit";
4) Select the administrator user who is logged in to the system in the bar above the Permissions window, and select "Allow" in the column below.
After you have set it up, click OK until you finish, and the user has administrative rights to the file or folder, which activates the TrustedInstaller maximum administrative rights for the WINDOW7 system.
Description: This method is more cumbersome, there is no better way? Of course, please look down at method two.
2, Method Two:
Write the following to Notepad and save as 1.reg
Windows Registry Editor Version 5.00
[Hkey_classes_root\*\shell\runas]
@= "Get TrustedInstaller Permissions"
[Hkey_classes_root\*\shell\runas\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\runas]
@= "Get TrustedInstaller Permissions"
"Noworkingdirectory" = ""
[Hkey_classes_root\directory\shell\runas\command]
@= "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"
When you double-click Run 1.reg, right-click the file or directory for which you want to get TrustedInstaller permissions:
650) this.width=650; "title=" Qq20171022144049.png "src=" https://s1.51cto.com/oss/201710/22/ 03d0926f987270a1a046baa8ade1e965.png "alt=" 03d0926f987270a1a046baa8ade1e965.png "/>
This will bring up a black window, apply permissions, then you can delete the directory ~
Iii. Summary
Above method, only under Win7 test, other system please try, the above method to obtain TrustedInstaller permission, basically can delete any file, if this file or directory is not occupied (running), in addition, please delete the system files when the snack, or destroy the system files, The system is not functioning properly, please be responsible for your own.
This article is from the "Learning, learning" blog, please be sure to keep this source http://dyc2005.blog.51cto.com/270872/1975032
Get Windows7 TrustedInstaller Permissions