logo
search
Others

How to Delete Files Protected by TrustedInstaller in Windows 11

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

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 you start

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.

Solution 1Recommended

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.

1
Open File Properties

Right-click the file or folder you want to delete and select 'Properties' from the context menu.

2
Access Advanced Security

Navigate to the 'Security' tab and click on the 'Advanced' button located at the bottom of the window.

3
Change the Owner

At the top of the Advanced Security Settings window, look for 'Owner: TrustedInstaller' and click the 'Change' link next to it.

4
Enter Your Username

In the object name box, type your Windows username or 'Administrators', click 'Check Names' to verify, and then click 'OK'.

5
Apply Ownership to Subfolders

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.

6
Grant Full Control

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.

System Stability Warning: Do not use this method on the active 'Windows' folder or critical program files, as it may prevent your PC from booting properly.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and click on the free download button.
  2. 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. 3. Open Your Files: Launch WPS Office and seamlessly open your existing Word, Excel, or PowerPoint documents without losing any formatting.
Fully compatible with Microsoft Office formats, including .docx, .xlsx, and .pptx.Lightweight installation that consumes significantly less system drive space.Built-in cloud storage to keep your documents backed up independently from local system drives.All-in-one suite combining Writer, Spreadsheet, Presentation, and PDF tools in a single app.
microsoft office alternative - wps office

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.