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.
- Open the Recycle Bin from the desktop.
- Sort by Date Deleted, or search for the file name.
- 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.
- Navigate to the folder the file used to be in.
- Right-click the folder → Properties → Previous Versions tab.
- Select a version from before the deletion → Open to browse it.
- Drag your file out to somewhere safe.
Also try: Control Panel → File History → Restore 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.
- Go to
onedrive.comand sign in. - Open Recycle bin in the left sidebar—items stay for 30 days.
- 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:
- Install it on a different drive or run it portable from a USB stick.
- Select the source drive—do not let it write anything back to that drive.
- Run a quick scan first; if the file is not found, run a deep scan, which can take hours.
- 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.
Related guides
How to Transfer Files from an Old PC to a New PC
Moving to a new Windows 11 PC? Transfer files, browser data, and settings safely with an external drive, network share, or cloud sync, step by step.
How to Back Up Your PC with Windows Backup & File History
Set up File History and Windows Backup on Windows 11 so a deleted file or dead drive can't wipe out your photos, documents, and settings. Step-by-step.
Enable Controlled Folder Access in Windows 11
Controlled Folder Access stops unknown apps writing to Documents and Pictures, blocking ransomware before it encrypts. Turn it on and allow the apps you trust.
Fix "Signed In with a Temporary Profile" in Windows 11
Blank desktop and a warning that you're using a temporary profile? Your files are safe. Here is how to restore the real profile before anything is lost.
How to Fix the BitLocker Recovery Key Loop in Windows 11
Windows keeps asking for a BitLocker recovery key at every boot? Here is where to find your key, how to get back in, and how to stop the prompt returning.