How to Delete Files Protected by TrustedInstaller in Windows 11
Question details
The user is unable to delete specific old files because Windows 11 Pro restricts the action, citing that permission is required from TrustedInstaller.
- Product
- Windows 11 Pro
- Device & OS
- Windows 11
- Scenario
- Attempting to clean up a storage drive by manually deleting old or obsolete files that are locked by system permissions.
- Observed behavior
- Windows blocks the deletion process with an access denied error, stating that administrator or TrustedInstaller permissions are required to make changes to the file.
Before modifying file permissions or deleting protected items, ensure the files are truly obsolete (like previous Windows installations) and not active system components, as deleting core files can corrupt your operating system.
Take Ownership of the File via Advanced Security Settings
Transfer the ownership of the file or folder from TrustedInstaller to your local administrator account so you can gain the rights to delete it.
TrustedInstaller is a built-in user account that owns and protects critical Windows files. To delete these files, you must manually change the owner to your active Windows user account and grant yourself full control.
Right-click the file or folder you want to delete and select 'Properties' from the context menu.
Navigate to the 'Security' tab and click on the 'Advanced' button located at the bottom of the window.
At the top of the Advanced Security Settings window, look for 'Owner: TrustedInstaller' and click the 'Change' link next to it.
In the object name box, type your Windows username or 'Administrators', click 'Check Names' to verify, and then click 'OK'.
If you are modifying a folder, check the box that says 'Replace owner on subcontainers and objects'. Click 'Apply' and then 'OK' to close the properties windows.
Re-open the Advanced Security Settings for the file. Click 'Add', choose 'Select a principal', enter your username again, check the 'Full control' box, and click 'OK' to save your new permissions. You can now delete the file.
Use Windows Disk Cleanup for System Files
Use the built-in Windows utility to safely remove old system files and previous installations without needing to alter TrustedInstaller permissions manually.
Manage Your Documents More Efficiently with WPS Office
While resolving Windows system file permissions can be complicated, managing your daily documents shouldn't be. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office, ensuring your important files are always accessible and easy to manage.
- 1. Download the Installer: Visit the official WPS Office website and click on the free download button.
- 2. Install the Suite: Run the lightweight installer and follow the on-screen instructions to set up WPS Office on your Windows 11 PC.
- 3. Open Your Files: Launch WPS Office and seamlessly open your existing Word, Excel, or PowerPoint documents without losing any formatting.

Frequently Asked Questions
What exactly is TrustedInstaller in Windows 11?
TrustedInstaller is a built-in core user account in Windows that owns essential system files and folders. Its primary purpose is to protect the operating system by preventing users, administrators, and malicious software from accidentally or intentionally deleting critical files.
Why can't I delete files even though I am the Administrator?
In modern Windows versions, being an Administrator does not automatically grant you ownership of every file. System files are owned by TrustedInstaller. To modify or delete them, an Administrator must explicitly take ownership of the file first.
Is it safe to remove TrustedInstaller permissions?
It is not recommended to alter permissions on active system files, as this can severely compromise your computer's stability and security. You should only take ownership of leftover or orphaned files, such as those from an old Windows installation (Windows.old).
Can I restore TrustedInstaller ownership after deleting what I need?
Yes. If you simply wanted to modify a file, you can restore ownership by going back to the Advanced Security Settings, clicking 'Change' on the owner, and typing 'NT SERVICE\TrustedInstaller' as the object name.




