Recover Deleted Files From USB or SD Card in Windows
In this article
- Why Deleted Files Can Still Be Recovered
- Immediate Steps to Maximize Recovery Success
- How File Recovery Software Works
- Choosing the Right Recovery Tool
- Step-by-Step Recovery Process in Windows
- Common Problems and Misconceptions
- Costs and Free Alternatives
- How to Avoid Future Data Loss
- Frequently Asked Questions
To recover deleted files from a USB drive or SD card in Windows, stop using the drive immediately and use a reputable file recovery program that supports the file system on your card or drive. The most reliable first step is to make a full disk image of the drive and scan that image, rather than scanning the live drive, which prevents further overwriting of your deleted data.
Why Deleted Files Can Still Be Recovered
When you delete a file from a USB drive or SD card, Windows does not immediately erase the data. Instead, it marks the space occupied by the file as available for reuse. The actual file content remains on the storage medium until new data is written over it. This is why recovery is often possible—the deleted file's data is still physically present, just no longer referenced by the file system.
The key difference between a hard drive and a USB/SD card is how the file system handles deletion. On a typical USB drive formatted as FAT32 or exFAT, the directory entry is cleared and the clusters are marked as free. On an SD card, the same principle applies, but many cards use a wear-leveling controller that can move data around, which can make recovery slightly more complex but still often successful.
Immediate Steps to Maximize Recovery Success
The single most important rule is to stop using the device as soon as you realize files are missing. Every new file saved, every photo taken, or even just opening a document can overwrite the deleted data. Follow these steps in order:
- Remove the USB drive or SD card from the computer immediately.
- If it is an SD card, set the write-protect switch to the locked position if present.
- Do not format the drive, run CHKDSK, or attempt to "repair" it—these actions can overwrite data.
- Connect the drive to a different USB port or card reader if the current one is unreliable.
- If possible, use a different computer to avoid any background processes that might write to the drive.
If you have already written new files to the drive after the deletion, your chances of recovery drop, but they are not zero. The recovery software may still find fragments of the original files, especially if the new files are small or were written to different areas of the storage.
How File Recovery Software Works
Recovery tools scan the raw storage for signatures of known file types (like JPEG, PNG, DOCX, ZIP) or they parse the file system's metadata to find entries that have been marked as deleted but not yet overwritten. Two main approaches exist:
- File system scan: This reads the directory structure and finds deleted entries. It is fast and preserves original file names and folder structures, but only works if the file system metadata is intact.
- Raw file carving: This scans the entire drive for file signatures, ignoring the file system. It is slower but can recover files even if the directory is damaged or the drive was reformatted. It often loses original file names and folder structure.
Most good recovery programs offer both options. For a simple accidental deletion, the file system scan is usually sufficient. For a formatted card or a corrupted file system, raw carving is the better choice.
Choosing the Right Recovery Tool
There are many recovery programs available, both free and paid. The right choice depends on your situation. Free tools like PhotoRec (open source) are powerful but have a command-line interface that can be intimidating. Others like Recuva (free for basic use) offer a graphical interface and are easier for beginners. Paid tools like R-Studio or Disk Drill offer more advanced features, such as disk imaging and better support for damaged file systems.
When choosing, consider:
- File system support: Ensure the tool supports FAT32, exFAT, and NTFS (common on USB drives) as well as the SD card's native format (usually FAT32 or exFAT).
- Disk imaging: A tool that can create a full image of the drive is essential for safe recovery. You scan the image, not the live drive.
- Preview capability: Before recovering, you should be able to preview files to confirm they are intact and not corrupted.
- Recovery to a different drive: The software must allow you to save recovered files to a different physical drive, never back onto the same USB or SD card.
Do not install the recovery software on the same drive you are trying to recover from. Install it on your computer's internal drive or another external drive.
Step-by-Step Recovery Process in Windows
Once you have chosen a tool, the process generally follows these steps. The exact menu names vary by program, but the logic is the same:
- Connect the USB drive or insert the SD card into a card reader on your Windows PC.
- Open the recovery software. If prompted, select the drive you want to scan. Do not select your internal hard drive.
- Choose the scan type. Start with a quick/deleted file scan. If that does not find your files, run a deep scan or raw carving.
- Wait for the scan to finish. This can take from minutes to hours depending on the drive size and scan type.
- Browse the results. Look for your files by name, type, or date. Use the preview function to verify the file is intact.
- Select the files you want to recover and specify a destination folder on a different drive (e.g., your Desktop or an external hard drive).
- Click Recover and wait for the process to complete.
If the quick scan does not find your files, do not give up. Run a deep scan, which searches every sector of the drive. This is more likely to find files that were deleted a long time ago or after a format.
Common Problems and Misconceptions
One of the most common misconceptions is that formatting a USB or SD card permanently erases all data. A quick format only removes the file system index, not the actual data. A full format (which writes zeros to the entire drive) will make recovery virtually impossible, but most people do a quick format by default. Even after a quick format, recovery software can often find the old files.
Another issue is that many people try to recover files to the same drive they are recovering from. This is a critical mistake because the recovered files are written to the same storage, potentially overwriting the very data you are trying to save. Always save recovered files to a different drive.
Some users attempt to use Windows built-in tools like File History or Previous Versions. These only work if you had set up backups before the deletion. They do not help with files that were never backed up. Similarly, the Recycle Bin does not apply to USB drives or SD cards; files deleted from these devices are permanently removed from the file system's view immediately.
Costs and Free Alternatives
Recovery software ranges from completely free to several hundred dollars for professional-grade tools. Free tools are often sufficient for simple deletions. PhotoRec is completely free and open source, and it can recover many file types. Recuva has a free version that includes most features needed for basic recovery, though the paid version adds virtual hard drive support and automatic updates.
Paid tools like R-Studio or Disk Drill offer more advanced features such as disk imaging, RAID reconstruction, and better support for damaged drives. If your data is extremely valuable (e.g., irreplaceable family photos) and free tools fail, a paid tool or a professional data recovery service may be worth the cost. Professional services can cost hundreds or thousands of dollars, but they have cleanroom facilities and specialized hardware for physically damaged drives.
How to Avoid Future Data Loss
Recovery is never guaranteed, so prevention is the best strategy. Here are practical steps to protect your data:
- Keep backups of important files on a separate drive or cloud storage.
- Eject USB drives and SD cards properly before removing them to prevent file system corruption.
- Use high-quality cards and drives from reputable brands, as cheap ones are more prone to failure.
- Periodically check the health of your storage with tools like CrystalDiskInfo (for drives) or the SD Association's SD Card Formatter.
- If you must reuse a card or drive, format it in the device it will be used with (e.g., camera, phone) to ensure compatibility.
Frequently Asked Questions
Can I recover files from a USB drive that was formatted?
Yes, if it was a quick format. The data is still on the drive, just not indexed. Use recovery software with a deep scan mode. If it was a full format (zeros written), recovery is nearly impossible.
How long does recovery take?
It depends on the drive size and scan type. A quick scan of a 32GB card might take 5-10 minutes. A deep scan can take several hours. Larger drives and slower USB connections increase the time.
Will recovery software damage my USB or SD card?
No, recovery software only reads data. It does not write to the drive unless you specifically choose to recover files to it. The main risk is not the software, but continuing to use the drive normally, which can overwrite data.
Can I recover files from a corrupted SD card?
Yes, often. If the card is not physically damaged, recovery software can bypass the corrupted file system and use raw carving to extract files. If the card is physically damaged, you may need professional help.
What is the difference between quick scan and deep scan?
A quick scan looks at the file system's deleted entries, which is fast but only finds recently deleted files. A deep scan searches every sector for file signatures, which is slower but can find older files or files after a format.
Is it possible to recover files after I have written new data to the drive?
Yes, but only if the new data has not overwritten the deleted files' clusters. The more you write, the lower the chance. Stop using the drive immediately and run recovery as soon as possible.