Last Updated:
Folder Access Denied You Require Permission From TrustedInstaller to Make Changes to This Folder (Solved)

How to Fix “You Require Permission From TrustedInstaller to Make Changes to This Folder”

Dmitry Bashlak Windows

When you attempt to delete or rename certain system folders in Windows 11 and Windows 10, you may encounter a "Folder Access Denied" message indicating that you require permission to carry out the action. The following step-by-step guide specifies two methods for deleting or modifying such folders and the files within them.

Warning: Windows system folders that require TrustedInstaller's permission for actions can cause operating system malfunctions if removed or renamed. Therefore, make sure that you correctly identify the folders or files you intend to modify or delete.

Table of Contents

Take Ownership and Assign Permissions Using GUI

You require permission from TrustedInstaller message when deleting a folder

First option to delete the folder that make the “You require permission from TrustedInstaller to make changes to this folder” message appear, is to adjust folder’s security settings via Windows 10 or Windows 11 GUI. Here is how:

  1. Right-click the folder and select “Properties” from context menu.
  2. On “Security” tab click “Advanced” button.
    Open Advanced security settings in folder's properties
  3. Click “Change” link in the “Owner” section. You need to be an Administrator to perform this action.
    Change folder owner
  4. Type your username (or your E-mail if you’re using Microsoft account) in the “Enter the object name to select” area, click “Check Names” and if the username typed changed to Computer name / Username, click Ok button.
    Enter new folder owner username
  5. Check “Replace owner on subcontainers and objects” option and click Ok.
    Replace owner on subcontainers and objects
  6. Confirmation dialog may appear. Confirm the action, click “Ok” in folder’s security properties, then open the security properties window again. Yes, we need to close it with Ok and then reopen for the next steps to run smoothly.
  7. Next, we have 2 options. If there’s “Administrators”, “Users” or your specific username in the “Group or user names” list, click “Edit” button below the list.
    Edit folder permissions using security settings
  8. Select any of the above-mentioned groups or user names (Administrators, preferably), allow full control, and click “Ok”. Confirm changing the permissions settings, then click “Ok” in folder properties window and try making the changes you were about to do before the “You require permission from TrustedInstaller” message.
    Grant Administrators group full control permissions
  9. If steps 7-5 it didn’t work or not applicable, open “Security” tab in folder’s properties once again and click “Advanced” button.
  10. Click “Change permissions” button below the permission entries list then click “Add”.
    Add new permission entry in folder advanced security settings
  11. Click “Select a principal” and make the same actions we did in step 4 to add your username.
    Select a principal for new permission entry
  12. Set “Full control” basic permissions and click “Ok”.
    Grant full control for user
  13. Check “Replace all child object permission entries with inheritable permission entries from this object” and confirm changes by clicking Ok button.
    Replace all child object permission entries with inheritable permission entries from this object
  14. Confirm replacing explicitly defined permissions and you’re done.

Not as straightforward as you might hope it to be, but it works and now you have full control over the folder.

Use Command Prompt to Gain Access to the TrustedInstaller Protected Folder

Second method to fix “You require permission from TrustedInstaller to make changes to this folder” is to gain full access to folder and its contents using the Command Prompt:

  1. Type “cmd” in Windows search, right-click the result and select “Run as administrator”.
  2. In the Command Prompt type the following command, changing FOLDER_PATH to actual full path to the folder you need gain access to
    takeown /F FOLDER_PATH\* /R /A
    If the folder name contains spaces, you should use quotes like in this example: takeown /F "C:\Folder With Spaces\*" /R /A
    Change folder owner using Command Prompt
  3. The above command will set Administrators group as the owner of the folder. Next step is to grant access to it to the same group using the next command:
    icacls FOLDER_PATH\*.* /T /grant Administrators:F
  4. Now you’re in full control of the folder. To delete it you can use the
    rmdir /S /Q FOLDER_PATH
    command. Using the Windows Explorer is also possible to make changes to the folder.
    Delete folder that requires permission from TrustedInstaller using Command Prompt

As you can see, it is possible to delete or otherwise change system folders but I cannot recommend most users to do this.

Comments