The Computer Oracle

How to delete trustedinstaller files on Windows 8

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Island

--

Chapters
00:00 How To Delete Trustedinstaller Files On Windows 8
00:19 Answer 1 Score 22
00:48 Accepted Answer Score 21
01:41 Answer 3 Score 4
02:08 Answer 4 Score 0
03:20 Thank you

--

Full question
https://superuser.com/questions/497095/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows8

#avk47



ANSWER 1

Score 22


http://cdn3.howtogeek.com/wp-content/uploads/TakeOwnership.zip

This requires a TakeOwnership registry hack. The files are in the link above.

In order to install the hack just execute the InstallTakeOwnership.reg file. Then restart the explorer.exe process. (You can do this in Task Manager) Now when you right click a file you should see an option to "Take Ownership".

Here is what it should look similar to:

enter image description here




ACCEPTED ANSWER

Score 21


You need to take the ownership of this folder and recursive files:

Many times you need to take ownership of a file or folder in Windows. For example, when you want to customize Windows UI and need to replace existing system files with a new one. You have to follow no. of steps to take ownership and grant yourself full permission to access the file or folder. But now you can do it in a single step.

Basically, follow these steps:

  1. Enter into the folder properties:

enter image description here

  1. Go to "Security" and edit (with the Advanced button) the "CREATOR OWNER" owner to your user:

enter image description here enter image description here enter image description here enter image description here

Here you can also find a how-to video.




ANSWER 3

Score 4


TrustedInstaller is the built-in user account which Windows uses to install updates and Windows App.

The folder you're trying to open is owner by TrustedInstaller and no one else has read access. Being Administrator, you can change the permissions but only after you make yourself the owner.

If you're sure, you can become the owner and then delete the folder.




ANSWER 4

Score 0


There are files that you cannot delete even if you have the TrustedInstaller rights (obtained via Joakim's RunAsTI console). Even as administrator you cannot set the owner of some directories and files.
With trurstedInstaller rights you can however move the directory around. But that too not to another drive.
The only way to nuke the directory is to move it within a folder that will later be deleted by TrustedInstaller.

WindowsApps is the right contender for this. When you delete the app the corresponding directory is also deleted by TrustedInstaller.

  1. Start a console with TrustedInstaller rights (you can user Joakim's RunAsTI
  2. Copy the directory name of the app you are about to delete. Begin installing an app if required from Windows store in order to create the directory if required. Then pause the download.
  3. Create a parent directory at the root of the drive. X:\<app_directory_name>
  4. Move the rogue directory to delete into this X:\<app_directory_name> directory
  5. Move the original also to the X:\<app_directory_name>
  6. Now move the X:\<app_directory_name> into the WindowsApps directory.
  7. Finally delete the app (cancel if download was midway) to nuke them all