Solved

Unable to empty recycle bin

Posted on 2007-03-26
2
319 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

751 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