How to use Windows File Recovery (winfr)
Windows File Recovery is a free Microsoft command line app for Windows 10 and 11. Install it from the Microsoft Store, open it as admin and type winfr, the source drive, a different destination drive, a mode and /n filters. Use regular mode for recent NTFS deletions and extensive for older losses, formatted disks or FAT and exFAT cards. Results are not guaranteed.
Checked November 10, 2026 against the manufacturer's own pages.
The short version
What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.
Official files only, nothing bundled
Step by step
Get a destination drive ready
Plug in a USB drive or use a second partition with enough free space. The tool refuses to write to the drive it is scanning, and doing so would wreck the data anyway.
Install and open the app
Search for Windows File Recovery in the Microsoft Store and install it. Then type its name in Start, open it and select Yes at the admin prompt. A Command Prompt window appears.
Check the file system
Right-click the source drive in File Explorer and choose Properties. NTFS with a recent deletion means regular mode. FAT, exFAT, an old deletion, a format or a damaged disk means extensive mode.
Run a regular scan
Example for a whole Documents folder on C: saved to E: : winfr C: E: /regular /n \Users\<username>\Documents\ . For two types at once: winfr C: E: /regular /n *.pdf /n *.docx
Run an extensive scan if needed
Example that hunts any file with invoice in its name on E: and saves to C: : winfr E: C: /extensive /n *invoice* . It takes longer; press Ctrl+C to stop.
Open the results
Go to the destination drive and open the Recovery folder named with the date and time. Check each file opens before you delete anything else.
If the free methods found nothing
Deleted files usually stay on the drive until new data overwrites them. A recovery program reads the drive directly, lists what can still be saved and lets you preview it before restoring. Save recovered files to a different drive.
Find and preview your deleted files
Scans hard drives, USB sticks and memory cards, including quick-formatted ones, and shows what can be recovered.
Auslogics File Recovery 12 · Free scan and preview · NTFS, FAT, exFAT · Windows 11, 10, 8, 7
Which winfr mode fits your case
Microsoft keeps the choice simple. Start with regular when in doubt, then move on if it finds nothing.
| File system | Situation | Mode |
|---|---|---|
| NTFS | Deleted recently | Regular |
| NTFS | Deleted a while ago | Extensive |
| NTFS | Drive was formatted | Extensive |
| NTFS | Corrupted disk | Extensive |
| FAT or exFAT | Any loss | Extensive |
Regular mode reads the NTFS master file table, so it is quick and keeps original names and folders. Extensive mode also searches by file headers, which is why it works on memory cards and after a format, but names and paths may be lost.
Useful switches and advanced modes
The /n filter does most of the work. It accepts a full path, a file name, a type such as *.png, or a wildcard like budget. Repeat it to search several types in one run. /a skips prompts, which helps in scripts. /p: followed by a folder writes the log somewhere other than the destination. Advanced users can call /ntfs for healthy NTFS drives, /segment to read file record segments, or /signature with /y: and a list of extension groups; /# prints those groups. /o: sets what happens when a file already exists in the output: a for overwrite, n for never, b for keep both.
Before and after you run it
Hold off on chkdsk /f or /r until the scan is done. Both fix errors by changing the volume, and Microsoft notes that repairs on FAT drives change the file allocation table and sometimes lose data. Recover first, then check the disk. On the system drive, results often include system files that Windows created and deleted on its own, so tight /n filters save time. Microsoft also warns that SSDs are more likely to have overwritten free space, so a quick scan beats a delayed one. If the drive is BitLocker encrypted, unlock it with its key first.
Questions
Does winfr have a graphical interface?
No. Microsoft ships it as a command line tool only. You type the commands in the window it opens.
Why does it say source and destination cannot be the same?
Microsoft requires them to be different drives or partitions. With one internal drive, use an external or USB drive as the destination.
Why are .exe or .dll files missing from my results?
By default winfr filters out many system and program file types. Microsoft documents the /e switch to turn off that default filter.
Can I use it on a corrupted drive?
Microsoft lists extensive mode for corrupted disks. If the drive has physical faults, such as clicking or not being detected, stop and contact a recovery lab instead.
How do I type a folder with spaces?
Wrap the path in double quotes, for example a Quarterly Statement document under Documents. A folder filter also needs a trailing backslash.