How To Recover Deleted Files In Windows 11 (2026)
If a file is gone from your Windows 11 PC and is not in the Recycle Bin, Microsoft’s Windows File Recovery app may be able to get it back.
Deleted data stays recoverable only until Windows writes new files over that space, so stop using the PC as much as you can.
The steps below follow Microsoft’s Windows File Recovery and File History pages.
Recover deleted files quick answer
| Step | What to do |
|---|---|
| 1. Look in your backups | Check the Recycle Bin, File History, OneDrive or any backup first |
| 2. Stop using the drive | New files can overwrite deleted data |
| 3. Install the app | Get Windows File Recovery from the Microsoft Store |
| 4. Run a command | winfr source-drive: destination-drive: /mode /n filter |
| 5. Open the recovered folder | Windows creates Recovery_ followed by the date and time on the destination |
Try your backups before the app
Microsoft says Windows File Recovery is for files that cannot be restored from the Recycle Bin, and tells you to check your backup first.
If you use OneDrive, see our guide to restoring deleted files in OneDrive.
Deleted data stays recoverable until Windows writes new files over that free space, so the sooner you start, the better.
Microsoft’s page applies to both Windows 11 and Windows 10, and notes that Windows 10 support ended October 14, 2025.
It also says Windows File Recovery works on local storage only, not on files held in the cloud.
Restore a previous version with File History
This works only if File History was already turned on.
To turn it on, go to Control Panel > System and Security > Save backup copies of your files with File History, then select Turn on, after connecting an external drive or choosing a network location.
- Open File Explorer and go to the folder that held the item.
- Right-click the folder name and select Restore previous versions.
- On the Previous Versions tab, pick a version saved before the loss.
- Select Restore, or expand it and choose Restore to to pick a different location.
Microsoft warns that Restore replaces the current version and cannot be undone.
To set it up for next time, read our File History guide.
What Windows File Recovery can and cannot do
- It recovers files deleted from internal drives, external drives and USB devices.
- It cannot recover files from cloud storage or network file shares.
- It runs as a command-line app in a Command Prompt window.
Install Windows File Recovery
- Get Windows File Recovery from the Microsoft Store.
- Press the Windows key, search for Windows File Recovery, and select it.
- Approve the prompt that lets the app make changes to your device.
Choose a recovery mode
Microsoft suggests starting with Regular and trying Extensive if it fails.
| Mode | Use it for | File systems |
|---|---|---|
| /regular | Recently deleted files on a drive that is not corrupted | NTFS |
| /extensive | Older deletions, formatted or corrupted disks | All, including FAT and exFAT |
| /ntfs | Fast recovery on healthy NTFS drives | NTFS |
| /segment | Recovery using NTFS file record segments | NTFS |
| /signature | Recovery using file headers | All |
To check a drive’s file system, right-click it in File Explorer and select Properties.
Run the recovery command
The basic syntax is winfr source-drive: destination-drive: /mode /switches.
- Source and destination must be different drives or partitions.
- If you have only one drive, use a USB or external drive as the destination.
- Include the colon after each drive letter, with a space between source and destination.
- End folder paths with a backslash, and wrap paths with spaces in quotes.
When prompted to continue, enter Y to start, and press Ctrl + C to stop.
Command examples from Microsoft
| Goal | Command |
|---|---|
| Recover a folder, Regular mode | winfr C: E: /regular /n \Users\<username>\Documents\ |
| Recover PDF and Word files | winfr C: E: /regular /n *.pdf /n *.docx |
| Search by name, Extensive mode | winfr E: C: /extensive /n *invoice* |
| Recover photos | winfr C: E: /extensive /n \Users\<username>\Pictures\*.JPEG /n \Users\<username>\Pictures\*.PNG |
Replace <username> with your account name, which you can see under C:\Users in File Explorer.
Useful switches
| Switch | What it does |
|---|---|
| /n <filter> | Filters by name, path, type or wildcard; required when recovering from the OS drive |
| /u | Recovers undeleted files, such as from the Recycle Bin (NTFS and Segment modes) |
| /o:a, /o:n, /o:b | Always overwrite, never overwrite, or keep both |
| /p:<folder> | Saves the log file somewhere other than the default location |
| /? and /! | Show general and advanced syntax |
Which file system your drive uses
Your drive’s file system decides which modes work.
| File system | Typical drives | Modes that work |
|---|---|---|
| NTFS | Computer drives, external drives and USB drives over 4 GB | Regular, Extensive, NTFS, Segment, Signature |
| FAT and exFAT | SD cards and USB drives under 4 GB | Extensive only |
| Other Windows-supported file systems | Varies | Extensive only |
Why some file types are missing from results
Without the /e switch, results hide many system and developer file types, such as dll, exe, log, ini, sys and json.
Use /e to turn that default filter off, or /e:<extension> to choose which types to filter.
The /k switch recovers system files in NTFS and Segment modes.
The /y:<types> switch recovers specific extension groups in Signature mode, and /# lists those groups.
Where recovered files go
Windows creates a folder named Recovery_ followed by the date and time on the destination drive.
Recovered Recycle Bin items may appear as $files.xxx in a $RECYCLE.BIN folder.
Extra files from the OS drive are usually Windows’ own temporary files, so use /n filters to limit the results.
If the destination fills up, you are prompted to Resume, Skip file or Abort, so free some space first.
Improve your chances
- Minimize or avoid using the computer after the deletion.
- Do not create a new partition after data loss, because it lowers your chances.
- Expect mixed results on an SSD, because Microsoft notes free space may already be overwritten.
- Try Extensive mode if Regular mode fails.
Large drives or Extensive mode can take a long time.
Related Windows 11 fixes
If the drive itself is acting up, see how to check and repair drive errors in Windows 11.
Set up Windows Backup so the next deletion is a simple restore.