When Windows deletes a file, it mostly removes the file's index entry and marks its space as free - the actual data stays until something new is written over it. Every method below works because of that one fact, and every method fails if the space gets overwritten first. That is why this guide starts with a stop rule, then tries the built-in Windows copies (Recycle Bin, previous versions, File History) before any scanning tool, and only then uses Microsoft's own free recovery tool, Windows File Recovery. One honest warning up front: on an SSD, Windows runs TRIM, which erases deleted data in the background - recovery there often fails, and no honest guide can promise otherwise.
X Do not save, download or install anything on the drive the file was deleted from
X Do not install the recovery tool on that drive - install it on another drive, or run it from a different PC
X Do not copy "just one small file" onto it - small files overwrite deleted data too
Why: deleted data is only marked free. Every new write can land exactly on top of it and destroy it forever.
MOST IMPORTANT STEP More recoveries are lost to continued use of the PC than to any tool failure.
The fingerprint of a successful recovery: the drive was touched as little as possible after the deletion.
1
Check the Recycle Bin First
If the file was deleted normally - not with Shift + Delete - it is probably still sitting here, untouched.
Open the Recycle Bin from the desktop.
Sort by Date Deleted or use the search box to find the file or folder by name.
Right-click it and choose Restore. It returns to its original folder.
If the bin is empty or the file is not there, do not worry - continue. Shift + Delete and an emptied bin only remove the easy copy; the steps below work on the disk itself and on Windows' backup copies.
2
Restore Previous Versions of the Folder
Windows quietly keeps point-in-time copies of folders through restore points and File History. The file may exist in an older copy of its own folder.
Go to the folder where the file used to be. If the whole folder was deleted, go to its parent folder instead.
Right-click the folder and choose Properties, then open the Previous Versions tab (on Windows 11 you may need "Show more options" first to see the classic menu, or open Properties and look for the tab directly).
If dated versions are listed, select a version from before the deletion and click Open to look inside first - do not click Restore blindly, because Restore replaces the current folder.
Copy the missing file out of the old version into a safe place on another drive.
If the tab says "There are no previous versions available", move to Fix 3 and Fix 4.
3
Restore From File History or Windows Backup
If a backup was ever set up on this PC, this is the cleanest recovery of all - a proper copy, not a disk scan.
Open Control Panel > File History. If it was on, click Restore personal files, browse to the folder, pick a date from before the deletion, select the file and click the green restore button.
On Windows 11, also check Settings > Accounts > Windows backup to see whether your folders were being backed up to OneDrive. If they were, the file may be in OneDrive online - check the OneDrive Recycle Bin on the web as well, since deleted synced files wait there for 30 days.
If File History was never turned on and there is no backup, that is normal - most home PCs have neither. Go to Fix 4.
4
Microsoft Windows File Recovery (winfr) - the Free Official Tool ⭐
When there is no backup copy, this Microsoft tool scans the disk itself for deleted data. It is free, official, and works from the command line. The destination for recovered files must be a different drive than the one being scanned.
Open the Microsoft Store, search for Windows File Recovery (publisher: Microsoft), and install it. If the deleted file was on C:, this install writes to C: - that is acceptable only because there is no other way to run the tool on the same PC; to be extra safe, you can instead remove the drive and attach it to another PC, but most users run it directly and still succeed.
Decide your drives: source = the drive the file was deleted from (example C:), destination = a different drive (example D: or a USB drive).
Open Windows File Recovery from the Start menu (approve the admin prompt). For a recently deleted file on a healthy NTFS drive, run:
winfr C: D: /regular
Press Y to start. When it finishes, open the Recovery_ folder it created on the destination drive and look for your file.
If Regular mode does not find it, or the drive was formatted or corrupted, run the deep scan instead:
winfr C: D: /extensive
To recover only one kind of file and save time, you can filter, for example documents from a specific folder: winfr C: D: /regular /n \Users\YourName\Documents\ - adjust the path and user name to yours.
Check every recovered file by opening it. Some files come back complete, some partially damaged - that depends on how much was overwritten, not on the tool.
5
Free Alternative: Recuva
If the command line is not comfortable, Recuva (from the makers of CCleaner) does a similar scan with a window and a file list, and its basic recovery is free.
Download Recuva only from the official site (recuva.com) and install it on a different drive than the one you are recovering from - installing it on the source drive can overwrite your file.
Run the wizard, choose the file type and the location where the file was, and enable Deep Scan if the quick scan finds nothing.
Files marked with a green circle have the best chance of being fully recoverable. Select the file and recover it to a different drive.
The results will be the same family as winfr - no tool can recover data that has already been overwritten or TRIM-erased.
6
Software Needed
Everything in this guide is free: the Recycle Bin, Previous Versions and File History are built into Windows; Windows File Recovery is Microsoft's own free tool from the Microsoft Store; Recuva has a free version from its official site. You also need one extra drive or USB stick as the recovery destination. Be careful with paid "recovery" programs advertised on random sites - several charge money after the scan and recover nothing more than these free tools.
Set expectations honestly: recovery is a race against overwriting, not a guarantee. A file deleted an hour ago from a hard drive that was then left alone usually comes back fully. A file deleted last week from the C: drive of a PC in daily use may come back damaged or not at all - no tool, free or paid, can undo overwritten data.
The SSD warning: if the file was on an SSD, Windows runs TRIM, which permanently erases deleted blocks in the background - often within minutes. On such a drive, winfr and Recuva frequently find nothing at all, and that is the hardware working as designed, not a tool failure. For SSDs, your real hope is a backup copy: File History, OneDrive, or the previous-versions check in Fix 2 and Fix 3. For a hard drive, try everything in this guide - the odds are far better.
More PC Fixes on Technical Anshu
Every week: Windows problems, hidden tools and full setup guides, explained step by step.
Can I recover a file after emptying the Recycle Bin or using Shift Delete?
Often yes, if you act fast. Deleting only removes the file's index entry - the data stays on the disk until new data overwrites it. Stop using that drive at once, then try previous versions or File History first, and Microsoft's free Windows File Recovery tool (winfr) if there is no backup. Recovered files must be saved to a different drive.
Why does file recovery often fail on an SSD?
SSDs run a background process called TRIM that permanently erases deleted blocks, often within minutes, so the data is truly gone rather than just unindexed. On an SSD with TRIM active, recovery tools frequently find nothing recoverable. On a traditional hard drive there is no TRIM, so deleted data can survive much longer - which is why HDD recovery succeeds far more often.
What is the difference between winfr Regular and Extensive mode?
Regular mode (winfr C: D: /regular) is for NTFS drives where files were deleted recently and the drive is healthy. Extensive mode (/extensive) does a deep sector-by-sector scan and is meant for files deleted long ago, or drives that were formatted or corrupted. Extensive is slower and also works on FAT and exFAT drives such as memory cards and USB sticks.
Why must recovered files be saved to a different drive?
Saving recovered files back onto the same drive writes new data onto the very space where other deleted files are still waiting to be recovered, overwriting them permanently. Always recover to a different drive or partition than the one you are scanning - if the deleted file was on C:, recover to D: or to a USB drive.
Guide by Technical Anshu · Problem collected from real user reports of files deleted by mistake, including Shift Delete and emptied Recycle Bin cases; solution written in original words and verified against Microsoft's Windows File Recovery documentation. The video at the top of this page is the exact fix video for this problem. No Shorts are linked in this blog.