Is it possible to retrieve overwritten ssd data?

Neofite

n00b
Joined
Nov 14, 2018
Messages
4
Hello, I accidentally erased an important project I was working on. I was careless and erased the wrong document. I spent weeks typing it up and I need to have it ready by monday. I dont have the time to restart it and I need to retrieve it asap. I'm an intern and my job requires me to shred any client specific data if I'm no longer actively working on it. I think I did a 7 times overwrite. I have a windows 10 laptop with a trim enabled SSD. Any help would be greatly appreciated. Thank you.
 
If you didn't back it up, you're boned. Local backup encryption is free. Encrypted remote backups are inexpensive. Lesson learned?
 
I would guess there is zero chance of recovery if you overwrote the data 7 times. I would very much consider backing up crucial data like this.
 
Open file explorer and look in "previous versions". By default Windows takes a snapshot once a week. So there is probably a 1-7 day old version available.
 
I was trying to back it up to the cloud but instead I accidentally choose shred. How do I search for previous versions? I'm not that familiar with pc, I prefer my mac.
 
Navigate to the file location, open properties, and go to the Previous Versions tab. You could also use ShadowExplorer, that's a free third party tool.

Though if you used a special program to delete it, it may have deleted your previous versions also.
 
Last edited:
Does this "eraser" program also erase free space? (If so then it's hopeless).
 
Even if you just deleted the file and didn't use the eraser app, the odds of recovery are low on a SSD. This is because of how they work. Unlike a mechanical drive, SSD drives move unchanged data for wear leveling purposes. Mechanical drives will only move unchanged data during a defrag operation. Combine that with TRIM / garbage collection functionality and the odds of recovering data are slim because the odds are high the blocks the file was stored in have been wiped and reused.

I once used software intended to recover deleted files for forensic analysis to try recovering accidentally deleted images. I was able to recover zero full images out of an album of hundreds. In that case all the user did was a shift-delete. I did get some partial pics back, but the files were either partially or totally unrecoverable. The problem is that if the device continues to be used then areas of the drive that contained the deleted data will be reused, and Windows is not even aware of it.

So, based on that alone I'd say you are, unfortunately, screwed. Factor in the eraser app and what it does, and there's just no way.
 
Hello, I accidentally erased an important project I was working on. I was careless and erased the wrong document. I spent weeks typing it up and I need to have it ready by monday. I dont have the time to restart it and I need to retrieve it asap. I'm an intern and my job requires me to shred any client specific data if I'm no longer actively working on it. I think I did a 7 times overwrite. I have a windows 10 laptop with a trim enabled SSD. Any help would be greatly appreciated. Thank you.

TRIM would of wiped the file out the moment you deleted or did the first pass with that unneeded eraser tool (TRIM assures its erased)

do note there is no point using a 1-100 times file eraser tool if your using a SSD as you just be simply erasing random parts of the SSD not the file you're actually trying to overwrite it self (the file you deleted was elsewhere on the SSD but it would of been wiped out by the TRIM command any way 0-10 seconds after you hit Delete or overwrite it the first time)

SSDs are not HDDs they dont save data into the same spot when a write comes in if your overwriting a file your not overwriting the same location of where it was stored, you can just delete the file no tool is needed when using a SSD due to TRIM zeroing out where the data was stored any way

i would recommend using bitlocker (win10pro) if data is sensitive (ssd TRIM still works as normal) especially if you have set up that thing i did posted below so you don't accidentally lose files,, if you have Home version of windows 10 and its Not a HP system you can buy 10 pro keys for less then $5 so you can use bitlocker or use Veracrypt if you don't want to spend that money (Note the listings normally say you have to use it on a clean install of windows 10 pro but i only found that not to work on HP systems as they annoying use win10home single language version witch you can't use OEM keys on)

windows 10 does not have shadow copy service make snapshots like windows 7 (i set mine now to make a snapshot every day, as its useful for recently deleted files as happened to you, and me ish witch was just factorio game save that i saved over)

to restore Previous Versions History Tab back to windows 10 (when you right click properties on a folder)
open task scheduler and make a rule that run once a day at a time your system will be on (start a program)

Program > wmic
Arguments > shadowcopy call create Volume='C:\'

make sure permission is set to SYSTEM

oddly make sure system restore is even switched on (some systems randomly have system restore turned off even when i do a clean install or after a feature upgrade)

system restore is set to 10GB by default which is plenty for most unless your working on large multi gigabyte files
 
Last edited:
Pervious versions and stuff... you never rely truly on these.
Nothing can replace a true backup (strategy). Especially for something relatively small as one file you spend weeks! writing.
There is virtually zero chance to recover it if Windows hadn't done something to save it like Pervious versions etc.
My backup strategy is simple, I use console rar.exe within a big backup script I wrote myself with functionality just as I like it, configurable etc, which supports two ways to detect changes, and currently I use the Archive bit (winrar supports it) and run the tasks daily. It only creates a new incremental archive if the archive is different from the last (there were changes), also I keep track of deleted files since the last full archive because this is also crucial for many (incremental or differential) tasks. Having incrementals is the same as having the multiple versions of "the" file, in a daily schedule.
 
Unless your windows has shadow copies or previous versions turned on, or unless you saved A previous version of Windows and associated data, you can restore. You’re screwed.

I work with expensive corporate forensic software. Encase and Axiom and like a previous poster said, even just normally deleted files are cleared off the SSD in seconds, due to Windows Trim functions and not only that but also the SSD drives vendor specific drive wear leveling firmware functions.

It is faster for an SSD to write to a empty cell than A) delete and then B) write to a cell — so any file marked for deletion by the OS is deleted completely by the OS Trim function for performance reasons. In the old days with spinning drives they would just delete the pointer to the file, but the file data would still be there until it happened to be overwritten. You could recover deleted data on a spinning drive easily enough. With SSDs, it’s nearly impossible to recover deleted files. I so rarely see it in conparison as to say confidently in nearly all cases you can’t.

Enter your erasure tool and you actively erasing the file, and your surely hosed unless you had a backup.

I also agree obviously that the eraser tool is wholly unnecessary with an SSD. (And likely isn’t doing anything at all that it claims to be). It’s current tech such that with the SSD drives vendor specific wear leveling firmware that the Windows OS doesn’t even know truly where on the drive the file is physically located because the SSD firmware has intercepted the command and placed it elsewhere to even out the write cycles across its available memory cells. So when the eraser tool is erasing the clusters the OS thinks the file is in, it’s actually not where the data is.
 
Unless your windows has shadow copies or previous versions turned on, or unless you saved A previous version of Windows and associated data, you can restore. You’re screwed.

windows 10 having system restore turned on does not turn on shadow copies any more (have to do what i posted above as a scheduled task) normally System Restore is on by default but it wont recover any files just settings (some systems randomly default to off after clean install or "feature" upgrade i am unsure why)

Pervious versions and stuff... you never rely truly on these.
Nothing can replace a true backup (strategy). Especially for something relatively small as one file you spend weeks! writing.
There is virtually zero chance to recover it if Windows hadn't done something to save it like Pervious versions etc.
My backup strategy is simple, I use console rar.exe within a big backup script I wrote myself with functionality just as I like it, configurable etc, which supports two ways to detect changes, and currently I use the Archive bit (winrar supports it) and run the tasks daily. It only creates a new incremental archive if the archive is different from the last (there were changes), also I keep track of deleted files since the last full archive because this is also crucial for many (incremental or differential) tasks. Having incrementals is the same as having the multiple versions of "the" file, in a daily schedule.

i just turn run a shadow copy task per day via task scheduler in my last post (you can see your past files on the previous file tab again, far simper) and use a actual backup software and cloud backup (witch manages incremental and deleted files)
 
Back
Top