Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - TrustedInstaller - Restore as Owner

Comment
 

TrustedInstaller - Restore as Owner

How to Restore TrustedInstaller as Owner of a File in Vista
Published by Brink
06-06-2008

How to Restore TrustedInstaller as Owner of a File in Vista



Information
  This will show you how to restore TrustedInstaller back as the owner for a protected system file, folder, or drive (usually the C: drive) that you have Taken Ownership of with your user account.
NOTE
  There are a few essential protected system resources (system files, folders, and registry keys) that are installed as part of Vista. To help prevent a application and operating system failure, these resources are protected using Windows File Protection (WFP) in such way that applications or users cannot modify these resources by default. The way this protection is implemented is by setting an Access Control List (ACL) on these resources only to allow the TrustedInstaller user to modify them. Not only can a Administrator (elevated or not) account cannot modify them, but neither can the System.
WARNING
 
  • It is best not to Taken Ownership of these protected system resources to prevent them from being changed and less secure. If you do, then be sure to change the Owner of the file back to TrustedInstaller below to secure the file again.
  • Not all files are set with TrustedInstaller as the Owner, so do not change random files ownership to this. If you do, your user account will not be able to modify these files until you have Taken Ownership of them again.
RELATED LINKS:

Here's How:
1. Right click on the file, folder, or drive and click on Properties.
2. Click on the Security tab and click on the Advanced button. (See screenshot below)
step1.jpg
3. Click on the Owner tab and click on the Edit button. (See screenshot below)
NOTE: If the Current owner is listed as TrustedInstaller, then you can stop here. The file's owner is already set as TrustedInstaller.
step2-uac.jpg
4. Click on Continue in the UAC prompt.

5. Click on the Other users or groups button. (See screenshot below)
step3.jpg
6. Type in the object name of NT SERVICE\TrustedInstaller and click on the Check Names button. (See screenshot below)
step4.jpg
7. Click on OK. (See screenshot below)
step5.jpg
8. Click on TrustedInstaller to highlight it. (See screenshot below step 9)
NOTE: If you also wanted to change the owner for all subfolders and files to, then check the Replace owner on subcontainers and objects box. Leave this unchecked for a drive. This option will not be here if you are doing this for a just a file from step 1.

9. Click on OK. (See screenshot below)
step6.jpg
10. Click on OK for the window that just popped up. (See screenshot below)
step7.jpg
11. Click on OK. (See screenshot below)
NOTE: Notice that the Current owner is now TrustedInstaller again.
step8.jpg
12. Click on OK. (See screenshot below)
NOTE: If you had taken ownership of this item, then you may also want to change the permission level back to the default Allow settings first for the account that you took ownership with to prevent changes to this item again.
step9.jpg
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,919
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 07-05-2008  
Feroc1ty


Vista Home Basic 32bit
 
 

Re: TrustedInstaller - Restore as Owner

Hi Brink. Thanks for the guide, got TrustedInstaller back as owner, but now i got another problem. I cant install or uninstall programs. I tried uninstalling norton nd just as it starts uninstalling, it then begins with error reporting, i cant even do updates on norton now. Installed new ATI drivers as well and i cant open the control center anymore.

I ran SFC (thanks for that as well) and it says everything is fine.

What can i do? I cant restore because the point before all this went down isn't in the list anymore, unless there's another way? Would a startup repair actually help, seeing as the SFC scan says all is ok? Or is the only option now a clean install? (I hav a OEM Recovery Install disk)

Thanks
Calvin

My System SpecsSystem Spec
Old 07-05-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: TrustedInstaller - Restore as Owner

Hi Calvin,

Welcome to Vista Forums.

If it is just Norton that you are having problems with, then try the Norton Removal Tool to clean up the remnants.

Download and run the Norton Removal Tool


If that does not help, then you can try doing a Repair install to see if it can fix the problems before having to do a clean install again.

Repair Install For Vista

Hope this helps,
Shawn
My System SpecsSystem Spec
Old 07-22-2008  
Feroc1ty


Vista Home Basic 32bit
 
 

Re: TrustedInstaller - Restore as Owner

Hi Shawn

Thanks for the help. Unfortunately had to do a clean install
Oh well at least everything is running again, no problems yet nd hopefully never will have. Fingers crossed!

And once again thanks for all the tutorials posted on the site. Your help is invaluable!

Regards,
Calvin
My System SpecsSystem Spec
Old 07-22-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: TrustedInstaller - Restore as Owner

Sorry to hear you had to do a clean install Calvin, but I'm happy everything is running smooth for you now.

Shawn
My System SpecsSystem Spec
Old 08-22-2008  
sbw07


Vista Home Premium 32bit
 
 

Re: TrustedInstaller - Restore as Owner

Hi, I added a context menu item for folders to "open command window here (administrator). Somehow it the command got replaced with a take ownership command. I realized this when I right-clicked on the System32 folder in C:\Windows and selected the admin command button but a command window opened up and started taking ownership of the folder and all its contents. I stopped it as soon as I realized what was happening but now I don't know which files were under which ownership originally.

Is it safe to simply make TrustedInstaller the owner of System32 and all its subcontainers and objects?
My System SpecsSystem Spec
Old 08-22-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: TrustedInstaller - Restore as Owner

Hi sbw07,

Most of everything in and including the System32 folder has TrustedInstaller as the owner. There are a few a items that should be owned by System and your administrator account instead, but there is just to many items to go through them all. You should be ok setting everything to TrustedInstaller though since the permission levels will still allow the others access.

Hope this helps,
Shawn
My System SpecsSystem Spec
Old 08-26-2008  
sbw07


Vista Home Premium 32bit
 
 

Re: TrustedInstaller - Restore as Owner

Thanks,
If there are any files that belong under different ownership that are particularly important, that you can list offhand, I would be very grateful.
My System SpecsSystem Spec
Old 08-27-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: TrustedInstaller - Restore as Owner

Your welcome, but I do not have any offhand. There were just too many files in that folder. You should be fine though since the permission levels will still be there for the other owners for access.
My System SpecsSystem Spec
Old 06-26-2009  
naiem08


Vista Home Premium 32bit
 
 

Unhappy Re: TrustedInstaller - Restore as Owner

Please help me...
Actually, I have changed imageres.dll to imageres.old and now I want to change back to imageres.dll but I can't do that because when I clicked at "edit" under Owner tab, the message displayed "Can't open access control editor.(null)".

So,i hope that you can solve my problem immediately because after I change imageres.dll to imageres.old my control panel and my personalized cannot be opened.
I changed that thing coz I want turn to the new theme but eventually this happened to me.
(sorry for my bad English)
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
How do I change the owner in C:/user/owner General Discussion
Solved TrustedInstaller.exe General Discussion
Change all references held by previous owner/administrator to new owner System Security
WMP 11 and trustedinstaller.exe Vista music pictures video
TrustedInstaller Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46