I have a folder X which contains a folder Y. When I try to explore this folder I receive the message: 'C:\...\Y is not accessible. The file or directory is corrupt and unreadable.' If I try to delete either X or Y, I receive the error code: 0x80070091,
The directory is not empty.
I have full administrator privileges for both folders and I've tried running Disk cleanup, Chkdsk and MoveOnBoot but none of these managed to remove the folders. Can someone help me get rid of them?
Thanks in advance,
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Open directory V and try to delete the individual files there until you come across the file that's causing it not to delete (there'll probably be at least one). Then try to change the security properties on the file to give you access to delete.
To see your permissions, right click the folder/file, click on properties, and check out the security tab. Check to see what permissions you have by clicking on your username (or user group). Here are the types of permissions you can have:
http://windows.microsoft.com/en-US/windows-vista/What-are-permissions. You need to be an administrator or the owner to
change permissions (and sometimes being an administrator or even an owner isn't enough - there are ways to block even them from access (though a smart administrator knows these ways and can get around them - but usually shouldn't because they were denied access
usually for a very good reason). Here's how to change file and folder permissions in Vista:
To fix this problem with the fuks/folders, take
ownership of the folders or the drive (as an administrator) and give yourself full rights. Right click the folder/drive, click on properties, go to the security tab and click on Advanced and then click on the Owner tab. Click edit and then click the
name of the person you want to give ownership to (you may need to add it if it isn't there - or it may be yourself). If you want it to apply to sub-folders and files within that folder/drive, then check the box for replace owner on sub-containers and objects
and click OK. Back out and now there's a new owner for the folders/drive and files who can change permissions as needed. I'd do this just on the folders you're having trouble with. You should now be able to delete them. Here's more information on taking
ownership of a file or folder: http://www.vistax64.com/tutorials/67717-take-ownership-file.html.