How-to & tips

Recover Files From a Formatted USB Drive or SD Card on Windows

Formatted a USB drive or SD card by mistake? Stop writing to it, then try Windows File Recovery (winfr) in Extensive mode, or a recovery tool, with a different drive as the destination.

By EpiFive Editorial TeamReviewed/updated 11 min readHow we check our guides

This article contains affiliate links. If you buy through them, EpiFive may earn a commission at no extra cost to you. Details.

On this page

You can often get files back from a formatted USB drive or SD card if you stop using it immediately. A quick format clears the file table and root directory instead of wiping every sector, so recovery software can sometimes still read the old data. Scan the drive with Windows File Recovery (winfr) in Extensive mode, save the results to a different drive, and treat any result as a bonus rather than a promise.

Who this is for and what you will have at the end

This guide is for anyone on Windows 10 or 11 who formatted a USB flash drive or SD card by accident, or who inserted a card and clicked "Format disk" when Windows asked. That includes photographers with a camera card, students with a project on a thumb drive and IT staff asked to help a colleague.

By the end you will know how to stop the damage from getting worse, which scan mode to use, the exact command to run, how to check what came back and what to do when nothing does. It covers recovery only. If you deleted files from the PC instead, see Recover Deleted Files on Windows 11.

Why a formatted drive can sometimes be recovered

Microsoft's format documentation describes the quick format option (/Q) like this: it "deletes the file table and the root directory of a previously formatted volume, but doesn't perform a sector-by-sector scan for bad areas." In other words, the index that says where your files are is removed, but the file contents may still sit on the drive until something overwrites them.

The same page documents a /P switch that does the opposite: it zeroes every sector on the volume. That switch is ignored when /Q is used. So the outcome depends on how the drive was formatted:

What happenedChance the data is still there
Quick format, nothing written afterwardBest case; worth scanning
Quick format, then new files copied onPartly overwritten; expect gaps
Full format or a format that zeroes sectorsUnlikely; a scan may find little or nothing
A new partition created after the formatMicrosoft says this "reduces the chance of a successful recovery"

You usually cannot tell which case you are in until you scan, which is why the first rule is to stop writing to the drive.

Step 1: Stop using the drive

  1. Do not copy, save or create anything on the formatted USB drive or SD card.
  2. Do not format it again, even if a device offers to do so.
  3. Do not create a new partition on it. Microsoft's Windows File Recovery page advises against this because it reduces the chance of recovery.
  4. Take the card out of the camera or phone so it cannot write thumbnails or settings files to it.
  5. Use a card reader or USB port you trust. A loose connection during a scan can cause read errors.

Do not install a recovery tool onto the formatted drive either. Install it on your PC's internal drive.

Step 2: Check the easy places first

Before scanning, check whether a copy exists elsewhere:

  • The original source: the PC, the phone or the camera's internal storage.
  • Cloud sync: OneDrive, Google Photos or iCloud may have uploaded the files from the PC or phone before they reached the card.
  • Email attachments and chat apps you used to send the files.
  • A backup, if you run one. The guide to backing up a Windows 11 PC to an external drive covers free and paid options for the future.

If you find a good copy, you can stop here and leave the formatted drive alone.

Step 3: Find the drive letter and file system

Windows File Recovery needs the drive letter of the formatted drive and a different drive for the output.

  1. Plug in the USB drive or SD card.
  2. Open File Explorer and select This PC.
  3. Note the drive letter, for example E:. A freshly formatted drive appears as empty.
  4. Right-click the drive, choose Properties and read the file system on the General tab (FAT32, exFAT or NTFS).

Note the file system as it is now. A drive that was NTFS before the format and FAT32 after may still be scanned with the same mode; Microsoft's guidance is keyed to the current situation, and Extensive mode is the recommended choice for both a formatted NTFS disk and for any FAT or exFAT drive.

Step 4: Scan with Windows File Recovery (winfr)

Windows File Recovery is Microsoft's free command-line tool for Windows 11 and Windows 10, installed from the Microsoft Store. Microsoft's page notes that recovery on cloud storage and network file shares is not supported, and that the source and destination drives must differ.

Install it

  1. Open the Microsoft Store and search for Windows File Recovery, or follow the link on Microsoft's support page in the References.
  2. Install it from the Store listing.
  3. Open the Start menu, search for Windows File Recovery and open it. Approve the prompt to allow changes. A Command Prompt window opens.

Pick the mode

Microsoft's mode table for this case:

File systemCircumstancesMode
NTFSAfter formattingExtensive
FAT or exFATAnyExtensive

The page states that recovering files from non-NTFS file systems is only supported by Extensive mode. SD cards and small USB drives are typically FAT or exFAT, so Extensive mode is the one to use for most readers of this guide.

Run the command

The syntax from the page is:

winfr source-drive: destination-drive: [/mode] [/switches]

For a formatted card at E: with your internal drive C: as the destination, to recover everything Extensive mode can find:

winfr E: C: /extensive

To recover only certain file types, add /n filters. These wildcard examples follow the form Microsoft shows for /n:

winfr E: C: /extensive /n *.jpg /n *.pdf /n *.docx

To search for a file with a word in its name, use quotes if the name has spaces:

winfr E: C: /extensive /n *invoice*

Press Y when winfr asks you to confirm. You can stop with Ctrl + C. Large cards in Extensive mode can take a long time, so leave the PC plugged in.

Find the results

Microsoft's page says winfr "automatically creates a recovery folder for you called, Recovery_<date and time> on the destination drive." Open the destination drive (for example C:), find that folder and look through it. A log file is saved there by default.

Signature mode as a fallback

Microsoft also lists Signature mode, "a recovery option for all file system types using file headers". Run the command winfr /# in the app to see the supported extension groups, then use /y:<type(s)> to recover specific groups. Signature mode is only for cases where Extensive mode returns too little; check the in-app help (winfr /?) for details first.

Step 5: Consider a graphical recovery tool

If you do not want the command line, a graphical tool may be easier. It is optional: winfr is free and scans the same kind of drive, so a paid tool is a convenience, not a requirement.

The table compares the two options on the same criteria in the same order. The EaseUS facts come from its Data Recovery Wizard free-edition page, read on 2026-11-28.

CriterionWindows File Recovery (winfr)EaseUS Data Recovery Wizard
InterfaceCommand lineGraphical
Formatted USB and SD cardExtensive mode (Microsoft's table)Page lists "Formatted File Recovery" for HDDs, USB flash drives, SD cards
Windows versionsWindows 11 and Windows 10Windows 11/10/8/7 and Windows Server (per the page)
Free limitFree, no stated size limit"Recover up to 2GB data for free"
Paid plansNonePro and Technician
Scan modesRegular, Extensive, Segment, SignaturePage names a "Quick Scan"

EaseUS Data Recovery Wizard Free (affiliate link) is one graphical option. If you try any such tool, follow the same rules as with winfr: install it on a different drive from the one you are recovering from, save recovered files to a third location and use the preview, where one is offered, to check a file opens before you buy a paid edition. EpiFive earns a commission if you buy through the link above; it did not change what the table says. Check the current price on EaseUS's own page, because prices change. No tool, free or paid, can promise your files are recoverable.

Verification: confirm the files are good

  1. Open the recovered folder and sort by date and size. Very small files, often a few kilobytes, can be thumbnails or fragments.
  2. Open a sample of photos, documents and videos. A recovered file that has a name but will not open is damaged or partly overwritten.
  3. Expect that folder names and original file names may not come back. Recovered files can have generic names; you may need to sort them by type.
  4. Copy the good files to a safe location and back them up before you do anything else with the card.
  5. Only after you have the files you need, reformat the card or drive in the device it will be used in.

Troubleshooting

winfr says the source and destination must be different

You pointed the destination at the formatted drive. Choose another drive, such as C: or a second external drive with enough free space.

winfr finds nothing or very little

That can mean the data was overwritten or zeroed, or that the format was a full one. Try Signature mode once (see above). If a graphical tool also finds nothing, a professional data recovery service is the remaining option; it costs money and cannot promise a result either.

The recovery folder is full of unnamed files

This is common after a format, because the file names and folder tree lived in the file table that was removed. Sort by file type and open samples to find what you need.

The drive is not detected, or the card reader keeps disconnecting

Try a different USB port or card reader, and a different cable if the drive is external. A drive that Windows cannot read at all is a hardware problem, and software scans will not help. Do not keep reconnecting a failing drive; each attempt stresses it.

Prevent the next loss

  • Keep a second copy of photos and project files before reformatting or reusing a card.
  • Check the drive letter in the Format dialog before you click Start. Formatting the wrong removable drive is a common mistake.
  • Back up important work to cloud storage or an external drive; one USB stick is a single point of failure.
  • Format a card in the camera or phone that will use it, after you have copied the photos off.

See also

What we checked

  • Opened Microsoft's Windows File Recovery support page on 2026-11-28 and confirmed the Windows 11 and Windows 10 scope, the different source and destination drive requirement, the mode table (Extensive for FAT, exFAT and formatted NTFS), the Recovery_<date and time> folder wording, the /signature, /# and /y: switches and the advice not to create a partition after losing data.
  • Opened Microsoft's format command reference on learn.microsoft.com on 2026-11-28 and quoted the /Q quick format description (deletes the file table and root directory, no sector-by-sector scan) and the /P description (zeroes every sector, ignored with /Q).
  • Cross-checked that winfr's Extensive mode applies to both formatted NTFS and any FAT or exFAT volume (support page table) against the format page's list of file systems (FAT, FAT32, NTFS, exFAT, ReFS, UDF).
  • Opened EaseUS's Data Recovery Wizard free-edition page on 2026-11-28 for the 2GB free limit, supported Windows versions, the formatted-file recovery wording for USB drives and SD cards, the "Quick Scan" name and the Free, Pro and Technician plan names. Prices were not recorded.
  • Checked that the commands shown use only the syntax and switches on Microsoft's page: winfr source: destination: /extensive, /n filters, /signature, /# and /y:.
  • Not tested hands-on: we did not run winfr or EaseUS on a drive, so no recovery result is claimed; steps follow the vendors' documentation as of 2026-11-28.

Last tested: 2026-11-28

References

Questions people ask

Can I recover files after formatting a USB drive or SD card?

Sometimes. A quick format removes the file table and root directory rather than every sector, so recovery software may still find the data if nothing new has been written to the drive. A format that zeroes every sector removes it. No tool can promise a result.

Which winfr mode should I use for a formatted USB drive or SD card?

Extensive. Microsoft's Windows File Recovery page recommends Extensive mode for FAT and exFAT drives in any situation, and for NTFS disks after formatting. Most USB drives and SD cards use FAT32 or exFAT.

Should I save recovered files back to the same USB drive or SD card?

No. Windows File Recovery needs a different source and destination drive, and saving to the original drive can overwrite the files you are trying to get back. Use your internal drive or another external drive.

Is EaseUS Data Recovery Wizard free?

EaseUS's free-edition page says you can recover up to 2GB of data for free, and lists Pro and Technician as the paid plans. We read the page on 2026-11-28; check it for current limits before you rely on it.

Windows 11Windows File RecoveryUSB driveSD cardEaseUS Data Recovery Wizard