Jump to content


Why is CCleaner so fast?


4 replies to this topic

#1 OFFLINE   GaryRW

    Newbie

  • Members
  • Pip
  • 5 posts
  • Location:OH, USA

Posted 11 June 2005 - 02:21 PM

A better question is why is MS Cleanmgr so slow??????

#2 OFFLINE   DjLizard

    Dial-a-fix author

  • Members
  • PipPipPipPip
  • 1,339 posts

Posted 12 June 2005 - 03:00 AM

CCleaner's so fast because it does almost everything in Win32 API, and file deletion is pretty quick in general (in Windows, files are not zero-filled or actually deleted, but simply *marked for deletion* via the filesystem) -- MS Cleanup Wizard is slow because it does additional things such as checking for compressible files, and compressing them, etc.

#3 OFFLINE   bpm3k

    Advanced Member

  • Members
  • PipPipPip
  • 97 posts

Posted 14 June 2005 - 08:55 AM

DjLizard, on Jun 11 2005, 08:00 PM, said:

file deletion is pretty quick in general (in Windows, files are not zero-filled or actually deleted, but simply *marked for deletion* via the filesystem)

<{POST_SNAPBACK}>

I wish CCleaner could overwrite things.

#4 OFFLINE   DjLizard

    Dial-a-fix author

  • Members
  • PipPipPipPip
  • 1,339 posts

Posted 14 June 2005 - 01:09 PM

This takes ages, but it shreds ALL free space:

After files are deleted by CCleaner, shred the free space using Sysinternals' command-line utility SDelete.

Extract sdelete.exe to C:\windows\system32 (if in XP) or C:\windows\command (if in 98) and start a command prompt session (Start, Run, CMD, if in XP, or Start, Run, COMMAND, if in 98) then type SDELETE -z

#5 OFFLINE   bpm3k

    Advanced Member

  • Members
  • PipPipPip
  • 97 posts

Posted 14 June 2005 - 07:11 PM

DjLizard, on Jun 14 2005, 06:09 AM, said:

This takes ages, but it shreds ALL free space:

After files are deleted by CCleaner, shred the free space using Sysinternals' command-line utility SDelete.

Extract sdelete.exe to C:\windows\system32 (if in XP) or C:\windows\command (if in 98) and start a command prompt session (Start, Run, CMD, if in XP, or Start, Run, COMMAND, if in 98) then type SDELETE -z

<{POST_SNAPBACK}>


Please don't link straight to the exe file. A better link would be to the Sdelete product page (eg. SDelete).

I use Eraser for overwriting free space. It does take some time.