Windows trusted installer denying access to files

Anonymous
2009-12-25T06:12:45+00:00

I have a home-built computer running Windows 7 pro 64bit.  I own the computer in every way, I use it as a personal computer.  In the process of of installing windows 7 I used the Windows easy transfer wizard to transfer all of my files over to an external hard drive.  When I had finished installing Windows 7 is used the Windows Easy Transfer Wizard to transfer my files back to the computer.  In the process it transfered my old program files which I don't need any more to the computer.  I tried to delete them as they were taking up space on the computer's hard drive and was subsequently told that I didn't have the authorization to delete them and that I would need to get permission from windows trusted installer.  As mentioned at the top of this post I own this computer, it's sitting in my bedroom.  My question is "what do I have to do to change the permissions"? I tried changing them through the properties of the afore mentioned program files but all options necessary to change them were grayed out, making me unable to select them.  Why am I unable to change settings on my own computer when run as the administrator?

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2010-09-23T09:09:33+00:00

It's funny that I spent all that time to write a guide on getting past the permissions and posted it in another thread on the subject but I didn't post it in my own thread.  Well, here it is:

"Also, here is my step by step process for reclaiming the right to delete and move files.  Note: DO NOT change the permissions of the Windows folder using the following method.  Should you need permissions to edit files in the Windows folder, change them individually.  Windows Backup can be irreparably (as far as I know) broken by such a change.  LEAVE THE WINDOWS FOLDER ALONE UNLESS YOU KNOW EXACTLY WHAT FILE YOU NEED ACCESS TO.

  1. Click the start menu and open Computer.

2)Click on the drive that contains the file you are trying to move/delete.

3)Right click on the folder that contains the file you are trying to move/delete. Select Properties.

4)Click on the Security tab.

5)Under the box containing the permissions each entity has, click on Advanced.

6)In the new Advanced Security Settings window, click on the Owner tab.

7)In the owner tab, click on the Edit button.

8)In the new window, you should see "Current Owner:" over a box with (most likely) trusted installer in it.  Under that you should see "Change Owner to:" followed by a short list of possible owners. 

8a)If you see your username (listed as [Name] (My-PC[Name])), then click on it and check the box below the Other users which says "Replace owner on subcontainers and objects".

8b)If you do not see your username, click on the "Other users" button. From there, enter your username into the space provided and click Check names. The username you typed should then get underlined and expanded.  Then click Ok. From there follow step 8a.

9)Click Apply.

  1. Now close all windows opened from the properties window and close the properties window.  Reopen it, and under the box entitled "Group or user names," Click Edit.

11)If you do not see your username, as chances are you won't, click add.  In the add window, type your username into the given space and click the Check names button. Your username should become underlined and expanded to include the computer name.  Then click OK. (I typically just click OK but if for some reason it doesn't work for you, at least you will know at what step you were tripped up.)

12)Upon clicking OK, the Select User or Groups window will close and you should see you username has joined the other names in the Group or User names box. Click it, and then check the "Full Control" check box lower down.  This will grant you complete permissions for everything except "Special Permissions".  This is normal, and so far I have not found a way to check that checkbox but it hasn't presented itself as a problem yet so I wouldn't worry about it.

13)Click Apply. You should see a window pop up saying "Changing Permissions" and file locations rapidly going by. This is normal and it means that the folder, subfolders, and files are having their permissions changed. 

Alternatively, after closing and reopening the properties of the folder you want to change, you can click on the Advanced button again and then the Change Permissions button and follow similar steps once there.  This also allows you to create inheritable permissions. That is a whole new can of worms that I don't understand, so I just leave the checkboxes blank.

AGAIN, DO NOT CHANGE THE PERMISSIONS OF THE WINDOWS FOLDER. THIS COULD CAUSE A WHOLE HOST OF NEW PROBLEMS, ONE OF THEM BEING BROKEN WINDOWS BACKUP.

Oh, and if you want, you can completely remove Trusted Installer from the permissions.  I can't say what the benefit is, but it's satisfying.

I hope this helps some of you."

Was this answer helpful?

80+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2009-12-26T03:02:31+00:00

Hello

Welcome to Microsoft answers

I would suggest you to modify the permission settings on the folder or the hard drive on which you are unable to create or modify or delete files.

Follow the below Steps:

  1. Right click on the file or directory.
  2. Click on “Properties” on the right click menu.
  3. Click on “Security” tab.
  4. Click on “Advanced” button at the bottom.
  5. In Advanced Security Dialog window, click on “Owner” tab.
  6. Here you will be able to see current owner (i.e. Trusted Installer).
  7. To take ownership of the object, click on the Edit button. Give permission to UAC. Then highlight the user name in the “Change owner to” box that you want to assign as the owner for the object. Click “OK” to finish the process.
  8. Back in Advanced Security Settings window, you will see the current owner has changed to the user you just selected.
  9. Click “OK” button to exit this window.
  10. Click “OK” again to exit completely from the Properties window.
  11. Repeat step 1 to 4 to open the object’s Properties window again.
  12. Back in object’s Properties window, click on Edit button, and confirm the UAC elevation request.
  13. Highlight the Administrators in the “Group or user names” box. If the user ID or group that you want to manage the permissions for the object doesn’t exist, click on “Add” button, and type in the user name or group name desired into the “Enter object names to select (Can use Everyone as user Name)” box, and finish off by clicking on “OK”.
  14. In the Permissions for Administrators box below (or any other user name or group name you chose), click on “Full Control” under the “Allow” column to assign full access rights control permissions to Administrators group.

Also refer this link

http://windows.microsoft.com/en-us/windows-vista/Troubleshoot-access-denied-when-opening-files-or-folders

Hope it helps

Thanks and regards

Dinesh-Microsoft Support

Visit our Microsoft Answers Feedback Forum and let us know what you think

http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/

Was this answer helpful?

40+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2010-01-24T04:49:08+00:00

This is a fix that I found online at "http://www.howtogeek.com/howto/windows-vista/how-to-delete-a-system-file-in-windows-vista/". 

"If you need to delete or overwrite a system file in Windows 7 or Vista, you’ll quickly notice that you cannot delete system files, even as administrator. This is because Windows system files are owned by the TrustedInstaller service by default, and Windows File Protection will keep them from being overwritten.

Thankfully, there’s a way that you can get around this. You need to take ownership of the files, and then assign yourself rights to delete or modify the file. For this, we’ll use the command line.

Open an administrator command prompt by typing cmd into the start menu search box, and hit the Ctrl+Shift+Enter key combination.

To take ownership of the file, you’ll need to use the takeown command. Here’s an example:

takeown /f C:\Windows\System32\en-US\winload.exe.mui

That will give you ownership of the file, but you still have no rights to delete it. Now you can run the cacls command to give yourself full control rights to the file:

cacls C:\Windows\System32\en-US\winload.exe.mui /G geek:F

Note that my username is geek, so you will substitute your username there.

At this point, you should be able to delete the file. If you still can’t do so, you may need to reboot into Safe Mode and try it again. For the filename in the example, I was able to overwrite it without safe mode, but your mileage may vary."

Hope that helps,

Sean

Was this answer helpful?

6 people found this answer helpful.
0 comments No comments

90 additional answers

Sort by: Oldest
  1. Anonymous
    2010-09-23T00:20:56+00:00

    Thanks to all of the above.  I have been fighting permissions forr the moment I installed

    Win 7. Why MS assumes we are all part of a large corp that needs all that protetion, escapes me.

    I have read the manual (and inherited premissions), looked at help, and have done many of the things outlined above.

    Nothing worked.  But now I can see the errors I made, the nuanced steps not taken, etc., and finally taken ownership of the machine that I thought I owned when i left the store.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-09-23T09:14:28+00:00

    It's funny that I spent all that time to write a guide on getting past the permissions and posted it in another thread on the subject but I didn't post it in my own thread.  Well, here it is:

     

    "Also, here is my step by step process for reclaiming the right to delete and move files.  Note: DO NOT change the permissions of the Windows folder using the following method.  Should you need permissions to edit files in the Windows folder, change them individually.  Windows Backup can be irreparably (as far as I know) broken by such a change.  LEAVE THE WINDOWS FOLDER ALONE UNLESS YOU KNOW EXACTLY WHAT FILE YOU NEED ACCESS TO.

     

    1. Click the start menu and open Computer.

     

    2)Click on the drive that contains the file you are trying to move/delete.

     

    3)Right click on the folder that contains the file you are trying to move/delete. Select Properties.

     

    4)Click on the Security tab.

     

    5)Under the box containing the permissions each entity has, click on Advanced.

     

    6)In the new Advanced Security Settings window, click on the Owner tab.

     

    7)In the owner tab, click on the Edit button.

     

    8)In the new window, you should see "Current Owner:" over a box with (most likely) trusted installer in it.  Under that you should see "Change Owner to:" followed by a short list of possible owners. 

     

    8a)If you see your username (listed as [Name] (My-PC[Name])), then click on it and check the box below the Other users which says "Replace owner on subcontainers and objects".

     

    8b)If you do not see your username, click on the "Other users" button. From there, enter your username into the space provided and click Check names. The username you typed should then get underlined and expanded.  Then click Ok. From there follow step 8a.

     

    9)Click Apply.

     

    1. Now close all windows opened from the properties window and close the properties window.  Reopen it, and under the box entitled "Group or user names," Click Edit.

     

    11)If you do not see your username, as chances are you won't, click add.  In the add window, type your username into the given space and click the Check names button. Your username should become underlined and expanded to include the computer name.  Then click OK. (I typically just click OK but if for some reason it doesn't work for you, at least you will know at what step you were tripped up.)

     

    12)Upon clicking OK, the Select User or Groups window will close and you should see you username has joined the other names in the Group or User names box. Click it, and then check the "Full Control" check box lower down.  This will grant you complete permissions for everything except "Special Permissions".  This is normal, and so far I have not found a way to check that checkbox but it hasn't presented itself as a problem yet so I wouldn't worry about it.

     

    13)Click Apply. You should see a window pop up saying "Changing Permissions" and file locations rapidly going by. This is normal and it means that the folder, subfolders, and files are having their permissions changed. 

     

    Alternatively, after closing and reopening the properties of the folder you want to change, you can click on the Advanced button again and then the Change Permissions button and follow similar steps once there.  This also allows you to create inheritable permissions. That is a whole new can of worms that I don't understand, so I just leave the checkboxes blank.

    AGAIN, DO NOT CHANGE THE PERMISSIONS OF THE WINDOWS FOLDER. THIS COULD CAUSE A WHOLE HOST OF NEW PROBLEMS, ONE OF THEM BEING BROKEN WINDOWS BACKUP.

     

    Oh, and if you want, you can completely remove Trusted Installer from the permissions.  I can't say what the benefit is, but it's satisfying.

     

    I hope this helps some of you."

    Also, upon further research I have come to understand that inheritable permissions are granted from a folder to all subfolders and files including files that are entered after the permissions change.  Like I said though, I haven't experienced a problem so if you don't feel like messing with it then don't, it shouldn't make a difference.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments