Discussion Locked

Unable to delete folders

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm the administrator and I'm unable to delete a folder. Message: Cannot remove folder zzz:There has been a sharing violation. The source or destination file maybe in use. The folder were copy from another location for a users which decide to deletethe files into this folders.What do I need to do to delete this empty folders??
Thanks

9 replies

by beermonster

It sounds like there is a process holding the a file or the folder open. the easiest way is to reboot the machine, but just in case the process replaces the lock on startup, take ownership of the folders and lock everybody out. that way when you reboot, any process that tries to place a lock will fail. once rebooted give yourself permissions and delete the files.

by lukaskadrow

Do you have error messages?, like :
??? Path too long
??? Error cannot delete file: cannot read from source file or disk
??? Cannot delete file: Access is denied
??? There has been a sharing violation.
??? Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name.
??? The source or destination file may be in use.
??? The file is in use by another program or user.
??? Error Deleting File or Folder
??? Make sure the disk is not full or write-protected and that the file is not currently in use.
??? Error Copying File or Folder.
??? Cannot remove folder.
??? The filename or extension is too long.
??? Path too deep.
??? Destination Path Too Long.
??? Could not find this item.
??? Filename is not valid.
??? The file could not be accessed.
??? The path you entered, is too long. Enter a shorter path.
??? File Name could not be found. Check the spelling of the filename, and verify that the file location is correct.
LONG PATH Tool 3.6 at http://LongPathTool.com

by famosten

Once I had similar problem. But I solved this by using Long Path Tool. I hope you also can solve like me by using this tool.

This discussion is closed to new replies.