Delete Files Protected by TrustedInstaller in Windows

Last updated on December 29th, 2025

There are a lot of files in Windows based operating systems which come with restrictions. The TrustedInstaller.exe is a Windows Module Installer service in Windows OS which performs the function of installing, modifying and removing system components and Windows updates. Sometimes, you might require deleting a file or folder managed by TrustedInstaller. In such a case you might not have access to the file or folder. In this tutorial we will show you how to delete files protected by TrustedInstaller in Windows.

TrustedInstaller - how to delete trustedinstaller files?

To delete a file or folder protected by TrustedInstaller in Windows, right-click and go to Properties.

Delete Protected Files from Trustedinstaller in Windows

Now, click on the Security tab and head over to Advanced.

Security Tab and Advanced Option

Click Change to proceed further.

Change Ownership

Enter the name of the username you wish to grant Trustedinstaller permissions to and click Check Names. Once the username is shown, click Ok.

Enter and Check Username

Check Replace owner on subcontainers or objects and click Apply, followed by Ok.

Replace Ownership of Subcontainers option

In the next step, select the account from Group or user names that you wish to grant access to and click Edit, followed by Full Control (as shown below). This will grant complete access to your selected username. Click Ok to close the dialogue boxes (as needed).

Full Control

Now that you have ownership of the file or folder, you can delete it like any other document.

Delete Files Previously Protected by TrustedInstaller

It is worth mentioning here that deleting protected files and folders can have undesired effects, so make sure you don’t delete anything that can cause system instability. Always backup your data before deleting files and folders which you might suspect can cause operating system issues.

About Farshad

IT professional, communications specialist and Blogger!

Leave a Comment

Your email address will not be published. Required fields are marked *