|

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

StepWhat to do
1. Look in your backupsCheck the Recycle Bin, File History, OneDrive or any backup first
2. Stop using the driveNew files can overwrite deleted data
3. Install the appGet Windows File Recovery from the Microsoft Store
4. Run a commandwinfr source-drive: destination-drive: /mode /n filter
5. Open the recovered folderWindows 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.

  1. Open File Explorer and go to the folder that held the item.
  2. Right-click the folder name and select Restore previous versions.
  3. On the Previous Versions tab, pick a version saved before the loss.
  4. 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

  1. Get Windows File Recovery from the Microsoft Store.
  2. Press the Windows key, search for Windows File Recovery, and select it.
  3. 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.

ModeUse it forFile systems
/regularRecently deleted files on a drive that is not corruptedNTFS
/extensiveOlder deletions, formatted or corrupted disksAll, including FAT and exFAT
/ntfsFast recovery on healthy NTFS drivesNTFS
/segmentRecovery using NTFS file record segmentsNTFS
/signatureRecovery using file headersAll

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

GoalCommand
Recover a folder, Regular modewinfr C: E: /regular /n \Users\<username>\Documents\
Recover PDF and Word fileswinfr C: E: /regular /n *.pdf /n *.docx
Search by name, Extensive modewinfr E: C: /extensive /n *invoice*
Recover photoswinfr 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

SwitchWhat it does
/n <filter>Filters by name, path, type or wildcard; required when recovering from the OS drive
/uRecovers undeleted files, such as from the Recycle Bin (NTFS and Segment modes)
/o:a, /o:n, /o:bAlways 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 systemTypical drivesModes that work
NTFSComputer drives, external drives and USB drives over 4 GBRegular, Extensive, NTFS, Segment, Signature
FAT and exFATSD cards and USB drives under 4 GBExtensive only
Other Windows-supported file systemsVariesExtensive 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.

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.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *