A copious amount of people owns Windows 10 by having a genuine or a valid key in order to receive Windows update from Microsoft rather than a pirated copy. So does this means that you have full access to your Windows 10 operating system just because you are the administrator? No, have you ever tried to delete some files and encountered an Access Denied issue? Which accompanies an error message as “You need permission from TrustInstaller”. These files are owned by an entity known as “Trust Installer”, and encounter when you attempt to delete core files of the Windows 10 operating system.
By the end of this article, you will be able to take ownership so that you can delete the files protected by the Trust Installer.
What is TrustInstaller? And why does it encounter error while deleting files?
Basically, TrustInstaller.exe is one of the operations of the Windows Module Installer service. It has the responsibility to look for the Windows operating system installations, removal, and modifications are done related to the operating system components.
Machines that are currently running Windows 10 operating system have a built-in Microsoft account which is also known as NT SERVICE/TrustInstaller. The main motive of the account is to prevent damage to the core files which are required by the operating system in order to work properly. When you try to delete core component files of the Windows 10 operating system, the TrustInstaller just throws an error.
But you can be able to take ownership of the files so that you can be able to grant permission in order to delete the files which are unable to do so due to TrustInstaller.
Deleting the core files which keep Windows 10 running can lead operating system not working. It is advised to do this method only for eliminating malware and viruses which have swooped into the Windows directories.
Grant the ownership of files
Here, just follow the steps mentioned below to take ownership of files.
Step 1: Visit the folder that you want to change the ownership.
Step 2: Do a right-click on the folder and select Properties.
Step 3: Select the Security tab from the upper tab menu, and click on Advanced.
Step 4: In the next window, select the Owner tab from the upper tab menu.
Step 5: You will get to see the Current Owner, click on the Change button (may represent as Edit button in Windows 7 and 8). Now just select who wants to make the owner, you can select Administrator as it is highly suggested by clicking on Other users or groups.
Step 6: A window will pop up, just enter the user name that you are using on the system into the box and click on the Check Names button.
Step 7: Just tick the box that says Replace owner on sub containers and objects (only when you want to change the ownership of all the subfolders and files). And press OK.
Step 8: Head back again to the properties and select Advanced. Select the Permission tab from the upper tab menu and click on Change permissions.
Step 9: Click on Add button > click on Select a principal option on the Permission Entry window.
Step 10: Under Basic permissions, tick Fill control and hit OK.
Step 11: Now, tick the box that says Replace all child object permission entries with inheritable permission entries from this object, click on OK.
Now you can be able to delete the file or folder that was addressing the “You need permission from TrustInstaller” error issue.
Take the ownership using Command Prompt
This method is applicable only when you are using Windows 10 as an administrator and not as another user account.
Step 1: Do a right-click on the Start menu and select Command Prompt (Admin).
Step 2: Now enter the following command:
Here, you have to replace F with the file name and path, don’t use any parenthesis.
Once done, you shall receive the notification as Success: The file or folder: “filename” now owned by user “Computer Name/User Name”
That’s it for now, hope this helps! Let us know your thoughts in the comment section below. Till then stay tuned for more info.