Access issues with deleting

Handsom3D3vil

Member
Jan 3, 2006
61
0
0
Need a little bit of help here. I have quite a few files spread out across many different folders on a network drive. Users on the network access these files remotely through mounted HDD on their workstations. Some of these files cannot be deleted and when anyone tires, even on the server itself, I get a general "Cannot delete *file*: Access is denied, even though no one is using them.

I've done everything but restart the server itself, that is really the last thing I want to do.

Thanks.
 

AlucardX

Senior member
May 20, 2000
647
0
76
This probably has to be done from the server hosting the files. I've never tried it across the network.

1. Download ProcessXP (Process Explorer)
2. Click Find -> File handle or DLL
3. Type name of file that is "locked" and hit search
4. will hopefully give you a process or possibly list of processes that have the file "locked"
5. Kill each one separately, using processxp, and see if you can delete the file.

Alternatively you can download Unlocker (http://ccollomb.free.fr/unlocker/) which is doing the same thing but makes it easier.

I used unlocker on a file that didn't have a handle attached to it, and it can try to delete it anyways, it actually did remove the file for me. Unfortunately when I tried on a whole directory of these types of files, it didn't do it.

EDIT: Unlocker did successfully remove a problem directory, let it run overnight, came back and directory was deleted.
 
Last edited:

tomt4535

Golden Member
Jan 4, 2004
1,758
0
76
Make sure you have permissions to the file. Someone may have removed you or the administrator from that file or folder's permissions and you wont be able to delete it.