TrustedInstaller is a legitimate Windows 10 or Server process. It has been included in the Windows Resource Protection for every Operating System ever since Vista. In this article, we shall discuss the steps to fix “You require permission from trustedinstaller: How to delete or rename files protected by Trusted Installer”. 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“. Kindly refer to the following guides for more information on WDS and MDT. How to setup and install WDS role, how to configure DHCP, and Folder Access Denied, you require permission from SYSTEM: Unable to delete old windows folder.
Why was this error “You require permission from Trustedinstaller” prompted?
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 the 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.
How to delete or rename files protected by Trusted Installer
If the TrustedInstaller requires authorization, 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 the Properties window, open the Security tab and click on Advanced as shown below
Next, in order to delete or rename files protected by Trusted Installer, we must also change the Owner as shown below on the Advanced Security Settings for the Microsoft Edge.exe window.
To change the Owner, click ” change ” next to Owner “TrustedInstaller”.
You can grant these rights to the Administrator or a specific user account.
To determine a user account you are currently logged in as, run the command “whoami.” If you need to delete or rename files protected by Trusted Installer, it’s important to ensure you have the necessary permissions to make changes to the system files.
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.
Delete or rename files protected by Trusted Installer
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 did not have “Full control” rights for this file. Which can become a challenge when trying to delete or rename files protected by Trusted Installer. We must edit the permission entries for this task and assign all the needed permissions.
Note: If you wish to add new users here, you can but there is absolutely no need because of the group “Users” and “Administrators”. You can add users to any of these groups for easy management.
Furthermore, When the permissions are assigned, We must apply it as shown below or click OK on the fly.
Now that we have successfully configured the necessary rights (changed ownership) for the user.
You should be able to perform actions like delete or rename files protected by Trusted Installer without encountering the “You require permission from TrustedInstaller” message.
As you can see below, I have successfully managed to delete or rename files protected by Trusted Installer. This includes the Microsoft Edge executable file.
Note: Be aware that the TrustedInstaller account is there for a reason. 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 know what you are doing, as modifying system data might permanently corrupt it.
FAQ on Trustedinstaller
To delete or rename files protected by TrustedInstaller, you typically need to take ownership of the files and then adjust the permissions as discussed above.
You can use the Command Prompt to interact with TrustedInstaller-protected files. To do this, open Command Prompt. Run Command Prompt as an administrator.
– Next, take Ownership: by using the command
takeown . It will look like this:
takeown /f "C:\PathtoFile"
– Use the
icacls command to modify permissions. that is, to grant full control to your user account:
icacls "C:\PathtoFile" /grant %username%:F
– Now, you can delete or rename the file.
As highlighted above, TrustedInstaller protects critical system files for a reason: to maintain system stability and security. Modifying or deleting protected files can lead to system instability, security vulnerabilities, or even a non-bootable system. Therefore, it’s essential to exercise caution and only make changes when you are confident about the implications.
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.