What actually happens when you delete a file on Windows
When you hit delete on a file, Windows doesn't immediately erase the data from your drive. It removes the reference to that file from the Master File Table or the directory index, marks those sectors as available, and the data stays there until something writes over it. This is why recovery is possible in most cases. The actual bits are still sitting on the disk. They just lost their address. The catch is that this only applies when you're dealing with traditional hard drives. Solid state drives work differently because of something called TRIM. When you delete a file on an SSD, the operating system eventually tells the drive to wipe those cells during idle time. That means recovery becomes much harder, and sometimes impossible, depending on how much time has passed since deletion.
Reviving Lost Data A Comprehensive Guide To Restore Removed Files Windows
I learned this the hard way back in 2019. I accidentally formatted a 1TB external drive instead of a 32GB one. Both were plugged in. Both had similar labels. I ran Recuva first because it was free and seemed adequate. It recovered about 40 percent of the files. Then I tried DMDE, which cost about $20 for the full license, and pulled another 35 percent from sectors Recuva's simple scan pattern completely missed. The remaining files were fragments that needed manual assembly. I spent six hours rebuilding PDFs from their scattered pieces. That experience taught me to never trust a single recovery tool. Recovery software scans the drive sector by sector, looking for known file signatures. Every file type has a unique header, also called a magic number. A JPEG starts with FF D8 FF. A PDF begins with 25 50 44 46. The software reads through the raw data and when it finds these patterns, it extracts everything that follows until it hits the end marker. This is called signature carving or file carving. It does not depend on the file system's directory structure at all. This approach has a major downside though. The files come back without their original names. You get IMG_001.jpg instead of vacation_photo.jpg. The metadata gets partially preserved in some cases, but you should not count on it. If the file was fragmented across the disk, which happens more often than people expect with modern NTFS setups, the software may only recover partial content.
Tools worth using and why they differ
Recuva is the most well known option and it handles basic recoveries fine. It scans fast, the interface is straightforward, and it works well when you have deleted files from the Recycle Bin on an HDD. But it uses a relatively shallow scan algorithm. It looks at the file system metadata first and only falls back to carving when that fails. That means it misses a lot of data on corrupted or partially overwritten volumes. DMDE takes a deeper approach. It can reconstruct entire directory structures from fragmented MFT records. I used it to recover a project folder with 2,000 CAD drawings after a RAID controller failure corrupted the partition table. The drive showed as unallocated in Disk Management. DMDE read the raw partition data, found remnants of the old MFT, and rebuilt the folder tree with correct filenames. It took about 45 minutes on a 4TB drive. The full version costs $20. The free version lets you recover up to 4000 files from one folder, which is enough for most casual situations. R-Studio is the professional tier option. It supports network recovery, meaning you can attach a failed drive to another machine and recover over the network rather than cloning the drive first. It handles complex RAID configurations and encrypted volumes. The licensing is expensive at around $80, but if you are recovering business-critical data, the time savings justify the cost. I recovered a server with a degraded RAID 5 array where two drives had simultaneous bad sectors. No other tool could parse the parity data correctly. R-Studio did it in about 3 hours.
Get the Full Details

TestDisk is completely free and open source. It excels at partition recovery rather than individual file recovery. If your drive disappeared entirely or shows as unallocated, TestDisk can rebuild the partition table. It has a command line interface though, which puts some people off. The learning curve is steep but the results are reliable when the partition table is damaged but the data underneath is intact.
What usually goes wrong
The biggest mistake people make is writing new data to the affected drive. Installing recovery software directly onto the same drive you are trying to recover from will overwrite the very files you want to save. Always install the tool on a different drive or use a portable version from a USB stick. Even opening the drive in Windows Explorer can trigger background processes that write to it. System Restore points, indexing, and telemetry all generate write activity. Another common issue is running recovery on a failing drive without addressing the hardware problem first. If the drive is making clicking noises or showing repeated read errors, continued scanning will accelerate the failure. In that scenario, the priority is cloning the drive to a healthy one using a tool like ddrescue, then running recovery against the clone. ddrescue skips bad sectors on the first pass and comes back for them later, maximizing what it can read before the drive dies completely. This step is critical and completely unnecessary if your drive is healthy. SSDs add another layer of difficulty. As I mentioned earlier, TRIM can erase deleted file data within hours or even minutes on modern systems. If you deleted files from an SSD yesterday, the chances of successful recovery are low. The exception is if TRIM has not yet run, which happens when the drive is under heavy load or the system was shut down quickly after deletion. In one case, I recovered files from an SSD roughly 90 minutes after deletion because the system had been idle and the drive had not entered its garbage collection cycle yet.
Step by step procedure
Stop using the affected drive immediately. Do not save anything to it. Do not install programs on it. If possible, remove the drive and connect it as a secondary drive to another computer. This eliminates all background write activity from the operating system. Choose your recovery tool based on the situation. For simple Recycle Bin restoration, Recuva is sufficient. For deleted files from a folder, DMDE or R-Studio work better. For partition loss, start with TestDisk. For RAID or encrypted volumes, go straight to R-Studio. Run a quick scan first to see what the tool can find through normal file system analysis. Then run a full deep scan using file signature carving. This typically takes longer but finds far more data. On a 1TB drive, expect the deep scan to take between 30 minutes and 2 hours on an HDD, longer on an SSD due to TRIM interference.

Preview the recovered files before committing to the full recovery. Most tools let you view thumbnails or extract sample content. Verify that the files are actually usable and not corrupted fragments. I once recovered what looked like a complete video file, but when I tried to play it, it stopped at 47 seconds because the later sectors had been overwritten. Previewing saved me from wasting time copying unusable files. Save recovered files to a different drive than the source. Never save them back to the same disk you are recovering from. This prevents cascading overwrites that destroy additional data during the recovery process itself.
When recovery simply will not work
If the drive has suffered physical damage like a head crash or motor failure, software recovery cannot help. The data may still be there on the platters, but reading it requires a clean room environment and specialized hardware. Sending it to a professional service is the only option. These services typically cost between $300 and $2000 depending on the severity. Fully encrypted drives present another hard limit. If you deleted files from a drive encrypted with BitLocker and you do not have the recovery key, no software on earth will recover those files. The encryption protects the data even after deletion because the key needed to decrypt the sectors is gone. Same situation applies to file-level encryption tools where the key is lost. On SSDs with active TRIM, extended time after deletion usually means the data is permanently gone. There is no reliable workaround for this. The only mitigation is to disable TRIM, which hurts SSD performance and longevity, or to maintain regular backups. Backups are the actual solution to data loss. Recovery tools are a last resort with limited success rates, especially on modern storage hardware.