TrustedInstaller is a legitimate Windows 10 or Server process. It is included in the Windows Resource Protection for every Operating System ever since Vista. Working closely with other Installer services, the TrustedInstaller is responsible for protecting your system files such as .exe, . sys, . dll from unauthorized access and changes to these files. See this article for a similar error “Folder Access Denied, you require permission from SYSTEM: Unable to delete old windows folder“.
The following error was promoted when I wanted to rename MS Edge for the following reasons “How to make Cortana search with a different web browser instead of Bing and Edge ” “How to uninstall or remove Microsoft Edge Browser“.
This happens because the built-in user account is in control of all your files and will overwrite your decisions. The primary goal of TrustedInstaller is to control user's ability to interact with the newest Windows updates, system files, and other essential programs. While it might be annoying sometimes, it is a useful feature for people without much computer knowledge, as it will prevent them from damaging system files.
If the TrustedInstaller requires authorization as shown above, follow the steps below to fix it.
– Right-click on the appropriate folder “for me, it is “Microsoft Edge.exe“.
– Select the “Properties” as shown below.
On Properties window, open the Security tab and
– Click on Advanced as shown below
Next, We will have to change the Owner as shown below on the Advanced Security Settings for Microsoft Edge.exe window.
– To change the Owner, simply click on change next to Owner “TrustedInstaller”.
You can grant these rights t the Administrator or a specific user account.
– To determine a user account you are currently logon as run the command “whoami” as shown below.
In the “Select User or Group” window,
– Type the user name you are using on this computer into the box and
– Then click on the “Check Names” button.
Windows will automatically check and complete the full object name as shown below.
– Then click on OK and finally click on apply as shown below.
At this stage, if you proceed to rename or delete the application, you will still encounter errors.
As you can see previously, the User group was not having “Full control” rights for this file.
– For this, we will have to edit the permission entries and assign all the needed permissions.
Note: If you wish to add new users here, you can but there is absolutely no needs because of the group "Users" and "Administrators". You can add users to any of these group for easy management.
When the permissions are assigned, We will have to apply it as shown below or click on OK on the fly.
Now that we have successfully configured the necessary rights (changed ownership) for the user, you should be able to rename or delete the file without the “You require permission from TrustedInstaller” message anymore.
As you can see below, I have successfully remaned the Microsoft Edge executable file.
Note: Be aware that the TrustedInstaller account is there for a reason, and it prevents users and malicious actors from damaging important files that might corrupt the operation of Windows OS. Therefore, before you perform the following actions, make sure you do know what you are doing, as modifying system data might permanently corrupt it.
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.