Windows File Recovery is a free tool from Microsoft that searches your hard drive for deleted files and restores them to a folder you choose

When you delete a file in Windows, the file doesn't vanish immediately. Instead, Windows marks the space as available for new data, but the original file often remains on your drive until something else overwrites it. Windows File Recovery scans your drive for these leftover files and lets you save them back to a working location. It works on Windows 10 and Windows 11, and you can download it free from the Microsoft Store.

The tool is most effective when you act quickly — the sooner you stop using your computer after deletion, the less chance that new data has overwritten your lost files. If you deleted something weeks ago and have been using your computer normally since then, recovery becomes less likely but is still worth attempting.

Key Takeaways

  • Windows File Recovery is free and built by Microsoft, available only through the Microsoft Store on Windows 10 and 11.
  • The tool works best immediately after deletion, before new files overwrite the space where your deleted files lived.
  • You must run the tool from Command Prompt using text commands, not through a regular graphical interface.
  • Recovery success depends on your drive type and how much new data has been written since deletion — solid-state drives (SSDs) are harder to recover from than traditional hard drives (HDDs).
  • You should recover files to a different drive than the one you're scanning, to avoid overwriting the data you're trying to find.

Installing Windows File Recovery from the Microsoft Store

Open the Microsoft Store on your Windows computer. Search for "Windows File Recovery" and select the official app published by Microsoft Corporation. Click the "Get" button, then "Install". The download is about 50 MB and takes a few minutes on a typical internet connection.

Once installed, the app does not appear in your Start menu as a regular program. Instead, you launch it through Command Prompt, which is a text-based interface where you type commands rather than clicking buttons. If you have never used Command Prompt before, the learning curve is small — you will only need to type one specific command.

Opening Command Prompt and Running the Recovery Scan

Press the Windows key on your keyboard, type "command prompt", and select "Command Prompt" from the results. Right-click it and choose "Run as administrator" — the tool requires administrator permissions to scan your drive. A black window will open where you can type commands.

In Command Prompt, type the following command and press Enter:

winfr C: D: /n *.docx

This command tells Windows File Recovery to scan drive C (your main drive) and save recovered files to drive D (a second drive or external drive). The /n *.docx part tells it to look only for Word documents. You can change the file type — use *.jpg for photos, *.pdf for PDFs, *.mp4 for videos, or remove the file type entirely to search for all files.

The scan can take 10 minutes to several hours depending on your drive size and how much data it contains. Do not interrupt the scan or close Command Prompt while it runs. When the scan finishes, Windows File Recovery will tell you how many files it found and where it saved them.

Understanding Recovery Modes and When to Use Each

Windows File Recovery has three scanning modes that search with different levels of intensity. The default mode is "Segment", which is fast but works best if you deleted files recently. To use a different mode, add it to your command. For example:

winfr C: D: /n *.docx /segment

The "Signature" mode searches more thoroughly by looking for file signatures — the unique patterns at the start of each file type — rather than relying on Windows file records. This mode is slower but works better for files deleted a long time ago or on drives that have been heavily used. Use it like this:

winfr C: D: /n *.docx /signature

The "Exhaustive" mode is the slowest and most thorough, scanning every part of your drive. Use it only if Signature mode finds nothing and the file is important enough to wait several hours. Most people never need Exhaustive mode.

Why Recovery Works Better on Some Drives Than Others

Traditional hard drives (HDDs) store data in a way that makes recovery easier. When you delete a file, the space remains readable for a long time, and Windows File Recovery can usually find it. Solid-state drives (SSDs) use a technology called TRIM that automatically erases deleted data to improve performance, which makes recovery much harder or impossible.

If you are recovering from an SSD, do not expect the same success rate as an HDD. The Signature mode has the best chance on SSDs because it searches for file patterns rather than relying on file records that TRIM may have already cleared. If you have an important file on an SSD and recovery fails, a professional data recovery service may be able to help, though this is expensive.

Recovering to an External Drive or Second Drive

The safest approach is to recover files to a drive other than the one you are scanning. If you only have one drive, connect an external USB drive or external hard drive to your computer before starting the scan. Windows will assign it a drive letter — usually E: or F: — and you can use that letter in your recovery command.

For example, if your external drive is E:, type:

winfr C: E: /n *.docx

Recovering to a different drive prevents new recovered files from overwriting the deleted data you are trying to find. It also keeps your main drive free of clutter while the recovery process runs.

What to Do If the Recovery Finds Nothing

If Windows File Recovery scans your drive and finds no files, it usually means one of three things: the files were overwritten by new data, your drive uses technology that erases deleted files automatically (common on SSDs), or the files were on a drive that has failed physically.

If you believe the files are still there, try running the scan again using Signature mode instead of Segment mode — it searches more thoroughly and may find files the first scan missed. If Signature mode also finds nothing, the data is likely gone or requires professional recovery.

For physically damaged drives — drives that make clicking sounds, do not appear in Windows, or are not recognized by your computer — Windows File Recovery cannot help. A professional data recovery service is the only option, and it is expensive because it requires opening the drive in a clean room.

Frequently Asked Questions

Can I recover files from a drive that Windows no longer recognizes?

No. Windows File Recovery needs the drive to be visible and readable in Windows. If your drive does not appear in File Explorer or Command Prompt, it has a hardware problem that requires professional recovery. If the drive appears but you cannot open it, try right-clicking it in File Explorer and selecting "Format" — this may make it readable again, though it will erase any remaining data.

How long does a full drive scan take?

A Segment scan of a 1 TB drive usually takes 10 to 30 minutes. A Signature scan takes 1 to 4 hours. An Exhaustive scan can take 8 to 24 hours. The exact time depends on your drive speed and how full it is. Larger drives and fuller drives take longer.

Will Windows File Recovery recover my files with their original names and folder structure?

Usually not. Recovered files are saved with generic names like "FILE0001.docx" in a single folder, not organized by their original folder structure. You will need to rename and organize them yourself. This is why acting quickly after deletion matters — the sooner you recover, the more likely Windows still has the original file names in its records.

Is it safe to keep using my computer while Windows File Recovery scans?

No. Every file you create, download, or modify while the scan runs risks overwriting the deleted data you are trying to recover. Close all other programs and avoid using your computer until the scan finishes.

What if I accidentally deleted files from an external drive?

Windows File Recovery works on external drives too. Connect the external drive, note its drive letter, and use it as the source drive in your command. For example, if your external drive is F:, type: winfr F: D: /n *.docx to scan the external drive and save recovered files to drive D.