yadianna 发表于 2015-5-13 09:23:17

[ZT]Windows 7 – How to Delete Files Protected by TrustedInstaller

  Did you know that a lot of files in Windows 7are not owned by you, even if you are the Administrator? They areinstead owned by an entity called the “Trusted Installer”. Such awonderful sounding name eh!
  So that’s not a problem most of thetime, unless you need to delete certain system files and folders. You’llend up getting a message like:
  You do not have permission to perform this action.
  or something like:
  You need authorization from TrustedInstaller in order to perform this action.
  ThanksWindows! So in order to delete a file that is owned byTrustedInstaller, you have to first take ownership of the files orfolders and then grant yourself full control permissions and rights!
  Youhave to do all of that just to be able to rename, delete, or edit thesefiles and folders. In this article, I’ll walk you through the steps inorder to do this.
  First, go to the folder or set of files that you need to change permissions for, right-click on them and choose Properties.
http://s.helpdeskgeek.com/wp-content/pictures/2009/11/windows7trustedinstaller_thumb.png
  Next click on the Security tab and then click on the Advanced button at the bottom:
http://s.helpdeskgeek.com/wp-content/pictures/2009/11/cannotperformaction_thumb.png
  Next click on the Owner tab and you’ll now see that the current owner is TrustedInstaller.
http://s.helpdeskgeek.com/wp-content/pictures/2009/11/trustedinstallerwindows7_thumb.png
  Nowclick on the Edit button and choose who you would like to change theowner to, either your account or the Administrators. If your account isan Administrator account, I would suggest just picking Administrators.
http://s.helpdeskgeek.com/wp-content/pictures/2009/11/changeownerwindows7_thumb.png
  You can also check off Replace owner on subcontainers and objectsif you need to delete more than one file in a folder. Go ahead andclick OK. Now you will see that the Current owner is the account youpicked.
http://s.helpdeskgeek.com/wp-content/pictures/2009/11/cannotdeletefileswindows7_thumb.png
  ClickOK until you have closed all properties windows and are back to theWindows Explorer screen. Then right-click on the folder or file againand choose Properties again.
  Now click on the Security tab again, but instead of clicking on Advanced, you need to click the Edit button.
http://s.helpdeskgeek.com/wp-content/pictures/2009/11/windows7permissions_thumb.png
  Nowclick on the user name in the list that you want to change thepermissions for, which should be the same as who you changed the currentowner too. If the user name is not in the list, click Add, type in thename and click OK.
http://s.helpdeskgeek.com/wp-content/pictures/2009/11/changepersmissionswindows7_thumb.png
  SinceI had changed the current owner to Administrators, I clicked onAdministrators here and then clicked on the check box next to Full Control. When you do that, all the other boxes get checked too.
  ClickOK once and then click OK one more time to get back to WindowsExplorer. Now you can delete those files without any UAC messagestelling you that you can’t! Enjoy!
  

  Trackback:
http://helpdeskgeek.com/windows-7/windows-7-how-to-delete-files-protected-by-trustedinstaller/
页: [1]
查看完整版本: [ZT]Windows 7 – How to Delete Files Protected by TrustedInstaller