Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I delete even the smallest of files on windows xp the operation takes 3-10 minutes to complete.

I have read this can happen when the recycle bin has alot of items in it, and XP has to iterate through all the files. So I set the space usage to 1%, but even this does not help, the only thing that works is disabling the recycle bin which is not ideal.

Any known fixes to this?

share|improve this question
1  
I started encountering this on various XP machines of mine (both at home and at work). I think there was a windows update that triggered this problem, but I have no evidence, nor a solution. –  Matthew Ruston Jul 16 '09 at 16:48
    
I am getting something like this, even with a shift+del it is spending a long time "Preparing to delete" –  Jeremy French Aug 11 '09 at 11:26
1  
Have you actually emptied your recycling bin, or just limited it? –  kmarsh Nov 17 '09 at 13:39
    
Are you by chance trying to erase files that is media? For example, if you have images or movies, XP may be trying to create thumbnail preview before the files get erased. –  sunk818 Nov 26 '13 at 18:56

10 Answers 10

up vote 11 down vote accepted

Does the performance change based on your recycle bin being empty or full? Even at 1%, if you have a 500 GB drive that is still 5 gigabytes of files in your recycle bin, which can be a lot of files if they are typically pretty small files.

I find it works a lot better to remove files from the recycle bin based on how long they have been there, not size.

Anti-virus is another possibility. I have also seen other 3rd party tools that install themselves in place of the recycle bin. Check for that as well and try disabling them. If nothing else you could just start disabling all those applications running down in your system tray and see if that makes a difference.

If none of that works then get Process Explorer from SysInternals and see if you can tell what is going on when you delete.

share|improve this answer
    
The performance improves when its empty? Its a 200mb hd, either way I would expect windows to be design to handle this? There is an option to base the recycle bin on time? –  Dan Jul 16 '09 at 19:19
3  
The recycle bin doesn't natively support time based emptying, but I believe CCleaner ( CCleaner.com ) can do that for you. It can configure it to only clear the recycle bin items older then a specific date and then set it to run on startup or even make a scheduled task for it. –  Jim McKeeth Jul 16 '09 at 20:39
    
200MB or 200GB? If it is 200MB, you are overdue for a upgrade. –  kmarsh Nov 17 '09 at 13:24
1  
+1 I pressed the wrong button in Total Commander to delete Boost, so all 3141534 files ended up in the Recycle Bin. Deletes took 2+ seconds per file after that. –  György Andrasek Nov 27 '10 at 15:17

For Windows 7 there is a solution here

http://answers.microsoft.com/en-us/windows/forum/windows_7-files/windows-7-deleting-large-files-is-extremely-slow/f2b32bf0-bab6-4935-9002-8127d9ca066a

More specifically, File -> Right Click -> Properties -> Advanced, uncheck

File is ready for archiving Allow this file to have contents indexed in addition to file properties

I think this should apply for all NTFS-based Windows.

share|improve this answer

Just going this myself right now. I have not seen the word defrag mentioned yet so for future readers I throw that one out there. Chkdsk to see if there are issues and do a defrag if necessary / if it has been awhile since the last defrag.

share|improve this answer

Usually deleting files in the Recycle Bin helps. If it doesn't, see if there are still leftovers in

<drive>:\RECYCLER\<UserSID>\

A UserSID may look like S-1-5-21-2502600870-2247595359-1186002861-1024

Delete the files inside the <UserSID> folder(s), not the <UserSID> folder itself.

It happened to me once that there were still a lot of files in there even after I emptied the Recycle Bin. After emptying that folder deleting was instant again.

share|improve this answer

I've run into the problem when the network wasn't working correctly. In this case it was due to delayed network access. The fix was to disconnect the network drives until I found the one(s) that were causing the problems.
Also, Windows has problems with file access when there are more than 10,000 files in any one folder.

share|improve this answer

If there are some files that you know you want to delete (i.e., you want to bypass the Recycle Bin and permanently delete them), you can select the files, then press Shift+Del or hold Shift while you right-click and delete.

This allows you to selectively bypass the overhead of using the Recycle Bin without completely disabling it.

share|improve this answer

Your hard disk may be doing read/write retries in an area corresponding to trash bin functionality.

Download your disk vendor's tools and check the SMART status for errors. (E.g., SeaTools for Seagate drives, WD Data Lifeguard, Samsung Hutil, Hitachi Drive Fitness Test or OGT). For linux there is a smartmontools package.

This is a good idea for everyone to do at least once a year!

share|improve this answer

There is a solution - I have deleted from the Recycle-Bin just 8 very big files totaling 1.5GB out of about 1.8GB total size of the Recycle-Bin, and then wall-la...deleting files is as fast as click - as I was used to before starting to encounter deleting files takes very long time.

share|improve this answer

maybe formatting your HDD with NTFS filesystem will speed things up

share|improve this answer

Try temporarily disabling your antivirus software to see if it has a big effect on deleting.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.