Deleting files from shared folder...

Soldato
Joined
18 Oct 2002
Posts
8,920
a shared folder on the network has a number of files in i wish to delete. everytime i try it tells me that they are in use or the drive maybe full.

ive restarted the server and unshared the folder so im certain no one is using the files and it still wont let me delete them

any ideas?
 
From where are you trying to delete the files and what kind of files are they?

By that, I mean are you logged directly into it (whether that's by rdp or sitting in front of it with a keyboard...) or are you trying to delete the files via the share or a UNC path?

If there is no locking handle, the files aren't in use...

I assume that you've checked the NTFS permissions on the files/folder if you've got a console session on it and also the share permissions if you're using the share (permissions over a share are the most restrictive combination of share and NTFS perms).

If perms look fine, try taking ownership of the folder above them for the local admin group (and replace owner on all child objects), close the properties page (important), open it again - make sure that the local admin group has explicit permissions of full control - and go into the advanced tab and "replace permissions on all child objects.....". Once that's done, try and delete them again.
 
=walls= said:
From where are you trying to delete the files and what kind of files are they?

By that, I mean are you logged directly into it (whether that's by rdp or sitting in front of it with a keyboard...) or are you trying to delete the files via the share or a UNC path?

If there is no locking handle, the files aren't in use...

I assume that you've checked the NTFS permissions on the files/folder if you've got a console session on it and also the share permissions if you're using the share (permissions over a share are the most restrictive combination of share and NTFS perms).

If perms look fine, try taking ownership of the folder above them for the local admin group (and replace owner on all child objects), close the properties page (important), open it again - make sure that the local admin group has explicit permissions of full control - and go into the advanced tab and "replace permissions on all child objects.....". Once that's done, try and delete them again.


superb mate :cool:

it was the owner ship thing. ive not had to do that before so didnt know to do that. i presumed when you were on as admistrator on the server you had full rights to delete anything you wanted.

cheers for help. you've educated me there :D
 
Back
Top Bottom