Speeding up deletes of large groups of files?

Page 1 of 3 123 LastLast

  1. Posts : 30
    Windows 10 Pro
       #1

    Speeding up deletes of large groups of files?


    Recently I upgraded my HP h8-1070t (i7-2600 @ 3.4 GHz, 16 GB RAM) by replacing the conventional hard disks with a pair of Samsung 860 Evo 2-TB SSD's, configured as C: and D:. In the process I also did a fresh install of Windows 10 Pro.

    Today I noticed that the D: disk was at risk of getting full, and initiated deletion of all its files. They added up to 17,900 files totaling 1.2 TB. A notice appeared stating that the deletion would take 3 hours, 25 minutes.

    Is there any way to speed up deletions in situations like this? I regularly run processing software that creates big sets of files that aren't needed long-term.
      My Computer


  2. Posts : 30
    Windows 10 Pro
    Thread Starter
       #2

    Thanks!

    Could I just go to a command prompt and execute:

    del /f/q/s "d:\xyz"

    ?

    The batch file looks like it would be handy, but I'm always a little nervous about editing the Registry.
      My Computer


  3. Posts : 6,850
    22H2 64 Bit Pro
       #3

    I just noticed that it only works for folders (batch file launched via context menu) so not the best solution.

    DEL /F /S /Q /A "Path"

    That's the command I use.
      My Computer


  4. Posts : 30
    Windows 10 Pro
    Thread Starter
       #4

    Thanks. I'm running that command right now, and it looks like it's taking overall about the same amount of time per file as the Windows GUI delete.

    Do you have the impression that deletes with Ultra Virus Killer are a lot quicker than this?
      My Computer


  5. Posts : 6,850
    22H2 64 Bit Pro
       #5

    It was much faster for me yesterday so I guess you could test it. It took minutes instead of hours.

    When I say that - I tried to delete via Explorer and it showed 23.5 hours to complete so I cancelled the delete operation and used UVK and it was fast.

    Also I just found this (not tested by me) and it's free.

    Delete Large Folders in Windows with Fast Folder Eraser Pro | NoVirusThanks
      My Computer


  6. Posts : 6,850
    22H2 64 Bit Pro
       #6

    Well I'm going to delete my earlier post regarding the batch file / context menu as it's not great.
      My Computer


  7. Posts : 30
    Windows 10 Pro
    Thread Starter
       #7

    Thanks, I'll check that out.

    Meanwhile, I just hit on a really fast approach that will work for me at least for the time being. Since I want to nuke the entire D: drive, I can simply go into File Explorer and do a quick format on the drive. This gets rid of everything very quickly. Obviously, it wouldn't be an option if there were anything on that drive I wanted to retain.
      My Computer


  8. Posts : 6,850
    22H2 64 Bit Pro
       #8

    Formatting a drive would be fast but indeed you nuke everything!
      My Computer


  9. Posts : 6,320
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #9

    Frank O said:
    Today I noticed that the D: disk was at risk of getting full, and initiated deletion of all its files. They added up to 17,900 files totaling 1.2 TB. A notice appeared stating that the deletion would take 3 hours, 25 minutes.
    Is there any way to speed up deletions in situations like this? I regularly run processing software that creates big sets of files that aren't needed long-term.
    If you want to delete ALL files and folders, format the drive. It will take seconds to do it.
      My Computers


  10. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #10

    Does holding down the Shift key when you select Delete or press the Delete key in File Explorer speed things up? That eliminates the Recycle Bin being involved so it should be quicker.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:06.
Find Us




Windows 10 Forums