Friends

This is default featured post 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Tuesday, November 5, 2013

[Guide] How to Restore “TrustedInstaller” as Default Owner of a File, Folder or Registry Key in Windows?

We all customization lovers know that we need to take ownership of a system file before replacing or modifying the file in Windows. Almost all Windows customization stuff require modification of system files for example, you need to edit Explorer.exe file to customize Start ORB in Windows 7, you need to edit authui.dll file to change login screen, etc. By default, a built-in system account "TrustedInstaller" has ownership and full control of all system files in Windows Vista, Windows 7 and Windows 8, so you need to take ownership and assign full permission to yourself before modifying or replacing the system file.
Taking ownership of a file or folder is very easy. We have provided a ready-made registry script which automatically adds a new option "Take Ownership" in file and folder context menu (right-click menu). So you just need to right-click on a file or folder and select "Take Ownership" option and it automatically makes you the owner of that file/folder and assigns you full permission on that file/folder.
How to Add “Take Ownership” Option to File or Folder Context Menu in Windows
We have also posted a detailed and easy to understand guide which teaches you how to take ownership of a file or folder manually in Windows:
[Guide] How to Take Ownership (Permission) of a File or Folder Manually in Windows?
Now the question comes! Once you have taken ownership of a file and now you want to restore "TrustedInstaller" as default owner of that file, how will you do that? How will you change the owner of a file back to "TrustedInstaller"?
We never realized that someone might need to restore ownership of a file to "TrustedInstaller" until we received following comment from an AskVG reader "KS":
How do I give permissions back to TrustedInstaller, when I changed it, TrustedInstaller wasn't in the list of possible owners anymore??
That was really an interesting point. Once you take ownership of a file or folder in Windows, if you go back to its Properties and try to change the owner back to "TrustedInstaller", you'll be surprised to see that "TrustedInstaller" is no longer present in the users list.
So how to bring back the built-in system user "TrustedInstaller" and set it as default owner of a file or folder? Don't worry! Here is the solution.
Today in this tutorial, we'll tell you how to restore "TrustedInstaller" as default owner of a file or folder in Windows if you changed its owner to yourself?
So without wasting time, lets start the tutorial:
NOTE: The same method will apply to restore "TrustedInstaller" as owner of registry keys in Registry Editor.
1. Go to the folder which contains the file or folder for which you want to restore ownership to "TrustedInstaller". Right-click on the file or folder and select Properties.
2. It'll open its Properties window. Now go to "Security" tab and click on Advanced button.
File_Permissions_Details.png
3. It'll open a new window. Now go to "Owner" tab and you'll see that the owner would be set to your username and "TrustedInstaller" would not be present in the list as we mentioned above.
Don't worry. We'll add it manually. Click on "Edit" button:
Editing_Owner_File_Folder.png
4. It'll open another window. Click on "Other users or groups" button.
Changing_Owner_File_Folder.png
5. Now type NT SERVICE\TrustedInstaller in "Enter the object name to select" text box and click on OK button as shown in following screenshot:
Restoring_TruestedInstaller_as_Owner_File_Folder.png
6. It'll immediately add "TrustedInstaller" to the users list. Click on Apply button.
Setting_TruestedInstaller_as_Owner_File_Folder.png
7. Windows will show a message box, click on OK button to close it. Again click on OK button in all opened windows and you have successfully restored "TrustedInstaller" as default owner of the file or folder.
You can check and confirm the owner by opening the file or folder Properties and you'll see that "TrustedInstaller" has become the owner of that file or folder again.

#
### ###