Cannot delete two files in Windows 7 -- "You need permission to perform this action."

17,437

Solution 1

Download the unlocker. After installing this you will able to find it just right click on the folder you want to delete and select the unlocker, it will assist you to perform the delete, rename and move the folder and now its depend on you what you want to do with the folder.

enter image description here

enter image description here

Solution 2

If everything else fails, you can always circumvent Windows entirely.

  1. Download Ubuntu.

  2. Burn your CD or create a bootable USB stick.

  3. Reboot using the CD or the USB stick.

  4. Delete the files.

Solution 3

Check this answer : Cannot delete flash9.ocx , for me it worked when removing old Windows folder from a second partition which was primarily boot partition before adding an SSD to my laptop.

Basically, Adobe just denies the user to change Write attributes on their OCX files. In my case, as also explained on the above link, Everyone had Deny checked; after removing this constraint, deletion worked without problems.

Share:
17,437

Related videos on Youtube

Nate
Author by

Nate

I'm a senior in college, majoring in EE and minoring in CS, with a passion for electronics and programming. I'm an entrepreneur and started a small hobby electronics company called FoxyTronics a few years ago, and am now working on launching a shopping website called PriceWombat.

Updated on September 18, 2022

Comments

  • Nate
    Nate over 1 year

    I did something stupid. I reinstalled Windows on my computer but decided to leave the old installation on the drive instead of reformatting. Now I'm trying to delete the old Windows folder and for the most part have been successful, but cannot for the life of me delete two files:

    1. E:\Windows\System32\Macromed\Flash\Flash64_11_1_102.ocx
    2. E:\Windows\SysWOW64\Macromed\Flash\Flash11e.ocx

    When I try to delete the files I get the error

    You need permission to perform this action

    You require permission from Nathan-PC\Nathan to make changes to this file

    I tried changing the permissions as explained in this guide: http://helpdeskgeek.com/windows-7/windows-7-how-to-delete-files-protected-by-trustedinstaller/, but I still cannot delete the file.

    I initially got this error for many/all of the files in the old Windows folder, but I read this: http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/, and downloaded and ran the "take ownership" script. After running that command on the directory I was able to delete all but the two files above.

    I have tried everything in normal mode and safe mode.

    This is driving me nuts! Can anyone help me delete these two files?

    Windows shall not defeat me!