How to Fix the TrustedInstaller Error Using Command Prompt

Open an elevated Command Prompt.

EnterTAKEOWN /Fand then bang out the file or folder name.

Here’s an example:

PressEnterto take control of the file.

The Run As Administrator option for the Windows 10 Command Prompt

You’ll see a success message if the command executed correctly.

double-check you are logged in as an administrator.

Locate the item you need permission to change and then right-click it and chooseProperties.

The TAKEOWN /F command in Windows 10 Command Prompt

Go toSecurity>Advanced, then selectChangenext toOwner: TrustedInstaller.

pop in your username into the text box and then chooseCheck Names>OK.

Check the box next toReplace owner on subcontainers and objects.

icacls command executed in Windows 10 Command Prompt

SelectOKat the bottom and thenOKon the Properties window you opened in Step 1.

OpenProperties>Security>Advancedonce more.

This time, selectAdd.

The context menu for a Windows 10 folder

ChooseSelect a principaland then punch in your username in the box.

PressCheck Names>OK.

Check the box next toFull control, then selectOK.

The Properties and Advanced Security Settings options for a Windows 10 folder

Check the box next toReplace all child object permission entries with inheritable permission entries from this object.

SelectOKon the Advanced Security configs window and thenYeson the confirmation prompts.

Why Do I Need Permission From TrustedInstaller?

The Windows 10 Check Names box with a user account listed

All Windows 10 PCs have an in-built Microsoft account known as the TrustedInstaller.

The replace owner on subcontainers and objects checkbox in Windows 10

The Advanced Security Settings for a Windows 10 folder

A user account listed in the Select User or Group box for a Windows 10 folder

The Full Control permission selected for a folder in Windows 10

The checkbox called Replace all child object permission entries in Windows 10