Solved

Unable to empty recycle bin

Posted on 2007-03-26
2
318 Views
Last Modified: 2012-05-05
I'm having problems deleting some files and folders on one of my 2003 servers.  I can send the items in question to the recycle bin, but when I try to empty the recycle bin I get an message:

Error Deleting File or Folder.
Cannot delete file:

I've tried restoring the items and then deleting while holding down Shift, but get the same message.  I've renamed the files in case the filenames were causing a prob, but still the same.  I've checked the permissions and everything seems fine with both administrators ans system having full control.

The files/folders are copies of our user home directories from a different server that were simply copied using Cobian Backup 8

Any suggestions as in total the folders take up almost 3GB!!
0
Comment
Question by:DubberDan
2 Comments
 
LVL 11

Accepted Solution

by:
Zenith63 earned 125 total points
ID: 18791853
When you delete a file to the Recycle Bin all that happens is the file is renamed and a pointer from the Recycle Bin to the file created.  The file never really moves or gets deleted, hence the reason you can't empty it if the file can't be deleted from its current location.

Do you have ownership of the files/folders as well?  Try http://killbox.net/ .  It usually works quite well to delete files that won't delete for whatever reason.  Just bear in mind if an application has these files open and in-use for a reason and you kill them with a tool like this you run the risk of blue-screening the server.  Personally I'd go for it once all users are off the server...
0
 

Author Comment

by:DubberDan
ID: 18792156
Got it working by going into the folders and trying to delte some of the contents within.  Most of it deleted fine but it threw up a message relating to a very obscure file name, but no indication of where that file was located.  A bit of trial an error tracked it down, renamed to something more usual and it then deleted fine.

It would have been nice if rather than just giving an error "Cannot delete file:" it actualy gave both the filename and the location.

Thanks for the input, points to you.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Learn about cloud computing and its benefits for small business owners.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question