When you tried to open some files in your system like .dll, .exe, .ocx and .sys due to some technical error you might receive a pop-up error message stating
You do not have permission to perform this action.
or something like this
You need authorization from TrustedInstaller in order to perform this action.
So in such cases, the access is denied and “You require permission from Trustedinstaller” to open the files. Now in this, you need to change the ownership of the file. In this tutorial, we will enlighten some easy to do steps to delete files protected by trustedInstaller.
What is TrustedInstaller
TrustedInstaller is the built-in user account which plays a major role in Windows resource protection (WRP) technology implemented by Microsoft to protect the core of the computer. You require permission from TrustedInstaller to open or delete a variety of system files like .dll, .exe, .ocx and .sys as they are protected by the owner which is TrustedInstaller. In order to do the necessary changes, one has to take the ownership of the files.
How to take the ownership of the files
- Using CMD
- Using Windows Explorer
- By editing file permission
1. Taking the ownership of the files using CMD
- In order to take the ownership of the files Open a Command Prompt as an Administrator by searching Command Prompt in the Start Menu and right click on it to Run it as Administrator.
- In the Command Prompt window type ‘takeown /f “C:\Windows” /R /D Y’ and hit Enter to take the ownership of the Windows folder.
- To take the ownership of regedit executable type ‘takeown /f “C:\Windows\ regedit.exe’ and hit Enter.
- Performing these steps will help in acquiring the ownership of the files.
2. Taking the ownership of the files using Windows Explorer
- Navigate to the folder or file you would like to take the ownership of and right click on it to select properties from the menu.
- Click on the Security tab shown in the Properties window.
- To get permission to do the necessary changes click on the Advanced button.
- In the Advanced Setting window, Current owner of the file is displayed in the second line to take the ownership click on the Change button.
- Type the new owner name in the “Enter the object name to select” and click on Check Names button to validate the owner name. Click OK to save the changes.
3. By Editing file permission
- Navigate to the file and right click on it to select the properties.
Under properties, window select Security tab.
In Security tab click on Edit button to have the access to edit file permission.
Edit the changes by selecting Full control and click on the OK button to perform any action on the file.
Hope this might helped in getting permission from trustedInstaller to make changes to files.
Following these steps will help you in acquiring permission from trustedInstaller. Please like, share and follow us on our social media portals. To stay tuned with us and get some easy troubleshooting solutions to fix your system error visit here.