TechBuzzPro

Windows File Recovery: How to Recover Deleted Files

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can recover deleted files using Microsoft’s Windows File Recovery tool by running it from the command line with the appropriate mode. The utility works on NTFS, FAT, exFAT and ReFS volumes and can retrieve files that were removed by accident, after a format, or after a failed Windows update.

What You'll Need

  • A Windows 10 (version 2004 or later) or Windows 11 PC. The tool is not available on older versions of Windows.
  • Administrator privileges. You must run the program from an elevated Command Prompt or PowerShell window.
  • Enough free space on a different drive to store the recovered files. The tool writes recovered data to a folder you specify, and it cannot overwrite the source volume.
  • Patience. Recovery can take from a few minutes to several hours depending on the size of the drive and the amount of data to scan.

Step-by-Step

  1. Open the Microsoft Store, search for "Windows File Recovery", and click Get to install the app. The store will automatically download the latest version.
  2. After installation, press Windows+X and choose Windows Terminal (Admin) or Command Prompt (Admin). Confirm the UAC prompt.
  3. Type winfr and press Enter to confirm the tool is recognized. You should see a usage summary that lists the available modes (e.g., Regular, Extensive).
  4. Identify the drive letter of the volume you want to scan (for example, C:). You can see this in File Explorer or by running diskpart then list volume.
  5. Choose a recovery mode. Regular works for most situations where the file system is intact. Extensive is slower but can recover from severely damaged or formatted volumes.
  6. Construct the command syntax: winfr source-drive: destination-folder /mode. For example, to recover from C: to a folder on D: using Regular mode, type:
    winfr C: D:\Recovered /regular
    Replace D:\Recovered with a path on a different drive where you have write permission.
  7. Optionally add filters to narrow the search. Use /n to specify a file path pattern, e.g., /n *.docx to recover only Word documents, or /n "Users\JohnDoe\Pictures\*" for a specific folder.
  8. Press Enter to start the scan. The tool will display progress percentages and estimated time remaining. Do not close the window while the scan is running.
  9. When the scan finishes, Windows File Recovery creates a RecoveredFiles folder (or the folder you specified) and populates it with recovered items, preserving the original directory structure where possible.
  10. Review the recovered files. Verify that the files open correctly. If some files are missing or corrupted, consider re‑running the scan with the /extensive mode or adjusting the filter patterns.

Common Mistakes

  • Running the tool on the same drive you are trying to recover from. This can overwrite sectors that contain the deleted data.
  • Using the default /regular mode on a heavily corrupted volume. In such cases the scan may finish quickly without finding anything.
  • Specifying a destination folder on the source drive. The tool will abort with an error because it cannot write recovered data back to the same volume.
  • Omitting the /n filter when you only need certain file types. Scanning the entire drive without filters can dramatically increase scan time.
  • Running the command without administrator rights. The tool will return an "access denied" message and no recovery will occur.

Tips

  • Always create a fresh backup of the drive (a disk image) before running recovery, especially if the data is critical.
  • If you suspect the drive has physical errors, run chkdsk /f /r first to fix logical issues; then use Windows File Recovery.
  • Use the /y switch to automatically overwrite existing files in the destination folder if you are re‑running a scan.
  • For large drives, consider redirecting the output to a different physical disk to keep the I/O load balanced.
  • Keep the command window open and watch the log messages; they often indicate which sectors are being read and can help you decide whether to switch modes.

Troubleshooting

If the tool does not start, first verify that you are using a supported Windows version (2004/20H2 or later). Update Windows via Settings > Windows Update, then reinstall the app from the Store. If the command returns "Invalid parameter" errors, double‑check the syntax: the source drive must end with a colon (e.g., C:), the destination path must be fully qualified, and the mode flag must be preceded by a forward slash (/regular or /extensive).

When the scan finishes but the destination folder is empty, try the following:

  1. Run the scan again with the /extensive switch, which reads raw sectors instead of relying on the file system index.
  2. Remove any /n filters to allow the tool to search the entire volume.
  3. Check that the drive is not encrypted with BitLocker. If it is, unlock the drive first via manage-bde -unlock or the BitLocker control panel.
  4. Ensure the destination drive has enough free space; insufficient space can cause the tool to abort silently.

Persistent failures may indicate hardware issues. Run the manufacturer’s diagnostic utility or connect the drive to another computer to rule out a faulty SATA/USB connection.

Frequently Asked Questions

Can Windows File Recovery recover files from a formatted drive?

Yes. Using the /extensive mode, the tool scans raw disk sectors and can retrieve files even after a quick format, as long as the sectors have not been overwritten.

Does the tool work on external USB drives?

It works on any drive that Windows can assign a drive letter to, including USB flash drives and external HDDs, provided the file system is supported.

Is there a graphical user interface for Windows File Recovery?

No. The utility is command‑line only; however, the syntax is straightforward and the built‑in help (winfr /?) provides examples.

Can I recover files that were deleted from the Recycle Bin?

Yes. Deleting from the Recycle Bin removes the file’s directory entry, which Windows File Recovery can locate and restore using either mode.

What happens if I run the tool on a BitLocker‑encrypted drive?

The drive must be unlocked first. If it remains encrypted, the tool cannot read the underlying sectors and will return an error.