Fix: You require permission from TrustedInstaller [Delete/Change]

Have you ever faced the “action cannot be performed” issue on your computer? We published an article on how to fix it a while ago. There’s another similar issue, where you see the “You require permission from TrustedInstaller to make changes to the files”.

This can happen even when you try to make changes as the system’s administrator. If you wish to know how to fix this error message, that can appear even after all the necessary requirements are fulfilled, check this article out. 

What Is The TrustedInstaller?

The TrustedInstaller is a Windows Resource Protection component that owns a set of files on the Operating System (OS) and protects the cores of the computer processor. On Windows computers, the TrustedInstaller is, generally, in the form of a built-in administrator account, that owns core windows files of formats like .dll, .exe, .sys, and .ocs.

Without the permission of the TrustedInstaller, it is impossible to access core system files. Despite many users wondering about the nature of the TrustedInstaller Windows tool, it is a legitimate process. 

Why Does The “You Require Permission From TrustedInstaller” Error Message Show Up?

The main reason behind you seeing the TrustedInstaller error message is that you are trying to make changes to or delete the file that is under the ownership of the TrustedInstaller account. If you really need to delete some files that are protected by this account, you cannot do it as long as the file is in control of the TrustedInstaller. 

If you try to move the file or delete it, you will see a message like this:

You do not have permission to perform this action.

or

You need authorization from TrustedInstaller in order to perform this action.

This could also be caused by malware or virus files that are disguised as Windows processes, installer services, or important system files, in order to gain unauthorized access into protected Windows directories to get important files or folders. 

See also  Top 7 Fixes For Browser Changes to Yahoo

Fixing The “You Require Permission From TrustedInstaller” Error Message

The only way to get rid of this error message is to shift the ownership of all the TrustedInstaller files to the admin or the user that wants to modify these files. There are only three ways to do this on your Windows PC and they are stated below – 

  1. Transferring Ownership For Files Through The File Explorer’s Advanced Special Permission
  2. Using The Command Prompt Tool To Change Permissions
  3. Writing A Script To Take Control Over The File

Methods To Transfer Ownership And Permissions For Removing The “You Require Permission From TrustedInstaller” Error Message

Once you use these methods to remove the TrustedInstaller permissions for the files, try changing or deleting the protected files to see if it had helped. We will be trying to grant full control permissions to files and folders associated with the file explorer. 

Transferring Ownership For Files Through The File Explorer’s Advanced Special Permissions

Since the system files and the Windows File Explorer collaborate for a lot of functions, you can use this feature to move the ownership and full control of certain system files to another user. 

Use the below-stated steps through the file explorer properties window. 

  1. Open the File Explorer window (Windows + E) and navigate to the file or folder directory you want folder access to. 
You Require Permission From TrustedInstaller
  1. Select the Properties option in the right-click context menu.
Properties option in the file context menu
  1. In the Properties window, Go into the Security tab and click Advanced, below the Permissions for SYSTEM list. 
Advanced option in the Properties' Security tab
  1. This will make the Advanced Security Settings window appear on your screen. 
  2. On the Owner section, select the Change link.
Change option in the Advanced Security Settings window

The name in this section is the person or Windows Resource Protection account that owns these system tiles. 

  1. This will open the Select User or Group window, enter the name of the new file owner and click on the Check Names button.
Select User or Group window with username text box

This will make the OS automatically check the user name.

  1. After the user name check is complete, press OK and your new owner for the file/folder will be saved.
Advanced Security Settings window
  1. Return to the Advanced Security Settings window and check the Replace owner on sub containers and objects checkbox. This will enable you to delete multiple files in the window.
  2. Select Apply and then, OK to save these changes. 
  3. Go back to the folder properties window and then, again, click on the Advanced button in the Security tab. 
  4. In the Permissions tab, select the Add button. 
Add button in the Permissions tab
  1. At the top of the Permission Entry window, click on the Select a principal link.
Select a principal link in the Permission Entry window
  1. Then, again, go into the Security tab, and click on the Advanced button.
  2. Press the Find Now button, choose the built-in user account, that you chose earlier, and click on the OK button.
  3. In the Permissions entry window, check all the options in the Basic permissions section. 
Advanced permissions section in the Permissions entry window
  1. When you check the Only apply these permissions to objects and/or containers within this container check box, you might see a prompt, where you have to select Yes. If you see the Replace all child object permission entries… checkbox, enable it.  
  2. Select Apply and OK to these changes. 
  3. Click on the OK button in the folder properties window to close it. 
See also  12 Fixes For Computer Volume Low In Windows

When you finish all these steps, you will be able to change, delete or rename files protected once by the TrustedInstaller. 

Using The Command Prompt Tool To Change Permissions

Command Prompt is a very powerful tool that can be used to access every part of the computer and even make changes in the system’s configurations. We can use this tool to run some commands that will help transfer the ownership of the files you wish to modify or delete while it is under the possession of the TrustedInstaller. 

This is what you have to do.

  1. Launch the Command Prompt window as the system administrator. You will just have to search for this tool and click on the Run as Administrator option. This will launch the Admin: Command Prompt window. 
  2. Type-in and execute the following commands, one at a time – 
takeown /f “C:\Windows” /R /D Y
Ownership Takedown command in the Command Prompt tool
takeown /f “C:\Windows\ regedit.exe
Ownership transfer command for the Registry Editor

Hit the Enter key to execute these commands.

Once these commands are run, you will be able to notice that the file is no longer owned by TrustedInstalled, as you will have taken control over the Windows folder in C: drive.

Windows folder in the C: drive

Writing A Script To Take Control Over The File

This is a very simple task. You just have to place the below script into the Windows Registry Editor. 

Boot up your PC as a system admin and Open a Notepad file. Now, copy-paste the following script in it. 



Windows Registry Editor Version 5.00
[-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\" %*"

Save this file as the takeownership.reg.

See also  9 Fixes For Hardware Device Is Not Connected (Code 45) Error
Takeownership.reg notepad window

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

These are the methods that you can use to change the ownership of the files to another person and fix the “You require permission from TrustedInstaller” error message. You can also use third-party apps for this. We hope you were able to access protected files after this.

FAQs

How Do I Get Permission From TrustedInstaller?

There is no way for Windows users to gain permission from the TrustedInstaller as this tool is protecting important system files from viruses. Your only choice is to replace another user or the admin, as the file owner, so that you can access it and make changes to it. 

How Do I Get Permission From TrustedInstaller In Windows 10?

To get ownership from the TrustedInstaller on your Windows 10 computer, you can use the command prompt, file explorer window’s properties, and a script that can be converted into a reg file for the ownership of the files in the file explorer. 

What Is TrustedInstaller Permission Windows 10?

The TrustedInstaller is a Windows Resource Protection component that owns a set of files on the Operating System (OS) and protects the cores of the computer processor.

How Do I Remove TrustedInstaller?

 There are only three ways to remove ownership from the TrustedInstaller on your Windows PC and they are as follows – 
File explorer’s advanced special permission
Command Prompt command for changing ownership of Windows filter
Take ownership registration file for the Registry editor