The “You require permission from [username/SYSTEM/TrustedInstaller] to make changes to this file” error in Windows means you don’t have sufficient permissions to modify, delete, or rename that file or folder. Here’s how to fix it.
Understanding the permission types
The error message tells you who currently owns the file:
- [Your username]: You own it but somehow lack full control – unusual, often a corruption
- SYSTEM: Windows system processes own it – common for OS files and program files
- TrustedInstaller: Windows Update and component store owns it – applies to core Windows files
- Administrators: The Administrators group owns it but your user account needs to be added
Fix 1: Take ownership via Properties
- Right-click the file or folder > Properties > Security tab
- Click Advanced > Change (next to the Owner field)
- Type your username > Check Names > OK
- Check “Replace owner on subcontainers and objects” (for folders)
- Click Apply > OK
- Back in Security tab, click Edit > select your user > check Full Control > Apply
Fix 2: Take ownership via Command Prompt (faster for folders)
Open Command Prompt as administrator and run:
takeown /f "C:\path\to/file" /r /d y
icacls "C:\path\to/file" /grant administrators:F /t
Replace the path with the actual file or folder path. The /r and /t flags apply the change recursively to all subfolders and files.
Fix 3: For TrustedInstaller-owned files
TrustedInstaller owns core Windows system files. Modifying these is generally not recommended – they’re protected for good reason. If you need to for a specific purpose, the ownership change process is the same, but be aware you’re modifying files that Windows Update may overwrite later.
Fix 4: Disable inheritance issues
Sometimes permissions are inherited from a parent folder in a way that blocks access. Advanced Security Settings > Permissions tab > Disable Inheritance > “Convert inherited permissions into explicit permissions on this object.” This gives you direct control over the permissions without relying on inheritance.