In Windows 7, there is such a problem as the inability to delete system files, programs, folders. Many are interested in how it can be circumvented.
1
When you try to delete files, the system issues a message that their owner is "TrustedInstaller". Therefore, in order to be able to delete an unnecessary file, it should be used to become its owner, and then get the right to change / delete the file.
2
Click on the file you want to delete, right-click, select "Properties", go to the Safety tab, down to the right click the "Advanced" button.
3
A new window called "Advanced Security Settings" will appear. Click the Owner tab, on the left below, click "Change". In the column "Change the owner on" click on your account, click OK.
4
The system will notify you that now you are the owner of this object, and to change, see extensions, you should close-open the window of its properties. Shut down "OK".
5
Re-go to "Properties", open the Safety tab, click Edit. The "Resolution for Group" window will appear. In it, click the Add button, then enter the name of the personal account, click OK. In the "Resolution For Group" window, select the name of your account, mark the "Bird" "full access". The system will inform you that you want to change the parameters of the permissions of system folders and specify whether you want to continue. Click "Yes", in each window of the properties, click "OK". Now you are the owner of this system file and can do anything with it - including delete. Just be careful, the system will not be able to work without separate system files.
6
You can also use the command line. Press the "Win" and "R" keys combination. A command line will appear. Write in it "CMD", click simultaneously "SHIFT", "ENTER", "CTRL".
7
A window appears in which the "TakeOwn" command should be applied, as shown in the figure. Now you will be the owner of the file, but you can not yet delete it.
8
Apply the "CACLS" command, which will give you full rights to the file (Admin is the username, you should specify your own). Now the file can be deleted.
If the system still does not allow you to delete a file, you should simply reboot in safe mode.