
The sooner you stop writing data to the drive, the better the chance of recovering the deleted file. Check the Recycle Bin and backups. If you don't have a backup, run the recovery software from another drive, and save what's found to an external drive, not back to the original one.
After a normal deletion, Windows marks the file's space as free. The file itself can stay on the drive until new data gets written over it. Browsers, updates, and running programs create temporary files, so it's risky to keep working.
What to do right after deleting a file
What to stop and where to save
How to recover deleted files from the Recycle Bin
In Windows, open the Recycle Bin on your desktop. Find the file, right-click it, and select Restore. The file will return to its original folder. You can select multiple files and restore them together.
On Mac, open Trash from the Dock. Select the file, Control-click it, and choose Put Back. An online-only OneDrive file doesn't go to the local Trash. Look for it in the cloud.
Once the Recycle Bin is emptied, this method won't work anymore. Don't create a new file with the same name: the name doesn't matter, and the new write can overwrite the contents. Check backups first, then run a scan.
Where to look for a backup
In Windows, open File Explorer and find the folder where the file was stored. Select the folder, press Alt+Enter, and open the Previous Versions tab. Open a version from before the deletion and check its contents. Then open the drop-down menu next to the Restore button and select Restore to...: normal Restore replaces the current folder, and you can't undo that.
This usually works only if File History was turned on beforehand and was saving that folder to an external drive or network storage. A Windows restore point doesn't bring back personal files. Once your data is safe, set up a dedicated backup of important folders.

For OneDrive, sign in to onedrive.com and open the Recycle bin. Select the file you need and click Restore. You should check the cloud Recycle bin even if the local one is empty: an online file might not have been stored on the computer.
Connect the drive with your Time Machine backups. On a Mac, open Finder to the folder where the file used to be. Open Time Machine via Spotlight, choose a backup from before the deletion, select the file, and click Restore. It'll return to its original location.

Which data recovery program to choose
Recuva works well for simple cases in Windows: the drive is detected, isn't making unusual noises, and the file was deleted recently. Download Recuva from the developer's website onto a flash drive and install it there, not on the drive where the file was stored. In the wizard, specify the file type and previous location, then run a normal scan. A deep scan is only needed if the first one doesn't find anything.
In the Recuva results, check the files you need and click Recover. Select a folder on an external drive or another physical drive. Partition D: isn't suitable if it's on the same drive as partition C:.

PhotoRec comes in handy if the file system is damaged or a standard search didn't find anything. It's part of the TestDisk package and searches for data using file signatures. Original file names and folders are usually lost, so you'll have to sort through the results manually.
In PhotoRec, select the physical disk and the partition you need. Through File Opt, keep only the necessary file types. For NTFS and FAT, select Other when asked about the file system type. Set the destination folder on a different drive. Don't select the original partition: writing to it can overwrite deleted data.
Why recovering files from an SSD is harder
| Drive | What happens | What to keep in mind |
|---|---|---|
| SSD, TRIM | After deletion, Windows tells the SSD which blocks were freed | It's best to stop using a system SSD right away |
| SSD, controller | Can clear freed blocks before the next write | If the blocks are cleared, the program won't see the previous content |
| SSD, disabling TRIM | It's too late to disable TRIM after deleting a file | It won't bring back blocks that are already cleared |
| HDD | Data can stay readable until it's overwritten | The outcome isn't known in advance |
When you shouldn't run the program
Check if the drive is visible
- In Windows, press Win+X and open Disk Management.
- On a Mac, open Disk Utility, then select View → Show All Devices.
- For an external drive, test a different cable and port once.
When to stop
- If the drive isn't visible, the program has nothing to scan.
- Don't turn a clicking drive back on.
- If an internal drive doesn't appear in these utilities or keeps disappearing, don't initialize or format it.
- If Windows prompts you to initialize or format a drive with needed files, click Cancel: initializing erases data. For laptops, there's a separate guide: what to do if a laptop doesn't recognize a drive.
Frequently asked questions
- Can you recover a file after Shift + Delete?
- Sometimes you can, as long as its space on the drive hasn't been overwritten yet and TRIM hasn't cleared the blocks on the SSD. Stop using the original drive immediately. Save the results to a different physical drive.
- Why did the program find the file, but it won't open?
- The file record might still be intact, but part of its contents has already been overwritten. Recuva and PhotoRec extract what's left of the data, but they can't restore missing fragments.
- Can you save found files to drive D:?
- Yes, if D: is on a different physical drive. If C: and D: are partitions on the same drive, writing to D: can overwrite deleted data on C:.
- Will Windows System Restore help?
- No. System Restore works with system files and settings, not deleted documents. For personal files, check File History and your copy in OneDrive.
- Can you recover data remotely?
- Remotely, we can advise you based on photos or video and help install and set up the program on a separate drive if the drive is working and detected. You can't fix a hardware issue this way: testing requires the drive itself.


