To restore the TrustedInstaller ownership in Windows 10, do the following:
- Open File Explorer, and then locate the file or folder you want to take ownership of.
- Right-click the file or folder, click Properties, and then click the Security tab.
- Click the Advanced button. The "Advanced Security Settings" window will appear. Here you need to change the Owner of the key.
Click the Change link next to the "Owner:" label - The Select User or Group window will appear.Type here "NT Service\TrustedInstaller" as the new owner name:
- Click OK to change the ownership and you are done.