Start a Conversation

Unsolved

This post is more than 5 years old

1604

November 28th, 2007 01:00

Can't delete files from recycle bin

Hello,

Diskxtender v.6.1 on Windows. I'm having problems deleting certain files from the recycle bin. The error message I get is:

Failed to delete file K:\backup2\ces\courses\activity.css from recycle bin (5).

This error message isn't very useful, I just wondered if anyone else has seen this before and managed to fix it?

Thanks,
Sheppie

26 Posts

November 28th, 2007 08:00

the (5) is a win32 error for Access denied and ususally is a permissions\security issue

1 Rookie

 • 

108 Posts

November 28th, 2007 09:00

I assume the permissions that are preventing me from removing the file from the recycle bin are those on the copy of the file which is kept under K:\dxlogs\Recycler?

Looking in this folder, each deleted file seems to be represented by a folder with the same name as the file - in this case activity.css. The folder has full control permissions for everyone.

I'm not sure what I need to do to resolve this...

26 Posts

November 28th, 2007 09:00

How are you trying to deleting the file?
Is there just one file with that name or are there two files with that name in the Recycle bin?
Can you delete other files that are in the recycle bin?
What kind of file is this? could it still be in use by the system or an application and the real issue is a sharing violation?
IF you can try rebooting the server this will force whatever may be using that file to stop using it.

1 Rookie

 • 

108 Posts

November 29th, 2007 01:00

I'm trying to delete the file by highlighting it in the recycle bin and then selecting File -> Delete.
There is only one file with this name in the recycle bin.
I can delete other files in the recycle bin OK.
There are a number of files with this problem. They are of different types - eg. css, html, swf. I don't think they can still be in use by the system as they have been deleted.
Unfortunately I'm only allowed to reboot the server for patching so that isn't an option at the moment.

I can't understand how this could be a sharing violation as the file has been deleted and so doesn't exist in its original location for anything to use.

Thanks for your help.

Sheppie

397 Posts

November 29th, 2007 15:00

I think I've seen this before. The Windows recycle bin does not play nicely with the DX recycle bin. Verify the Windows recycle bin is disabled for the extended drive. You have to check the option 'Do not move files to Recycle Bin. Remove files immediately when deleted.' Hope this helps.

26 Posts

November 30th, 2007 06:00

Please call into DX Support and ask for the DX Recycle bin Utility and for information of it's use. This utility should help resolve your issue

1 Rookie

 • 

108 Posts

November 30th, 2007 06:00

Unfortunately, I already had that setting for the extended drive :(

1 Rookie

 • 

108 Posts

November 30th, 2007 07:00

Thanks, I'll give that a try. I restored some of these files to try and see what the common factor between them was. I discovered that they were all missing the Everyone full control file permission. Adding this, then redeleting the file meant that I was able to delete them from the recycle bin.

This seems a bit stupid to me. Once a file has been deleted I don't care what the file permissions were, I should be able to delete it from the recycle bin if I am logged in with admin privileges.

This means a lot of work for me as the files are all over the place and our users commonly remove the everyone full control permission, leaving only themselves with full control over a file.

Oh well, thanks for your help both.

Sheppie
No Events found!

Top