Windows File Recovery Tool is a Microsoft command-line utility designed to help recover files that have been accidentally deleted from local storage and cannot be restored from the Recycle Bin. It can be useful for recovering documents, photos, videos, ZIP files, and other supported files from internal drives, external drives, and USB storage.
This guide explains what the Windows File Recovery Tool is, how it works, how to install it, which recovery mode to choose, and how to use the winfr command with practical examples. It also explains important limitations and mistakes to avoid when trying to recover deleted data.
Quick Answer: Windows File Recovery is Microsoft’s command-line recovery application. After installing it, you use the
winfrcommand to scan a source drive and save recovered files to a different destination drive. Microsoft recommends minimizing computer use after accidental deletion because new data can overwrite the space occupied by deleted files.
What Is the Windows File Recovery Tool?

The Windows File Recovery Tool is a Microsoft application for recovering deleted files from local storage devices. Unlike traditional graphical recovery programs, it works through Command Prompt-style commands.
The tool is particularly useful when:
- A file was permanently deleted.
- The file is no longer in the Recycle Bin.
- Documents or photos were accidentally removed.
- Files disappeared from a USB drive.
- Data was deleted from an external drive.
- You need to search for specific file types.
- You want to attempt recovery without using third-party recovery software.
Microsoft states that Windows File Recovery can attempt recovery from internal drives, external drives, and USB devices. Cloud storage and network file shares are not supported by the tool.
Is Windows File Recovery Free?
Yes. Windows File Recovery is available as a Microsoft application through the Microsoft Store. It provides a command-line method for attempting to recover deleted files.
However, “free” does not mean that every deleted file can be recovered. Recovery depends on factors such as the storage device, file system, how long ago the file was deleted, and whether the deleted data has been overwritten.
How Does Windows File Recovery Work?
When a file is deleted, the operating system can mark the space occupied by that file as available for new data. The original data may remain until something else overwrites that space.
This is why using the affected drive after deletion can reduce the chance of successful recovery. Microsoft specifically recommends minimizing or avoiding computer use when you want to recover a lost file.
For example, suppose you accidentally delete an important Word document from your C: drive.
If you immediately stop unnecessary activity and run a recovery scan, some of the deleted data may still be available.
If you continue downloading large files, installing applications, editing videos, or copying data to the same drive, new information may use the previously available space.
Simple Example
Imagine your storage drive has this structure:
- Photos
- Documents
- Videos
- Deleted file space
- Other data
After deleting a document, Windows may mark its previous location as available space. If another application writes new data there, part of the deleted document may be overwritten.
That is why quick action is important.
Windows File Recovery Tool vs Free Data Recovery Software for Windows 10
People searching for free data recovery software for Windows 10 may encounter many third-party applications. Windows File Recovery is different because it is Microsoft’s own command-line recovery application.
| Feature | Windows File Recovery | Typical GUI Recovery Software |
|---|---|---|
| Developer | Microsoft | Depends on the software |
| Interface | Command line | Usually graphical |
| Cost | Free Microsoft tool | Free or paid depending on product |
| Recovery method | winfr commands | Point-and-click scanning |
| Internal storage | Supported | Usually supported |
| USB storage | Supported | Usually supported |
| External drives | Supported | Usually supported |
| Cloud/network shares | Not supported | Depends on software |
| Beginner friendly | Requires commands | Usually easier |
| File filters | Supported through switches | Usually available through GUI |
The main advantage of Windows File Recovery is that it is an official Microsoft option. Its main challenge is that users must understand the command syntax.
How to Install Windows File Recovery
Before using the tool, install Windows File Recovery through the Microsoft Store if it is not already installed.
Step 1: Open Microsoft Store
Open the Microsoft Store on your Windows computer.
Search for:
Windows File Recovery
Step 2: Install the Application
Select the Windows File Recovery application and install it.
Step 3: Open Windows File Recovery
After installation, press the Windows key and search for Windows File Recovery.
Open the application.
Microsoft explains that the application opens a Command Prompt window where you enter the recovery command.
Windows File Recovery Command Syntax
The basic command structure is:
winfr source-drive: destination-drive: [/mode] [/switches]
Each part has a specific purpose.
Source Drive
The source drive is where the deleted file originally existed.
For example:
C:
means the recovery scan will search the C: drive.
Destination Drive
The destination drive is where recovered files will be saved.
For example:
E:
Microsoft requires the source and destination drives to be different. This helps prevent recovered data from being written back onto the drive being scanned.
Recovery Mode
The mode determines how Windows File Recovery searches for deleted data.
Microsoft currently documents two basic modes:
- Regular
- Extensive
Switches
Switches refine the search.
For example:
/n *.pdf
can be used to search for PDF files.
Windows File Recovery Regular Mode
Regular mode is intended for certain NTFS recovery situations, particularly when files were deleted recently and the file system is not corrupted.
A simple example is:
winfr C: E: /regular /n \Users\<username>\Documents\
This tells the tool to search the Documents folder on C: and place recovered data on E:.
You can also search for specific file extensions.
For example:
winfr C: E: /regular /n *.pdf
This attempts to recover PDF files.
Another example:
winfr C: E: /regular /n *.docx
This searches for Word documents.
Windows File Recovery Extensive Mode
Extensive mode performs a more thorough recovery process and is useful when Regular mode is not suitable.
Microsoft provides examples for recovering files using Extensive mode, including photos and files identified by their names.
For example:
winfr E: C: /extensive /n *invoice*
This searches the E: drive for files containing “invoice” in the filename.
For photos, you can use:
winfr C: E: /extensive /n \Users\<username>\Pictures\*.JPEG /n \Users\<username>\Pictures\*.PNG
This tells Windows File Recovery to search for JPEG and PNG images in the Pictures folder.
How to Recover Deleted Files Using Windows File Recovery
Follow these steps carefully if you want to attempt file recovery.
Step 1: Stop Unnecessary Activity

If you accidentally deleted an important file, avoid unnecessary use of the affected drive.
Do not immediately:
- Install large applications
- Download large files
- Copy videos to the drive
- Move large folders
- Perform unnecessary system operations
The reason is simple: new data can overwrite space associated with deleted files.
Step 2: Identify the Source Drive
Determine where the deleted file was stored.
Examples:
- C: drive
- D: drive
- USB drive
- External hard drive
If the deleted file was in Documents on C:, your source may be C:.
Step 3: Connect a Different Destination Drive
You need another drive for recovered files.
For example:
C: = Source
E: = Destination
Do not use C: as both the source and destination.
Step 4: Choose a Recovery Mode
Try the appropriate mode based on your situation.
For a supported recent NTFS deletion, Regular mode may be appropriate.
For more difficult recovery situations, Extensive mode may be necessary.
Step 5: Add a File Filter
If you know the file type, use a filter.
For example:
/n *.jpg
for JPG images.
For PDF files:
/n *.pdf
For Word documents:
/n *.docx
Step 6: Run the Command
A basic example is:
winfr C: E: /regular /n *.pdf
Press Y when the application asks for confirmation.
The recovery process may take time depending on the size of the source drive and the search being performed. Microsoft notes that the destination will contain a recovery folder automatically created by the application.
How to Recover Photos
If you accidentally deleted photos, you can search for common image extensions.
For example:
winfr C: E: /extensive /n *.jpg /n *.jpeg /n *.png
You can also narrow the search to a Pictures folder:
winfr C: E: /extensive /n \Users\<username>\Pictures\*.jpg
This can be more useful than searching for every file on the drive because the recovery operation has a more specific target.
How to Recover Word Documents
For Word documents, use the .docx extension.
Example:
winfr C: E: /regular /n *.docx
If you are looking for older or harder-to-find files, you can try Extensive mode:
winfr C: E: /extensive /n *.docx
You can also search by filename when you remember part of the original name.
For example:
winfr C: E: /extensive /n *report*
This can help locate files containing “report” in the filename.
How to Recover PDF Files
PDF recovery can be attempted with:
winfr C: E: /regular /n *.pdf
If Regular mode does not locate the file, you can try:
winfr C: E: /extensive /n *.pdf
The more specific your search filter is, the easier it can be to focus on the type of file you actually need.
Can Windows File Recovery Recover Files From USB Drives?
Yes. Microsoft states that Windows File Recovery can attempt recovery from local storage devices including USB devices.
For example, if your USB drive is D: and your recovery destination is E:, you could use:
winfr D: E: /extensive /n *.docx
For photos:
winfr D: E: /extensive /n *.jpg /n *.png
Always verify the drive letters before running a recovery command.
Can Windows File Recovery Recover Files From an External Hard Drive?
Yes, an external drive can be used as a source for recovery when it is recognized as local storage.
For example:
winfr D: E: /extensive /n *.mp4
Here, D: represents the external drive and E: represents the separate destination drive.
If the external drive is physically failing, repeatedly scanning it may not be the best approach. In situations involving unusual noises, repeated disconnections, severe hardware errors, or important irreplaceable data, professional data recovery may be more appropriate.
Important Limitations of Windows File Recovery
Windows File Recovery is useful, but it is not a guarantee that every deleted file will be restored.
Important limitations include:
Deleted Data May Already Be Overwritten
If new data has replaced the space previously occupied by a deleted file, recovery may be incomplete or impossible.
Cloud Storage Is Not Supported
Microsoft states that Windows File Recovery does not support recovery from cloud storage or network file shares.
It Uses Command-Line Instructions
Users who prefer a graphical interface may find the tool less convenient than traditional recovery applications.
Recovery Results Can Vary
A recovery scan may return files that have incomplete names, damaged content, or files that are no longer usable.
SSD Recovery Can Be Complicated
Modern storage technologies can behave differently from traditional hard drives, so successful recovery cannot be guaranteed simply because a file was recently deleted.
Common Mistakes to Avoid
When using a Windows file recovery tool, mistakes can reduce the chances of successful recovery.
Installing Recovery Software on the Same Drive
If the deleted data is on C:, avoid installing unnecessary applications onto C: after deletion.
Saving Recovered Files to the Source Drive
Do not use the affected drive as the recovery destination when the tool requires a separate destination.
Continuing to Use the Computer Normally
Heavy computer activity can create new files and potentially overwrite deleted data.
Choosing the Wrong Drive Letter
Always verify the source and destination drives before pressing Y.
Recovering Everything Without a Filter
If you only need PDF documents, using a PDF filter can make the recovery task more focused.
Assuming Recovery Is Guaranteed
No data recovery tool can guarantee successful recovery in every situation.
Windows File Recovery vs Windows Backup and File History
File recovery and backup are not the same thing.
Backup creates another copy of your data before something goes wrong.
Recovery attempts to retrieve or restore data after it has already been lost.
Microsoft describes File History as a Windows feature that automatically backs up personal files such as documents, photos, and videos to an external drive or network location.
If File History or another backup already contains the missing file, restoring the backup may be simpler than attempting deleted-file recovery.
This is why a good Windows data protection strategy should include backups rather than relying only on recovery software.
What If Windows Files Are Corrupted?
Windows File Recovery is mainly for recovering lost or deleted files. It should not be confused with tools designed to repair corrupted Windows system files.
If Windows itself has damaged system files, Microsoft provides tools such as DISM and System File Checker (SFC) for system-file repair.
For example:
sfc /scannow
is an SFC command used to scan protected system files for corruption.
This is different from:
winfr
which is used for file recovery.
Understanding this difference can prevent you from using the wrong Windows tool for the problem.
Windows 10 Users: An Important Note
Windows 10 support ended on October 14, 2025, according to Microsoft. The operating system can still work, but Microsoft no longer provides free software updates, technical assistance, or security fixes through the normal Windows Update support lifecycle.
If you are still using Windows 10, consider Microsoft’s current upgrade guidance when planning your long-term system setup.
For data recovery specifically, always verify that the tool and recovery method are compatible with your current Windows installation and storage configuration.
Tips for Safer Data Recovery
Use these practical tips before attempting recovery:
- Stop unnecessary activity on the affected drive.
- Identify the correct source drive.
- Prepare a separate destination drive.
- Use the correct recovery mode.
- Use file filters when you know the file type.
- Save recovered files somewhere other than the source drive.
- Check recovered files immediately after the scan.
- Keep regular backups of important documents and photos.
The most important rule is simple: do not treat file recovery as a replacement for backup.
If you are looking for Free Data Recovery Software for Windows 10, this guide explains common options for recovering deleted, lost, or inaccessible files. You can also explore our Windows and technology guides for additional troubleshooting tips. For official Windows recovery information and support, visit Microsoft Support.
Frequently Asked Questions
Is Windows File Recovery completely free?
Windows File Recovery is Microsoft’s free command-line application for attempting to recover deleted files from supported local storage devices. However, successful recovery is not guaranteed. Whether a file can be recovered depends on factors such as overwriting, storage type, file system, and the condition of the data.
Can Windows File Recovery recover permanently deleted files?
It can attempt to recover files that were deleted and are no longer available in the Recycle Bin. However, permanently deleted does not mean guaranteed recovery. If the storage space containing the deleted data has been overwritten, the original file may be damaged or unrecoverable.
What is the best free data recovery software for Windows 10?
Windows File Recovery is one official free option from Microsoft, but it uses a command-line interface rather than a graphical interface. It is useful for users comfortable with commands. Other recovery applications may offer easier interfaces, but their features, limitations, pricing, and trustworthiness vary.
Can I recover files from a USB drive with Windows File Recovery?
Yes. Microsoft says Windows File Recovery can attempt to recover deleted files from local storage devices, including USB devices. You need to identify the USB drive’s correct drive letter and use a different destination drive for the recovered files.
Why should recovered files be saved to another drive?
Saving recovered files to another drive helps prevent the recovery process from writing new data to the same storage area where deleted information may still exist. Microsoft specifically requires the source and destination drives to be different when using Windows File Recovery.
Conclusion
The Windows File Recovery Tool provides a Microsoft-supported way to attempt recovery of deleted files from local Windows storage. Its biggest difference from many traditional recovery applications is its command-line interface, which gives users direct control over the recovery command and file filters.
For a successful recovery attempt, stop unnecessary activity on the affected drive, identify the correct source and destination drives, choose an appropriate recovery mode, and use filters when possible.
If the deleted data is important, avoid experimenting unnecessarily with the affected storage device. And for future protection, maintain regular backups through Windows Backup, File History, cloud storage, or another reliable backup solution.
Practical next step: If you have just deleted a file, stop using the affected drive, connect a separate destination drive, install Windows File Recovery from the Microsoft Store, and carefully verify the winfr command before starting the recovery process.

