TrustedInstaller Permissions: How to Add, Delete, or Change System Files

TrustedInstaller Permissions: How to Add, Delete, or Change System Files

/ Sed Galope

When working with Windows, you may occasionally encounter a roadblock that seems to come out of nowhere: a message stating that you require permission from TrustedInstaller to perform a certain action. This can be quite frustrating, especially if you’re trying to modify, delete, or rename a system file or folder.

In this blog post, we’ll delve into the world of TrustedInstaller – the mysterious guardian of your Windows system files. We’ll explore the reasons behind its existence, its role in protecting your computer, and most importantly, how to safely obtain the necessary permissions to make changes to those well-guarded files and folders.

Automatically Repair TrustedInstaller Permissions

Recommended: To easily install drivers automatically, use the tool below.

Download Now
Fortect System Repair

Join us as we unlock the secrets of TrustedInstaller and guide you through gaining access, ensuring you can manage your system files with confidence and ease.

Common Reasons for “You Require Permission from TrustedInstaller” Issues

Before diving into the solutions, let’s first understand some common reasons behind the “You require permission from TrustedInstaller” error. This will help you comprehend the need for obtaining specific permissions and how to avoid possible issues in the future. Here are some frequent causes for this error:

  1. System File Protection: Windows uses the TrustedInstaller service to protect essential system files and folders. By default, many system files are owned by TrustedInstaller to prevent unauthorized access or modification. When users try to alter these files without the necessary permissions, it triggers this error.
  2. Insufficient User Account Privileges: If you’re logged in with a user account that doesn’t have administrative privileges, you’ll likely face this error when trying to modify system files.
  3. File or Folder Ownership: System files and folders are owned by TrustedInstaller by default, and you need to take ownership before making any changes. If you don’t have ownership of the file or folder in question, you may encounter the “You require permission from TrustedInstaller” issue.
  4. Incorrect Security Settings: Sometimes, incorrect security settings or file permissions can lead to this error. Users must have the necessary permissions to make changes to protected files and folders.
  5. Malware or Virus Activity: In some cases, malware or viruses may alter the original security settings, causing you to lose access to system files and folders. This can also result in the “You require permission from TrustedInstaller” error message.

Understanding these reasons is vital to grasp the importance of TrustedInstaller and the necessary precautions to take while modifying system files. The following sections in this content offer several ways to safely obtain the required permissions, ensuring that you can manage your system files with confidence and ease.

How to Repair “You Require Permission From Trustedinstaller”

Take Ownership Using Command Prompt

A command prompt can be a great way to fix the “you require permission from trustedinstaller” error. The error typically occurs when a user attempts to change the permissions of a file or folder.

This error can be caused by several issues, including user account corruption, virus activity, or a lack of permission granted by the TrustedInstaller service. However, by using the command prompt, you can quickly and easily regain access to the file or folder causing the error.

Step 1: Open the Start menu and type cmd.

Step 2: Run the command prompt as an administrator.

run command prompt administrator

Step 3: Enter the following command and press enter to take control of a particular file:

TAKEOWN /F (filename) (NOTE: Enter the full file name and path. Do not include any parentheses.) Example: C:\Program Files\Internet Explorer

takeown cmd

Step 4: You should see: Success: The file (or folder): “filename” is now owned by user “Computer Name/User Name.”

Taking Ownership of the Files Manually

When attempting to make changes to a file or folder on a Windows computer, you may encounter an error message that reads, “You require permission from TrustedInstaller to make changes to this file.”

This is because the TrustedInstaller is a built-in security feature that prevents users from making unauthorized changes. Fortunately, you can use File Explorer in Windows to gain file or folder access and make the necessary changes.

Step 1: Press Win + E to open the files explorer.

Step 2: Right-click on the file or folder and select properties.

choose folder properties

Step 3: Go to the Security tab and click the Advanced button.

security and advanced permissions

Step 4: In the Advanced Security Settings window, you will see that the file’s owner is TrustedInstaller. Click the on Change.

trustedinstaller option in advanced folder options

Step 5: Type your user account name and click the Check Names button OK. (Windows will automatically check and complete the full object name.)

enter object name and check names

Step 6: Check the Replace owner on subcontainers and objects box, then click the OK button.

replace subcontainers

Step 7: In the Properties window, click the Advanced button.

security and advanced permissions

Step 8: Click the Change permissions button.

change permission option

Step 9: On the Permission Entry window, click the Add button and click on Select a principal.

add principal

Step 10: Enter your user account name, click the Check names button, which should be identified and listed, then click the OK button.

enter object name and check names

Step 11: Tick the Full control box and click the OK button.

Step 12: Check the box for Replace all child object permission entries.

replace all child object permission entries

Step 13: Click OK and then Yes in the confirmation prompt.

Edit File Permission from Trustedinstaller

Editing the file permission is a great way to fix the “require permission from trustedinstaller” error. The error occurs when a user tries to make changes to files or folders owned by the Trusted Installer user group.

Users can regain access to the file or folder by editing the permissions without involving the Trusted Installer user group. The process of editing file permissions is relatively simple, and the steps will vary depending on the operating system used.

Step 1: Press Win + E to open the files explorer.

Step 2: Right-click on the file or folder and select properties.

choose folder properties

Step 3: Go to the Security tab and click the Edit button.

edit permission button

Step 4: Edit the changes by selecting Full control and clicking the OK button.

select everyone and full control options

Write A Script to Take Ownership

Step 1: Open Notepad and copy and paste the following script below:

[-HKEY_CLASSES_ROOT\*\shell\runas] [HKEY_CLASSES_ROOT\*\shell\runas] @=”Take Ownership” “HasLUAShield”=”” “NoWorkingDirectory”=”” “Position”=”middle” [HKEY_CLASSES_ROOT\*\shell\runas\command] @=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F /c /l & pause” “IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F /c /l & pause” [-HKEY_CLASSES_ROOT\Directory\shell\runas] [HKEY_CLASSES_ROOT\Directory\shell\runas] @=”Take Ownership” “HasLUAShield”=”” “NoWorkingDirectory”=”” “Position”=”middle” [HKEY_CLASSES_ROOT\Directory\shell\runas\command] @=”cmd.exe /c takeown /f \”%1\” /r /d y && icacls \”%1\” /grant administrators:F /t /c /l /q & pause” “IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” /r /d y && icacls \”%1\” /grant administrators:F /t /c /l /q & pause” [-HKEY_CLASSES_ROOT\dllfile\shell\runas] [HKEY_CLASSES_ROOT\dllfile\shell\runas] @=”Take Ownership” “HasLUAShield”=”” “NoWorkingDirectory”=”” “Position”=”middle” [HKEY_CLASSES_ROOT\dllfile\shell\runas\command] @=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F /c /l & pause” “IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” && icacls \”%1\” /grant administrators:F /c /l & pause” [-HKEY_CLASSES_ROOT\Drive\shell\runas] [HKEY_CLASSES_ROOT\Drive\shell\runas] @=”Take Ownership” “HasLUAShield”=”” “NoWorkingDirectory”=”” “Position”=”middle” [HKEY_CLASSES_ROOT\Drive\shell\runas\command] @=”cmd.exe /c takeown /f \”%1\” /r /d y && icacls \”%1\” /grant administrators:F /t /c /l /q & pause” “IsolatedCommand”=”cmd.exe /c takeown /f \”%1\” /r /d y && icacls \”%1\” /grant administrators:F /t /c /l /q & pause” [-HKEY_CLASSES_ROOT\exefile\shell\runas] [HKEY_CLASSES_ROOT\exefile\shell\runas] “HasLUAShield”=”” [HKEY_CLASSES_ROOT\exefile\shell\runas\command] @=”\”%1\” %*” “IsolatedCommand”=”\”%1\” %*”

Step 2: Save the file as Takeownership.reg.

takeownership reg

This will be saved as a registration file. Run it, and the ownership status will be shifted to another user or the admin. 

If you want to revert the changes, follow the steps above, but this time, paste the code below into the text editor and save the file as RemoveTakeOwnership.reg.

Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\*\shell\runas] [-HKEY_CLASSES_ROOT\Directory\shell\runas] [-HKEY_CLASSES_ROOT\dllfile\shell\runas] [-HKEY_CLASSES_ROOT\Drive\shell\runas] [-HKEY_CLASSES_ROOT\exefile\shell\runas] [HKEY_CLASSES_ROOT\exefile\shell\runas] “HasLUAShield”=”” [HKEY_CLASSES_ROOT\exefile\shell\runas\command] @=”\”%1\” %*” “IsolatedCommand”=”\”%1\” %*”

Step 3: Double-click the file script to install the script.

Run a System File Check (SFC)

The System File Checker (SFC) is a powerful tool built into the Windows operating system. It allows users to scan the integrity of all protected system files and replace any corrupted or missing files. This can be useful for resolving various system issues, including the ‘require permission from TrustedInstaller’ error.

Using the SFC, you can ensure that any corrupted system files are replaced, which can help resolve this issue. Additionally, the SFC can help detect and repair any other problems that may be causing the error.

Step 1: Open the Start menu and type cmd.

run as admin cmd

Step 2: Run the command prompt as an administrator.

Step 3: Type sfc /scannow and press enter.

sfc scannow

Step 4: Check for the process to finish, and the SFC will take action if there are any problems with your files.

Run Windows System Restore

The error indicates that the computer is trying to perform an action requiring elevated permissions. Fortunately, running the Windows System Restore utility may help you fix this error.

System Restore is a Windows-built feature that allows you to revert your computer to a previous state, eliminating any corrupt or problematic system files that may be causing the ‘You require permission from TrustedInstaller’ error.

Step 1: Open the Control panel and select Recovery.

recovery option in control panel

Step 2: Click on Open System Restore.

Open System Restore

Step 3: Select Choose a different restore point and click the Next button.

Step 4: Confirm your choice by clicking Finish, then Yes, to begin the recovery.

Final Thoughts on Trustedinstaller Permissions

In conclusion, the “You require permission from TrustedInstaller” error is a security feature designed to protect your system files from unauthorized access and modifications. While dealing with this error, it is essential to proceed with caution, as any unwarranted changes can affect your system’s stability and performance. Through this guide, we’ve provided several methods to safely obtain the permissions, regain access to the files or folders, and perform the desired actions.

Keep in mind that it is always advisable to have a backup of your data before making changes to your system files. Also, make sure to revert ownership to TrustedInstaller after completing your tasks, to maintain the integrity and security of your system.

By following the steps outlined in this article, you can confidently manage your system files, resolve the “You require permission from TrustedInstaller” issues, and maintain your Windows operating system’s security and stability.

Sed Galope
Meet the author

Sedfrey is an experienced writer and editor. He's also a PC hardware and gaming enthusiast. In his spare time, he enjoys reading about the latest innovations in the PC market and finding fixes to hardware and software errors.