Unable to delete folder in windows 7?

Try getting the ownership of the folder:

Right-Click the folder -> Properties -> Security tab -> Advanced button -> Owner tab -> Edit button -> Select your user account -> Activate Replace owner on subcontainers and objects.

When done, close all properties windows and open Properties again -> Security tab -> Advanced button -> Permissons tab -> Change Permissons button -> Add your user account and select Replace all child object...

Then try again.


You could also try Unlocker. It unlocks or kills the process that is using the file/folder and deletes/renames it.


My husband had the same problem with his external drive. This is what I did to delete it. These are the steps I followed in windows 7 while logged on under administrator...not sure that part was necessary, but I wanted to include that bit of information.

Phase 1 - Taking ownership

  1. Right click folder
  2. Select "properties"
  3. Select the "security" tab
  4. Click the 'Advanced" button
  5. Select the "owner" tab
  6. Click the "Edit" button
  7. Under 'change owner to' highlight the user you wish to set as owner
  8. Check the 'replace owner on subcontainers and objects' box
  9. click the 'apply' button (this will take you back to the 'advanced security settings' window)

Phase 2 - Permissions

Once you are back in the 'advanced security settings' window follow these instructions (Note: You MAY have to close out the properties window altogether and then re-open it for the above changes to take effect before performing the next set of steps).

  1. Select the 'permissions' tab
  2. Click the "Change permissions" button
  3. Highlight the user you need to change permissions for
  4. click the 'edit' button
  5. Check "allow" box next to full control
  6. Click "Ok"
  7. Check the box next to "include inheritabl permissions from this object's parent"
  8. Check the box next to "replace all child object permissioms with inheritable permissions from this object"
  9. Click "apply"
  10. Click "yes" in the pop up box"
  11. Click "OK" to close permissions window
  12. Click "Ok" to close advanced security settings window
  13. Click "ok" to close the properties window

You should now be able to delete the un-deletable folder.

Phase 3 (it is a shared folder)

Be sure to do the following steps :

  1. Properties
  2. Sharing tab
  3. Share ... Be sure you have your user with read/write Permission level
  4. Come back, Advanced sharing
  5. Permissions be sure your user is here with Full Control

Tags:

Windows 7