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 happened | Chance the data is still there |
|---|---|
| Quick format, nothing written afterward | Best case; worth scanning |
| Quick format, then new files copied on | Partly overwritten; expect gaps |
| Full format or a format that zeroes sectors | Unlikely; a scan may find little or nothing |
| A new partition created after the format | Microsoft 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
- Do not copy, save or create anything on the formatted USB drive or SD card.
- Do not format it again, even if a device offers to do so.
- Do not create a new partition on it. Microsoft's Windows File Recovery page advises against this because it reduces the chance of recovery.
- Take the card out of the camera or phone so it cannot write thumbnails or settings files to it.
- 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.
- Plug in the USB drive or SD card.
- Open File Explorer and select This PC.
- Note the drive letter, for example
E:. A freshly formatted drive appears as empty. - 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
- Open the Microsoft Store and search for Windows File Recovery, or follow the link on Microsoft's support page in the References.
- Install it from the Store listing.
- 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 system | Circumstances | Mode |
|---|---|---|
| NTFS | After formatting | Extensive |
| FAT or exFAT | Any | Extensive |
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: /extensiveTo 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 *.docxTo 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.
| Criterion | Windows File Recovery (winfr) | EaseUS Data Recovery Wizard |
|---|---|---|
| Interface | Command line | Graphical |
| Formatted USB and SD card | Extensive mode (Microsoft's table) | Page lists "Formatted File Recovery" for HDDs, USB flash drives, SD cards |
| Windows versions | Windows 11 and Windows 10 | Windows 11/10/8/7 and Windows Server (per the page) |
| Free limit | Free, no stated size limit | "Recover up to 2GB data for free" |
| Paid plans | None | Pro and Technician |
| Scan modes | Regular, Extensive, Segment, Signature | Page 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
- Open the recovered folder and sort by date and size. Very small files, often a few kilobytes, can be thumbnails or fragments.
- Open a sample of photos, documents and videos. A recovered file that has a name but will not open is damaged or partly overwritten.
- 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.
- Copy the good files to a safe location and back them up before you do anything else with the card.
- 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
- How to Move Files, Settings and Programs to a New Windows 11 PC (Free Ways First)
- Windows 11 Clean Install from USB with the Media Creation Tool
- Best Partition Managers for Windows 11: Disk Management vs AOMEI and More
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
formatcommand reference on learn.microsoft.com on 2026-11-28 and quoted the/Qquick format description (deletes the file table and root directory, no sector-by-sector scan) and the/Pdescription (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
formatpage'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,/nfilters,/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
Comments
Questions and tips are welcome. Comments are checked by the EpiFive team before they appear; please do not share passwords, phone numbers or other private details.