2

CCleaner has a feature for wiping free space on a disk. CCleaner's documentations says:

When you delete a file, Windows removes the reference to that file, but doesn't delete the actual data that made up the file on your hard drive.

and

For privacy and security reasons, you can set CCleaner to wipe the free areas of your hard disk so that deleted files can never be recovered.

So, my question is: Does wiping free space on a disk free any space on that disk? If it does, does overwriting many times free more space?

phuclv
  • 30,396
  • 15
  • 136
  • 260

4 Answers4

11

Does wiping free space on a disk free any space on that disk?

No. Wiping the freespace just cleans the unused blocks on your disk. It's simply for security reasons, otherwise data rescue software can still recover the files

Imagine a disk like a kind of notebook. When you write some information to the book you'll have to write the particulars about that piece of information in the table of contents (ToC) at the beginning (or end) so that you can quickly find which page you wrote on. When you want to clean the data you just clean the corresponding line in the ToC to say that the page is free and can be used to write other information, but you don't erase anything in that page until you really need more space. The same thing occurs in file systems

phuclv
  • 30,396
  • 15
  • 136
  • 260
5

No, wiping free space on a disk does not free any space on that disk.

All that wiping does is write one big file that expands to fill up all the free disk space, then delete this file when the disk is full. The amount of "free space" stays exactly as before the operation.

The reason for this is that the operating system only deletes the pointer to the file's data when deleting the file, but does not overwrite the data itself.

harrymc
  • 498,455
1

The other answers are correct. It adds no value unless you are need to hide illegal or confidential activity.

If disposing of the drive, easier just to drill through it a few times to stop some one from taking your data.

I wrote a DOD compliant drive wipe utility many years ago. The way it works it is goes to each unused byte on the drive and stores all 0's, then all 1's then a random value, and does this multiple times to eradicate the magnetic signature.

Deleting files just removes them from the MFT, a directory of sorts of the files storage locations.

So, for disk space purposes, don't bother. If you have terrorist manuals and want to purge them, well.... I guess then you would use a wipe tool.

As the commenter said, be careful on an SSD. It's somewhat pointless to wipe it, and if you do you can bet you are now really shortening its life. SSD's have limited write capabilities. So much so, they have special chips to randomize the writes to avoid overuse of certain sectors. Consider it, even wearing of the disk.

Long story short, don't waste your time. Also, I really suggest avoiding most of the "Clean your Computer" utilities. They are just spam pieces of crap that don't help.

Like, "Clean your registry".. Don't. Its really pointless.

Just defrag your NON-SSD drive, and keep on trucking.

0

As I'm aware CCleaner has a very bad reputation concerning data privacy. "It’s no secret that the PC version of CCleaner is known to be a problematic case. Malware is one of the PC version’s biggest issues which led to the majority of their users uninstalling the software. " https://cellularnews.com/mobile-apps/is-ccleaner-safe-to-use-a-brutally-honest-review/