Solved

Unable to empty recycle bin

Posted on 2007-03-26
2
314 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now