How to Recover Deleted Files in Windows 11

The Problem

Shift + Delete on the wrong folder, or an emptied Recycle Bin five minutes too soon. Windows does not wipe the bytes when you delete a file—it marks the space as available and removes the directory entry. The data usually sits there until something writes over it, which is the window you have to work in.

The Golden Rule: Stop Writing to That Drive

This is the whole game. Every file Windows writes to that drive—a browser cache entry, an update, a saved document, the recovery tool you are about to install—may land on the sectors holding your deleted file.

  • Stop using the drive for anything you can avoid.
  • If the file was on C:, ideally shut down and recover from another machine or a USB-booted environment. At minimum, do not install anything, do not browse, and do not let Windows Update run.
  • Never install recovery software onto the drive you are recovering from. Put it on a USB stick or a second drive.
  • If the drive is external, unplug it until you are ready.

SSDs are less forgiving than hard drives. Windows sends TRIM commands that let the SSD controller erase deleted blocks in the background, sometimes within minutes. Recovery from an SSD is possible but the odds fall fast—act immediately.

Step 1: The Recycle Bin

Always check first, even if you are sure.

  1. Open the Recycle Bin from the desktop.
  2. Sort by Date Deleted, or search for the file name.
  3. Right-click → Restore. It returns to its original folder.

Note that files deleted from a network drive, a USB stick, or with Shift + Delete never enter the Recycle Bin, and files larger than the bin's size limit are skipped too.

Step 2: Previous Versions and File History

If File History was enabled, or the folder is synced with OneDrive, an earlier copy may exist.

  1. Navigate to the folder the file used to be in.
  2. Right-click the folder → PropertiesPrevious Versions tab.
  3. Select a version from before the deletion → Open to browse it.
  4. Drag your file out to somewhere safe.

Also try: Control PanelFile HistoryRestore personal files, which gives a timeline you can step back through.

Set this up going forward if it was not enabled: back up your PC with Windows Backup and File History.

Step 3: OneDrive's Own Recycle Bin

If the folder syncs to OneDrive, the cloud keeps its own copy independently of Windows.

  1. Go to onedrive.com and sign in.
  2. Open Recycle bin in the left sidebar—items stay for 30 days.
  3. Select and Restore.

OneDrive also keeps version history per file (right-click a file online → Version history), which recovers a file you overwrote rather than deleted. The same applies to Google Drive and Dropbox.

Step 4: Windows File Recovery or a Recovery Tool

When nothing above worked, the remaining option is scanning the raw sectors.

Microsoft publishes a free command-line tool, Windows File Recovery, in the Microsoft Store. Basic usage—recovering from C: to a USB drive at E::

winfr C: E: /regular /n \Users\<you>\Documents\

For a deeper signature-based scan on a formatted or corrupted volume:

winfr C: E: /extensive /n *.docx /n *.jpg

The destination must be a different drive; the tool refuses otherwise, which is the correct behaviour.

Technician's choice: for deep sector scanning across NTFS, exFAT, and BitLocker volumes with a preview before you commit, RecoverPro sweeps partitions for file signatures without writing to the source drive.

Whatever tool you use:

  1. Install it on a different drive or run it portable from a USB stick.
  2. Select the source drive—do not let it write anything back to that drive.
  3. Run a quick scan first; if the file is not found, run a deep scan, which can take hours.
  4. Preview results before recovering, then save everything to a different drive.

What You Can and Cannot Get Back

| Situation | Realistic chance | |---|---| | In the Recycle Bin | Certain | | Shift + Delete, HDD, acted immediately | Good | | Shift + Delete, SSD with TRIM | Poor to moderate, falls by the hour | | Quick-formatted drive | Often good | | Full-formatted drive | Poor | | Overwritten by a new file | None | | Drive physically failing | Stop and consult a data-recovery lab |

What Not to Do

  • Don't run chkdsk on a drive you are recovering from. It can mark and reallocate the very sectors you need.
  • Don't reformat and "try again later". Every format reduces what is recoverable.
  • Don't install the recovery tool onto the affected drive. This single mistake destroys more data than the original deletion.
  • Don't keep using a drive making clicking or grinding noises. Power it down. Mechanical failure is a job for a lab, not software.

Afterwards

Set up backups so this cannot happen twice: set up automatic backups so you never lose files and organise and back up your important documents.

If the drive itself shows as RAW or unreadable rather than merely missing files, that is a different job: how to fix a corrupted USB or external drive.