Delete Data On SSD Permanently

Martin Brinkmann
Jun 20, 2010
Updated • Feb 23, 2014
Software, Windows

Solid State Drives (SSD) are becoming increasingly popular and it seems it is only a matter of time until they replace the conventional platter-driven hard drives in computer systems around the world.

SSDs work differently than platter-based hard drives, especially when it comes to read and write processes on the drive. The most effective way to securely delete platter-based hard drives (overwriting space with data) becomes unusable on SSDs because of their design.

Data on platter-based hard disks can be deleted by overwriting it. This ensures that the data is not recoverable by data recovery tools. This method is not working on SSDs as it is not possible to specify the location to overwrite.

That's highly problematic for computer users who want to give their computer away or sell it to a third party as data on the SSD could be recovered by the new owner.

Several suggestions have been made on how to delete data on solid state drives permanently. We have decided to test those methods on an old OCZ Core Series II SSD to see how effective they are.

  • Delete the files
  • Format the SSD
  • Encrypt the whole drive
  • Issuing a secure erase command with HDDErase

The efficiency of the methods will be tested by running the data recovery software Recuva after each method. An effective method should leave no recoverable files behind.

Test System

  • Windows 7 Professional 64-bit
  • OCZ Core Series II SSD
  • File recovery software Recuva

Deleting the files

This is a direct way to delete files on the Solid State drive. It is the only option in the article that can be used to delete files and folders selectively.

Deleting the files directly in Windows Explorer is not sufficient to protect the data from recovery software. Recuva found almost 100% of the files that have been deleted in Windows Explorer.

delete files directly
delete files directly

Deleting files directly in the operating system is therefor not an option to delete data permanently on solid state drives.

Formatting the Solid State Drive

This is the easiest option as it can be executed directly without additional software requirements. Windows users need to locate the SSD in Windows Explorer, right-click it and select Format from the available options.

format solid state drive
format solid state drive

It is important to uncheck the Quick Format option to ensure that all data on the drive will be formatted.

format drive
format drive

Windows Explorer does not list any files on the drive after the full format completes.

It is now up to Recuva to find out if files can be restored from the drive after a full format. Recuva is easy to use. All it takes is to select the solid state drive letter and click the scan button. A deep scan is proposed and should be accepted. This scan might take a while depending on the size and speed of the SSD.

ssd file recovery
ssd file recovery

The scan did find a total of 243 files of which were all ignored and not shown in Recuva. Ignored files are mainly zero byte files, in our case all files that were found were 0-byte files.

The full format did delete all files on the drive with the exception of unrecoverable files. The ignored files that were shown as recoverable had no filename, were all 0 byte files and note recoverable.

Alternative Format Software:

Darik's Boot and Nuke is an option for users who only have the SSD connected to their computer or use another operating system.

Encrypting the Solid State Drive

Encrypting the whole SSD should in theory be enough to make the files unrecoverable. We have decided to use the encryption software True Crypt to encrypt the Solid State Drive. True Crypt if available for Windows, Linux and Mac.

Here are the steps to encrypt a drive with True Crypt. Click the Create Volume button in the main True Crypt interface. This opens the TrueCrypt volume creation wizard.

true crypt
true crypt

Encrypt a non-system partition/drive is the option to encrypt a drive other than the system drive. Select standard TrueCrypt volume in the next window and the select device button in the next. Pick the Solid State Drive partition from the list of connected hard drives.

encrypt drive
encrypt drive

Selected Create encrypted volume and format it on the next screen, keep the default values in the encryption options on the next screen, click next on the volume size screen and pick a password thereafter. Keep the default settings from that point on by clicking Next whenever available.

A click on the Format button in the end will spawn a warning window in True Crypt stating that all data on the drive will be deleted when the True Crypt volume is created. Continue by selecting "Erase any files stored on the partition by creating a TrueCrypt volume within it".

true crypt format
true crypt format

True Crypt will then format the drive and display a notification window afterwards stating that the encrypted volume has been created successfully.

Recuva was not able to scan the drive stating that the boot sector of the SSD could not be read. Additional recovery programs were not able to recover files as well. Cautious users could format the drive after it has been encrypted and run the file recovery software afterwards to test the effects. This yielded the same results as the plain drive format did.

Issuing a secure erase command with HDDErase

The secure erase command resets all NAND locations to an erased state which effectively removes all data from the drive. The command is mainly used to restore factory settings of drives that see reduced performance levels over time.

This method is for advanced users only, largely because it requires BIOS configuration and the creation of a boot disk.

HDDErase is one of the tools supporting the secure erase command. The latest version is HDDErase 4 which is not compatible anymore with Intel SSDs. Intel users need to download HDDErase 33 instead.

A bootable disk needs to be created. HDDErase will only work if AHCI is disabled in the computer BIOS.

Secure Erase scans the drive to verify that it supports the command.

sec erase 2
sec erase 2

A full walkthrough of the steps required to use HDDErase to securely erase the SSD is available at IISHacks.

No data was recoverable after the secure erase command was issued in DOS.

Recommended method to erase data on solid state drives

Format, encryption and the secure erase command have made the data on the drives unrecoverable. A lot speaks for formatting the Solid State Drive as it is the easiest method of the three. It is usually not necessary to encrypt the data on the drive before formatting it as it yielded the same results as a standard format.

It is highly recommended to test the result with file recovery software to make sure that no data left-overs can be recovered.

Do you know of other methods to delete data on solid state drives permanently? Let us know in the comments.


Tutorials & Tips

Previous Post: «
Next Post: «


  1. Anonymous said on March 9, 2023 at 1:52 pm

    Does it come back after every “moment” update?

  2. Baloney said on March 9, 2023 at 2:23 pm

    Yeah right.. Like this is going to stop defender from running =) This is comedy gold right here.

  3. Anonymous said on March 9, 2023 at 3:25 pm

    no ‘about the author’ paragraph?

  4. Gregory said on March 9, 2023 at 4:19 pm

    For permanent disable defender is if removed complete from system no just change permission folder.

    Just this is joke.

  5. moi said on March 9, 2023 at 5:57 pm

    simpler, load Autoruns (SysInternals)
    – filter “Defender”
    – untag all entries
    – reboot
    nothing has changed since my 1st modification years ago

  6. John G. said on March 9, 2023 at 6:32 pm

    I wouldn’t disable Defender imho, it has too many hidden roots inside Windows itself. One time I tried to uninstall it using brute force scripts and then the Onedrive feature stopped working definitely. A reinstallation was needed and since those times I prefer to maintain Defender untouched. It’s a better method to install another antivirus and it will disable Defender in a safer and easier mode (e.g., Avast is the best in this way, and also Panda Cloud Free is good too).

    1. Tweakmaster said on September 29, 2023 at 9:57 am

      U are just * [Editor: removed] thats the problem ;p first of all u shall always debloat windows u shall have max 65 services with your drivers for pc and windows own servs. You didnt know what that script did

  7. boris said on March 10, 2023 at 12:19 am

    You can not stop defender from running in background or remove it without some penalty. All you can do is to limit telemetry.

    1. TelV said on March 10, 2023 at 4:52 pm


      It’s probably Smartscreen which is preventing WD from being disabled. Get rid of that and the problem should be solved:

  8. hoho said on March 10, 2023 at 1:47 pm

    Remove Windows and go for Linux.

    1. basingstoke said on March 10, 2023 at 2:51 pm

      Linux sucks dude. Besides it’s not comparable to Windows, these OSes are in different classes entirely.

      1. Derp said on March 10, 2023 at 4:36 pm

        I use Linux as my daily driver. It’s far more stable than Windows. When’s the last time you used Linux, 2010?

      2. Bromosexual said on March 11, 2023 at 2:04 am


        You’re right, dude. Bro, linux is just a bunch of code that starts before the OS, dude. Brobrodude, that shit ain’t even got emojis, dudebrodudeman! Dudebro, it’s no way near as cool as Windows with its hardcoded abilities to make money off the user, bro. Yo brodude man, you’re the coolest dude ever man, bro. Dude.

      3. basingstoke said on August 16, 2023 at 7:20 pm

        Lol what? Windows 7 doesn’t come with any Emojis

  9. TelV said on March 10, 2023 at 4:46 pm

    Download Autoruns and remove the checkmark from Windows Defender. It doesn’t remove it, but it will never run.

  10. Simon said on March 10, 2023 at 8:37 pm

    Just use “Defender Control”:

    Per this video,
    it also works on Windows 11 too…

  11. Someone said on March 10, 2023 at 9:26 pm

    Win Defender, is completly the most succesful free-built in antivirus of Microsoft. Really nice product. Saved my ass a lot of times. Has updated malware database, completly strong defence
    from whatever smart screen disables. Or if you want better and more upgrated (paid) program,
    you can go further. But defender is always on your side.

  12. CalixtoWVR1 said on March 10, 2023 at 10:03 pm

    Why would one disable Windows (or Microsoft) Defender in the first place?. I consider this to be playing with fire big time. Everybody knows that if one is using another A-V, Defender will be disabled on its own and won’t be in one’s way.

  13. Ed D said on March 10, 2023 at 11:09 pm

    Why would I want to disable Windows Defender in the first place? It’s a great anti virus in my opinion. Been using it since Windows 8 and and never had a problem or a virus. Why mess with a good thing, if it ain’t broke don’t fix it.

  14. owl said on August 17, 2023 at 1:57 am

    How a ridiculous article!
    I am thoroughly stunned.

    Why Should You Disable First-Party Windows Defender?
    I can only think that it is “malice or perversely intention (want you to buy a third-party AV where you can expect a back margin)” to guide invalidation without showing the premise.
    No sane company will use third-party closed source programs (such as AV).

    As I thought, “Ghacks Technology News” seems to be coming to downfall.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.