keepcalculator

06 Numbers and Powers

Recover Deleted Media Files from Removable Media

Card No. 06·4385 · Updated · Standard formula, shown below

Yes, deleted media files from removable media (SD cards, USB drives, external hard drives) can usually be recovered, provided the space they occupied hasn’t been overwritten by new data. You need recovery software that scans the drive at a low level, and the sooner you stop using the media and run the scan, the higher your chances of getting your photos, videos, and audio back. This article explains how the process works, what affects your odds, and the steps to maximize successful recovery.

How Deletion Works on Removable Media

When you delete a file from an SD card or USB stick, the operating system doesn’t erase the actual data. It simply marks the space as available. The file’s directory entry is removed, and the clusters (small storage units) are flagged as free. Until new files are written to those exact clusters, the original data remains physically intact. This is why recovery is possible at all.

On flash memory (SD cards, USB flash drives), there is an additional layer: the controller performs wear leveling, which spreads writes across the memory to prolong its life. This means that even if you don’t deliberately save new files, the controller may move data around, potentially overwriting deleted content. For external hard drives (spinning disks), the deleted data stays put until overwritten, so recovery is often more straightforward.

Key Factors That Determine Recoverability

  • Time since deletion: The longer you wait, the higher the chance that new files have been written to the same space.
  • Amount of new data: If you’ve copied hundreds of new photos onto the card, the old ones are likely gone.
  • File system: NTFS, exFAT, FAT32, and APFS handle deletion differently, but all leave recoverable data initially.
  • TRIM (for SSDs and some USB drives): TRIM tells the drive to physically erase deleted blocks, making recovery impossible. Many USB flash drives don’t support TRIM, but external SSDs often do.
  • Physical damage: If the media is corrupted or has bad sectors, recovery becomes harder but not always impossible.

A common misconception is that formatting completely wipes a drive. A quick format only removes the file system index, leaving the data behind. A full format on a hard drive writes zeros across the entire disk, but on flash media, the controller may still retain data in spare blocks. In practice, after a quick format, recovery is often still possible.

How Recovery Software Works

Recovery tools scan the raw sectors of the drive, looking for known file signatures. For example, JPEG files start with the bytes FF D8 FF, and MP4 files have a recognizable structure. The software reads every sector, identifies these signatures, and reconstructs files by following the file system’s metadata or by using the signatures alone (called “carving”).

Two main scanning methods exist:

  • Quick scan: Reads the file system’s directory and finds recently deleted entries. Fast, but only works if the directory entry hasn’t been reused.
  • Deep scan: Scans every sector for file signatures. Slower (can take hours on a large drive) but can find files even when the directory is gone.

Most reputable recovery tools offer both. Deep scan is your best bet after a format or if the directory is corrupted.

Step-by-Step Recovery Process

  1. Stop using the media immediately. Remove it from the device and do not save anything else to it.
  2. Connect the media to a computer using a card reader or USB port. Avoid using the same drive for the recovery software installation.
  3. Choose a recovery program that supports your file system and media type. Free options exist, but paid tools often have better deep-scan algorithms.
  4. Run a quick scan first. If you find your files, recover them to a different drive (not the same one).
  5. If quick scan fails, run a deep scan. This may take hours, so be patient.
  6. Preview the recovered files to confirm they are intact, then save them to your computer or another external drive.

Always save recovered files to a different storage device. Writing recovered data back to the same media risks overwriting the very files you’re trying to save.

Choosing the Right Recovery Tool

There are many recovery programs, ranging from free open-source utilities to commercial suites. Key features to look for:

  • File type support: Ensure it covers your media formats (JPEG, RAW, MP4, MOV, MP3, etc.).
  • File system support: NTFS, exFAT, FAT32, HFS+, APFS, ext4.
  • Deep scan capability: Essential for formatted or corrupted drives.
  • Preview function: Lets you see thumbnails before paying for the full version.
  • Ease of use: A wizard-based interface helps if you’re not technical.

Free tools like PhotoRec are powerful but command-line based. GUI-based free tools often have file size limits or only recover a certain percentage of files until you pay. For a one-time recovery, a free tool may suffice; for frequent use or professional work, a paid tool with better support is worth it.

Common Problems and Their Solutions

Recovered files won’t open: The file may be partially overwritten or the signature was a false positive. Try a different tool or a deeper scan. Sometimes a file is split across non-contiguous clusters, and the software can’t reassemble it correctly.

Drive not recognized: If the media isn’t showing up, try a different card reader or USB port. If the drive is corrupted, some tools can create a disk image (a raw copy) and scan that instead, which is safer.

Scan takes forever: Deep scans on large drives (e.g., 256 GB SD card) can take 6–12 hours. That’s normal. Use a powered USB hub to avoid disconnects.

Recovered files have wrong names: After a deep scan, files are often renamed to generic names like file0001.jpg. That’s because the original directory entry is lost. You’ll need to manually sort them.

When Recovery Is Not Possible

There are situations where no software can help:

  • TRIM has been executed: On SSDs and some USB 3.0 flash drives, the OS may issue TRIM commands that physically erase deleted data.
  • Overwritten data: If new files have been written over the deleted ones, the original data is gone.
  • Physical damage: If the memory chip is fried or the controller is dead, software can’t read it. Professional data recovery services use specialized hardware to read chips directly, but that’s expensive.
  • Encrypted media: If the drive was encrypted (e.g., BitLocker, VeraCrypt) and you don’t have the key, recovery is impossible even if the data is intact.

If the media is physically damaged, stop trying to read it. Further attempts can cause more damage. Professional recovery services can cost hundreds of dollars but may be the only option for irreplaceable photos.

Prevention: Better Than Recovery

The best way to avoid this situation is to have a backup. For photographers, that means copying images to a computer or cloud service immediately after a shoot. For USB drives, consider using versioning or sync tools. Also, safely eject media before removing it—unplugging mid-write can corrupt the file system and lead to apparent “deletion” of files that are actually still there but inaccessible.

If you must delete files, remember that “delete” is not “erase.” To permanently erase sensitive data, use a secure wipe tool that overwrites the space with random data. But for normal media, just be aware that deleted files linger until overwritten.

Frequently Asked Questions

Can I recover files from a formatted SD card?

Yes, if it was a quick format. The file system is rebuilt, but the data remains until overwritten. Use a deep scan to find files by signature. A full format (which writes zeros) makes recovery impossible on hard drives, but on flash media, some data may still survive in spare blocks.

How long does a deep scan take?

It depends on the drive size and speed. A 64 GB card might take 1–2 hours; a 1 TB external drive could take 8–12 hours. The scan reads every sector, so larger drives take proportionally longer.

Is it safe to use free recovery software?

Yes, but be cautious. Stick to well-known tools like PhotoRec, Recuva, or TestDisk. Avoid downloading from random sites. Free tools may have limitations, but they won’t harm your data if used correctly.

Can I recover files after I’ve already written new data to the drive?

Possibly. If the new data didn’t overwrite the deleted files’ clusters, they can still be recovered. But each new write reduces the chance. Stop using the drive immediately to maximize the odds.

What’s the difference between quick and deep scan?

Quick scan reads the file system’s directory and looks for recently deleted entries. It’s fast but fails if the directory entry is gone. Deep scan ignores the directory and scans raw sectors for file signatures, making it slower but far more thorough.

Will recovery software damage my drive?

No, recovery software only reads the drive. It doesn’t write anything unless you choose to recover files to the same drive (which you shouldn’t). Running a scan is safe for the media.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →