When you realize a file was deleted, immediately stop using your computer as much as possible. Every new file you save, every website you visit, and every app you run could overwrite the deleted data. The faster you try recovery, the better your chances.
When Windows deletes a file, it doesn’t instantly erase the data. It simply marks that storage space as “available for new data.” The actual file content remains until something new writes over it. This is your recovery window — and it can last minutes, hours, or days depending on how much you use the PC afterward.
Method 1: Check the Recycle Bin (First!)
Files deleted with the Delete key (not Shift+Delete) go to the Recycle Bin first. Always check here before trying anything else.
Open the Recycle Bin
Double-click the Recycle Bin icon on your desktop.
Find your file
Sort by Date Deleted to find recently deleted files. You can also search by filename.
Restore it
Right-click the file and select Restore. It returns to its original location automatically.
Method 2: File History (Windows Backup)
If File History was enabled before the deletion, you can restore any previous version.
Go to the file’s folder
Navigate to the folder where the deleted file was located.
Right-click and open Properties
Right-click the folder, select Properties, then go to the Previous Versions tab.
Browse and restore
Select a date from before the deletion, click Open to browse the backup, then copy the file back to your current folder.
Method 3: Check OneDrive Recycle Bin
If your file was in your OneDrive folder, log into onedrive.live.com and check the Recycle Bin section in the left sidebar. OneDrive keeps deleted files for 30 days before permanently removing them.
Method 4: Windows File Recovery (Microsoft Tool)
Microsoft offers a free command-line recovery tool in the Microsoft Store:
Install Windows File Recovery
Open Microsoft Store and install Windows File Recovery (free, by Microsoft).
Run a recovery scan
Open Command Prompt as Administrator. Example command to recover JPG files from C: drive to a recovery folder on D: drive:
winfr C: D:RecoveredFiles /regular /n *.jpgReplace *.jpg with *.docx, *.pdf, or * for all file types. This can take several minutes.
Method 5: Free Third-Party Recovery Software
If Windows built-in tools don’t find your file, use free recovery software:
- Recuva (by Piriform) — The most popular free recovery tool. Has a guided Wizard mode. Download from recuva.com
- TestDisk/PhotoRec — Open-source, more technical, but extremely powerful. Can recover from formatted drives.
Install Recuva to a DIFFERENT drive
Install to a USB drive or a different hard drive — never to the same drive you’re trying to recover from. Installing to the same drive can overwrite deleted data.
Run Recuva Wizard
Choose what type of file you lost, where it was located, then click Start. Green items are recoverable, yellow are partially damaged, red may not recover cleanly.
Recover to a different drive
Save recovered files to a different drive than the one you’re recovering from.
Prevent Future Data Loss
- Enable File History: Settings > Update & Security > Backup > Add a drive
- Use OneDrive to auto-sync your Documents, Desktop, and Pictures folders
- Follow the 3-2-1 rule: 3 copies, on 2 different media types, 1 stored offsite (cloud)
Recycle Bin and File History recover files 100% of the time when available. Third-party tools like Recuva have a success rate of 70-95% for recently deleted files on drives with normal usage. Formatted drives and older deletions have lower recovery rates.
zSmartFix Editorial Team
Step-by-step technical guides tested on real hardware. Our guides are independently written and freely accessible to everyone.
Leave a Reply