To recover deleted files on Windows 11, work from the safest option to the riskiest: check the Recycle Bin, then OneDrive and File History, then scan the drive with Microsoft's Windows File Recovery (winfr), and only then consider a paid tool. Each step is higher effort and has a lower guarantee than the one before.
Whichever route you take, stop saving or installing anything on the affected drive until you have your files back. Microsoft's own Windows File Recovery page says that minimizing or avoiding use of your computer improves the odds of recovery.
Who this is for and what you will have at the end
This guide is for anyone who has deleted a document, photo or folder on a Windows 11 PC and wants it back, from home users to small-office staff without an IT team. At the end you will know which of five recovery routes fits your situation, the exact steps for each, and how to avoid the same loss next time.
The order matters. The first three routes only restore copies that already exist, so they cannot damage anything. The last two scan the drive for leftovers, so they work best when you act quickly.
| Route | Needs | Best for | Risk |
|---|---|---|---|
| Recycle Bin | Nothing | Files you just deleted from a local folder | None |
| OneDrive recycle bin | Files were in OneDrive | Files deleted from synced or online folders | None |
| File History / Previous Versions | File History turned on earlier | Deleted or overwritten files in backed-up folders | Restore replaces the current version |
| Windows File Recovery (winfr) | Free Store app, a second drive | Files gone from the Recycle Bin, no backup | Low, if destination differs from source |
| Paid recovery tool | Download, sometimes a licence | People who want a graphical scan | Same overwrite limits as winfr |
Prerequisites
- Windows 11 with an account that can approve an administrator prompt (winfr needs it).
- A second drive with enough free space for winfr: a USB drive or an external disk. Microsoft requires the source and destination to be different drives.
- The name or part of the name of the file, and roughly the folder it lived in. This makes a scan much faster and cleaner.
Check which file system the drive uses, since it decides which winfr mode to pick: in File Explorer, right-click the drive and select Properties.
Step 1: Check the Recycle Bin
Open the Recycle Bin from the desktop, find the item, right-click it and select Restore. Microsoft's OneDrive help describes the same action for Windows: open the Recycle Bin, right-click the items, and select Restore. The item goes back to the folder it was deleted from.
If you cannot see the item, search the Recycle Bin by name. If the file was deleted from OneDrive online, or was an online-only file, it will not appear here, so go to the next step.
Step 2: Check the OneDrive recycle bin
If the folder was synced with OneDrive, the file may still be recoverable from the cloud copy.
- Go to onedrive.com and sign in.
- In the navigation pane, select Recycle bin.
- Select the items, then select Restore.
Microsoft's retention figures, from its OneDrive help page: files deleted within the last 30 days for personal accounts, and within 93 days for work or school accounts, unless your administrator changed the setting. Items permanently deleted from the OneDrive recycle bin can't be restored. Files deleted from your Personal Vault are found with the Show Personal Vault items command.
If many files vanished at once, for example after a sync problem, Microsoft 365 subscribers can use Restore your OneDrive to roll back all changes to any point in the last 30 days. If sync itself is the problem, see OneDrive sync errors on Windows: fixes.
Step 3: Restore from File History or Previous Versions
File History only helps if it was on before the loss. It needs an external drive or a network location to store backups.
To check whether it is on, open Control Panel, go to System and Security, and select Save backup copies of your files with File History. If it offers Turn on, it is not running yet, so no backups exist: skip to Step 4, then turn it on afterward (see the prevention list below).
To restore, per Microsoft's File History page:
- Open File Explorer and go to the folder that used to contain the item.
- Right-click the folder name and select Restore previous versions. For a drive's root folder, right-click the drive.
- For items in a library, right-click the item in its actual saved location, not in the library.
- On the Previous Versions tab, choose a version from before the item was lost or changed.
- To preview it, expand Open and select Open in File History. To restore it, select Restore, or expand Restore and choose Restore to... to put it somewhere else.
Use Restore to... when you only want to compare. Microsoft warns that a plain restore replaces the current version on your computer and can't be undone.
Step 4: Scan with Windows File Recovery (winfr)
Windows File Recovery is Microsoft's free command-line tool. Install it from the Microsoft Store, then run it from a Command Prompt and approve the prompt to make changes. Microsoft's page lists support for local drives only: internal, external or USB. It states that "Recovery on cloud storage and network file shares is not supported."
The syntax from the page is:
winfr source-drive: destination-drive: [/mode] [/switches]Pick the right mode
Microsoft's table of recommended modes:
| File system | Circumstances | Mode |
|---|---|---|
| NTFS | Deleted recently | Regular |
| NTFS | Deleted a while ago | Extensive |
| NTFS | After formatting | Extensive |
| NTFS | Corrupted disk | Extensive |
| FAT or exFAT | Any | Extensive |
The page says that if you are unsure, you should start with Regular (except on FAT or exFAT, which support only Extensive). Extensive mode and large drives can take a long time.
Example commands
These are Microsoft's own examples, with <username> as a placeholder for your Windows user name. Recover the Documents folder from C: to E: (Regular mode):
winfr C: E: /regular /n \Users\<username>\Documents\Recover PDF and Word files:
winfr C: E: /regular /n *.pdf /n *.docxRecover any file with "invoice" in its name using Extensive mode (here the source is E: and the destination is C:, as on the Microsoft page):
winfr E: C: /extensive /n *invoice*If a file name contains spaces, quotes are required:
winfr C: E: /regular /n "\Users\<username>\Documents\Quarterly Statement.docx"What happens when you run it
Before recovery starts, winfr asks you to confirm by entering Y; press Ctrl + C to stop. It creates a folder named Recovery_<date and time> on the destination drive and saves a log file there by default (the /p:<folder> switch changes the log location). If the destination fills up, you are prompted with (R)esume, (S)kip file or (A)bort. Files recovered from the Recycle Bin in NTFS and Segment modes are named $files.xxx and stored in a $RECYCLE.BIN folder.
Microsoft also lists Segment and Signature modes for advanced cases: Segment is for NTFS drives using file record segments, and Signature works on all file systems using file headers. For most people, Regular or Extensive is enough.
Step 5: Consider a paid recovery tool
If you would rather not use the command line, a graphical tool can be easier. This is optional, and no tool can promise a recovery, because it depends on whether the data was overwritten.
AOMEI FastRecovery (affiliate link) is one such tool. Read on 2026-11-25, AOMEI's data recovery page describes "Quick Scan" and "Deep Scan" modes, lists the supported file systems as "NTFS, FAT32, exFAT, ReFS, etc.", and lists Windows 11 among supported systems. The page does not state a free recovery limit; it says the paid Professional plan offers "Recover unlimited data" and lists Professional at $39.95 and Technician at $99.00 without saying for which billing period. Check the page for the current price, because prices change.
Whatever tool you use, apply the same rules:
- Install it on a different drive from the one you are recovering from, so the installer does not overwrite deleted data.
- Save recovered files to a different drive.
- Compare it with the free route first. winfr is free and also scans the drive, so a paid tool is a convenience, not a requirement.
Verification: confirm the files are good
- Open the recovered folder on the destination drive and open a few files, not just look at the names.
- Check the log file in the
Recovery_<date and time>folder to see what was found. - Copy the good files to a safe place. If you restored from File History or OneDrive, confirm the restored version is the one you wanted.
Troubleshooting
winfr says the source and destination are the same
Use a different drive for the destination. Microsoft requires that they differ, for example C: as source and an external E: as the destination.
The scan finds nothing in Regular mode
Switch to Extensive mode. Microsoft recommends Extensive for files deleted a while ago, after formatting, on corrupted disks, and on all FAT and exFAT drives.
The command fails because of spaces in a name
Wrap the whole path in double quotes, as in the Quarterly Statement example above.
You are trying to recover from OneDrive or a network share
winfr cannot do this. Use the OneDrive web recycle bin (Step 2) or ask the owner of the network share about its backups. For a work or school account, ask your administrator, since they can change the retention period.
File History shows no previous versions
Either it was not on before the loss, or the folder is not part of the backed-up set. Microsoft notes you can include a folder outside your libraries by right-clicking it, selecting Show more options, then Include in library. That only protects future changes.
Prevent the next loss
- Turn on File History with an external drive, or keep important folders in OneDrive so deletions stay recoverable for 30 or 93 days.
- Keep a second copy on a separate drive. For hardware choices, read external SSD vs HDD for backup.
- For a small business, see Microsoft 365 backup options for small business.
Closing checklist:
- Stopped using the affected drive.
- Checked the Recycle Bin and the OneDrive recycle bin.
- Checked File History and Previous Versions.
- Ran winfr with a different destination drive, in the right mode.
- Opened recovered files to confirm they are intact.
- Turned on a backup so it does not happen again.
See also
- Reset This PC in Windows 11: Keep Files or Wipe Everything, Step by Step
- SharePoint Migration Tool: move file shares to SharePoint and OneDrive
- OneDrive after a user leaves: keep, hand over and clean up the files
What we checked
- Opened Microsoft's Windows File Recovery page on 2026-11-25 and confirmed the requirements, the NTFS and FAT/exFAT mode table, the
Recovery_<date and time>folder behavior and the example commands used above. - Opened Microsoft's File History help page on 2026-11-25 and quoted the Control Panel path (System and Security), the Previous Versions tab and the Restore and Restore to... labels.
- Opened Microsoft's OneDrive restore page on 2026-11-25 and confirmed the 30-day (personal) and 93-day (work or school) windows.
- Cross-checked that winfr does not support cloud storage or network shares (Windows File Recovery page) against the OneDrive page, which sends cloud-deleted files to the OneDrive web recycle bin.
- Opened AOMEI's data recovery page on 2026-11-25 for scan modes, supported file systems and listed plan prices; no free recovery limit is stated there.
- Not tested hands-on: we did not run winfr, File History or AOMEI FastRecovery on a PC, and the Recycle Bin steps follow the wording in Microsoft's OneDrive help; steps follow documentation as of 2026-11-25.
Last tested: 2026-11-25
Comments
Questions and tips are welcome. Comments are checked by the EpiFive team before they appear; please do not share passwords, phone numbers or other private details.