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.

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.

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.

SelectOKat the bottom and thenOKon the Properties window you opened in Step 1.
OpenProperties>Security>Advancedonce more.
This time, selectAdd.

ChooseSelect a principaland then punch in your username in the box.
PressCheck Names>OK.
Check the box next toFull control, then selectOK.

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?

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




