Permissions – Deleting folders give access denied error message on Windows 7, although I am administrator

I have an external hard drive that was used as a Windows partition before, but now I want to use it for storage instead. I have added it to my Windows 7 machine, but I am not allowed to write or delete serveral of the files and folders on the disk. I get the error message access is denied, even though I am administrator. I have tried to log in to the Administrator account with Net user administrator /active:yes, changed ownership and disabled UAC, but nothing helps. I still get access is denied and can not delete anything.

Solution:

You can use unlocker to delete the windows directory. Just install it and it will appear int the right click context menu.

enter image description here

enter image description here    

You can also use boot delete which has the ability to delete the files at the boot time.