You require permission from TrustedInstaller to make changes to this folder

Real Ouimet 40 Reputation points
2025-12-14T07:05:26.1533333+00:00

I am trying to delete a Win 11 system folder:C:\Program Files (x86)>Common Files>System>msadc

I get the message:

"You require permission from TrustedInstaller to make changes to this folder"

I need to take Ownership of Files & Folders in question, but cannot get the right information on how to do it so as administrator, I can make changes to the folder in question.

Can someone please help me?


Moved from: Sysinternals

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

Answer accepted by question author
Francisco Montilla 30,715 Reputation points Independent Advisor
2025-12-14T18:35:28.1466667+00:00

Hello,

First make sure you truly do not need msadc for any legacy app. Then create a restore point if you want a safety net. Now do the change.

Open Start, type cmd, right click Command Prompt and choose Run as administrator.

Take ownership of the folder and its contents. This assigns ownership to the local Administrators group so you can proceed:

takeown /F "C:\Program Files (x86)\Common Files\System\msadc" /A /R /D Y

Grant yourself full control. Using your signed in account avoids localized group name issues:

icacls "C:\Program Files (x86)\Common Files\System\msadc" /grant "%USERDOMAIN%\%USERNAME%":F /T

Delete or modify the folder as needed. To remove it completely use:

rmdir /S /Q "C:\Program Files (x86)\Common Files\System\msadc"

If you only needed to edit files and will keep the folder, consider restoring the original owner so future servicing works as designed.

icacls "C:\Program Files (x86)\Common Files\System\msadc" /setowner "NT SERVICE\TrustedInstaller" /T

If you still see Access is denied, reboot to Safe Mode, repeat the same commands, then boot back to normal mode.

Was this answer helpful?

6 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AI answer

    2025-12-14T07:05:35.6966667+00:00

    To take ownership of the folder and make changes, you can follow these steps:

    1. Open Command Prompt as Administrator:
      • Search for "cmd" in the Start menu, right-click on Command Prompt, and select "Run as administrator".
    2. Take Ownership of the Folder:
      • Use the following command to take ownership of the folder:
             takeown /F "C:\Program Files (x86)\Common Files\System\msadc" /A
        
      • This command will grant ownership to the Administrators group.
    3. Grant Full Control Permissions:
      • After taking ownership, you can grant yourself full control permissions with the following command:
             icacls "C:\Program Files (x86)\Common Files\System\msadc" /grant administrators:F
        
      • This command gives full access to the Administrators group.
    4. Delete the Folder:
      • Now you should be able to delete the folder using File Explorer or by using the command:
             rmdir /S /Q "C:\Program Files (x86)\Common Files\System\msadc"
        

    If you encounter any issues with non-canonical ACLs, consider using the Subinacl utility to change ownership and permissions on the folder as described in the context.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    5 people found this answer helpful.