What Is TrustedInstaller & Why Does it Keep Me From Renaming Files?

Ads by Google

trustedinstaller rename fileTrustedInstaller is a built-in user account in Windows 8, Windows 7, and Windows Vista. This user account “owns” a variety of system files, including some files in your Program Files folder, your Windows folder, and even the Windows.old folder that is created after you upgrade from one version of Windows to another. To rename or delete these files, you’ll have to take ownership of them away from the TrustedInstaller user account.

If you’ve just upgraded to a new version of Windows and are trying to get rid of the Windows.old folder, there’s an easier way to do it – you don’t have to delete the folder by hand.

Who Is TrustedInstaller?

The TrustedInstaller user account is used by the Windows Modules Installer service included with Windows. This service is responsible for installing, modifying, and removing Windows updates and other optional Windows components, so it has the exclusive ability to modify them.

trustedinstaller rename file

Deleting The Windows.old Folder

If you’re trying to delete the C:\Windows.old folder after upgrading to a new version of Windows and you’re seeing a message saying you need permission from TrustedInstaller, you don’t need to take ownership of the files at all. You just need to use the Disk Cleanup wizard.

To open the Disk Cleanup wizard, press the Windows key and type Disk Cleanup. On Windows 7, click the Disk Cleanup shortcut that appears in the Start menu. On Windows 8, click the Settings category and select the “Free up disk space by deleting unnecessary files” shortcut.

Ads by Google

permission trustedinstaller rename

Click the Clean up system files button in the Disk Cleanup window.

permission trustedinstaller rename

If you have a Windows.old folder on your hard drive, you’ll see a “Previous Windows installations” checkbox in the list of system files you can delete. Enable the option and click OK. Windows will delete the Windows.old folder for you – ensure you’ve copied any important files out of it before running Disk Cleanup on it.

Taking Ownership of Files

Warning – the TrustedInstaller user account owns your system files. If TrustedInstaller is preventing you from renaming or deleting a folder, it’s often for a good reason. For example, if you rename the C:\Windows\System32 folder, your operating system will stop functioning and will need to be repaired or reinstalled.

permission trustedinstaller rename

You should only take ownership of system files and rename, delete, or move them if you know what you’re doing. If you do know what you’re doing, follow the instructions below to take ownership of the files.

Locate the folder or file you want to take ownership of, right-click it, and select Properties.

trustedinstaller rename file

Click the Security tab in the properties window and click the Advanced button near the bottom.

folder-security-properties

Click the Change link next to TrustedInstaller to change the owner.

trustedinstaller rename file

Type Administrators into the box and click the Check Names button. Windows will automatically complete the rest of the name. This gives ownership to all administrators on the system. Click the OK button to save this change.

enter-user-or-group-owner

Enable the “Replace owner on subcontainers and objects” setting if you want to apply these changes to all subfolders and files in them. Click the OK button at the bottom of the Advanced Security Settings window.

replace-owner-on-subcontainers-and-objects[6]

Click the Edit button in the properties window.

edit-windows-folder-permissions

Select the Administrators user and enable the Full Control checkbox to give administrator accounts full permissions to the files.

trustedinstaller rename file

Click the OK button twice to save your changes. You now have the ability to rename, delete, or move the files as you please.

If you find yourself regularly taking ownership of files, you may want to download a .reg file that will add a “Take Ownership” option to your right-click menu. You’ll be able to take ownership of files and folders with a few quick clicks.

For more answers to tech questions, check out MakeUseOf Answers.

Why did you need to take ownership of a folder away from TrustedInstaller? Leave a comment and share any other tricks you have!

Join live MakeUseOf Groups on Grouvi App Join live Groups on Grouvi
Windows_10
Windows_10
644 Members
Windows Tips
Windows Tips
604 Members
Windows Troubleshooting
Windows Troubleshooting
554 Members
Best Windows Software
Best Windows Software
541 Members
Computer Hardware Talk
Computer Hardware Talk
489 Members
Affiliate Disclamer

This article may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.
New comment

Please login to avoid entering captcha

Log In