Discussion Locked

Cannot delete folders on drives

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

I have a BDC which serves as a file server.It's running NT4 sp6a. The hard drives are partitioned as C:, D:, E: and H:
E: is shared and is for teachers. H: is the user's Home directory to store user folders for students. There is a folder called "Network Trash Folder" in each of the E: and H: drive. They're different folders because they're in different location and they have different contents. I can delete what's in the folders but not the folders itself. I've checked the permission on the folder that only admin has access to it. I also have taken ownership of the folder to make sure I as an admin has right to it. But I cannot delete these folders. When I try to delete it, it give me a error message saying " Cannot remove folder : Therehas been a sharing violation. The source or destination file may be in use. " But The folder is not shared and there is nothing inside the folder now. But students can still store stuff in the folders. How can I find out what's stopping me fromdeleting them ? Or How can I delete them ? Thanks.

2 replies

by sam

Assuming you are trying to do the above locally on
the server. What kind of access do you have to these folders? Make sure it is full access. Also, could there be some hidden files or folders that prevent you from deleting them? Files/folders that belong to system applications. You may want to try using the Command Prompt to DELTE these folders.

by rabbit_runner

It sounds like, when you attempt to delete the folder, some other application or process is using that trash folder. From my experience the term 'Network Trash Folder' is created from an APPLE share. Is that correct? If that is true, then the only way you will be able to delete the file is to remove the Apple Share. Then the folder will be released so that you can delete it.

BUT if you are not wanting to remove the Apple Share, then you will be 'stuck' with that folder. Also, if you remove the apple share, in order to delete the folder, THEN re-create the apple share, the 'Network Trash Folder' will be re-created.

NOTE: I am assuming you are sharing to Macintosh computers. If this is not correct, then my above recommendation will not work. However, there is still some process which is HOLDING that network trash folder. You must first determine what that process is, then decide if you can stop that process to delete the folder.

I hope this will help, or at least point you in the direction to solve your problem

This discussion is closed to new replies.