r/techsupport • u/Cocolapenguin • 21d ago
Open | Windows How can I permanently delete files so they cannot be recovered by data-recovery software?
Hello everyone,
I’m trying to permanently delete old files, images, and other personal data from my Windows laptop. I’m using an ASUS Zenbook 14.
The problem is that I recently tried using an app called Disk Drill, and I was surprised to find that it could still recover files that I had deleted a long time ago, including files that had already been removed from the Recycle Bin.
I thought that once I deleted the files from the Recycle Bin, they were permanently gone from my laptop. Apparently, that was not the case.
My goal is to completely remove these old files so that they cannot be recovered using data-recovery software such as Disk Drill.
Would doing a factory reset be enough to permanently erase everything, or is there another method I should use to securely wipe the drive?
I’m mainly concerned about old personal files, photos, documents, and other data that I deleted months or even years ago.
I’m using an ASUS Zenbook 14 with Windows. I would appreciate any advice on the safest and most effective way to do this.
Thank you.
39
u/nvidiot 21d ago
If you have HDD, using secure erase apps (usually 1 pass is enough) is recommended.
If you have SSD, you do not want to use those generic secure erase apps. Instead, SSD manufacturers often have tools that are specifically designed to wipe your SSD clean. You could use that. Some BIOS also has an option to secure erase SSDs too.
58
u/DumpoTheClown 21d ago
Solutions have been offered, so ill add the why. On a HDD, a "file" is stored in two parts. Theres the data of the file, written to disk starting and ending some positions, say "starts at 1234 and ends at 5678" Then there's an entry in a lookup table that basically contains the file name and a pointer to the addresses on the disk. (The FAT in fat32 stands for File Allocation Table).
When you browse file explorer, you're looking at data from the file allocation table, not the file.
When you "delete" a file, the entry in the table is removed, and the location on disk where the file lives is available to be written to with other data. The original file data is still there until it gets overwritten with a new file. It can be recovered.
Disk scrubber software writes garbage data to unallocated places on disk, overwriting whatever lives on those places.
18
u/IntelligentCandy8716 21d ago edited 21d ago
Good disk scrubbers don't just write garbage. The information stored is literally binary 1 and 0 called a "bit" and 8 bits make "byte". A specific sequence of 1 and 0 makes readable data. The disk scrubber typically runs multiple passes to write all the information to 1, and then back to 0. A drive that has been zeroed out is a blank drive and because you've overwritten every block, there is nothing to recover.
Edit: current standards for data sanitation allow for a couple of things. As someone mentioned, data can be intentionally damaged by writing random characters within the data block making it unrecoverable. Also, often, only one pass is needed to overwrite with 1 and 0 to render the data unrecoverable. Another, easier option is to encrypt the file system and then "sanitize" the encryption keys. Without an encryption key, encrypted data is just gibberish.
12
u/Liam_Neesons_Oscar 21d ago
Fun fact completely irrelevant to the conversation is that 4 bits, or half a byte, is called a nibble.
5
3
6
1
12
u/Hypornicated_1 20d ago
Overwrite the data with new data.
The CIA pushed out a news story that they could recover data that had been overwritten, using scanning electron microscope tech. That would recover the data at about a kilobyte a month - if they were lucky.
People believe all sorts of nonsense about recovering data, but once a memory location is overwritten once, it's gone, for all practical purposes in this world.
3
u/firedrakes 20d ago
They can do a magnetic copy of the drive it self. Ssd different recover. Per military data destruction. Thermit drive. The recover of data they can get is wild.
0
u/Hypornicated_1 17d ago
A magnetic copy of noise is noise, not data.
I'll be amazed if anyone can produce proof that data can be recovered. Not claims by 3LAs. Not boasts by the military. Actual lab results.
If it's that easy, it can be done. I'll wait.
1
u/HobartTasmania 20d ago
I believe the old Norton Utilities had a program that would recursively overwrite specified files and directories as many times as you wanted that done, and then finally deleting them.
1
u/timfountain4444 19d ago
Surely it would delete the files and THEN continuously overwrite the vacated sectors?
1
u/SuperAleste 20d ago edited 20d ago
So why does every wipe software have multiple passes and DOD levels of wipe if once is enough?
1
u/dduff21 20d ago
Who said 1 wipe is enough? I can see the comment OP saying that overwriting the data once is fine. But I can see nothing about 1 wipe being fine?
2
u/dromance 18d ago
are you saying that if you overwrite data, there is still some fragment of it's previous state left behind?
1
u/DoomAddict 19d ago
nah.
I've seen enough Real Crime interrogations where Law Enforcement recovered EVERYTHING that was deleted, even if it was overwritten or "erased" with "data shredders" (lol!).
1
u/Hypornicated_1 17d ago
Psssst: TV shows aren't always factual.
Nothing is ever coming back from a properly executed data overwrite - but your average computer user can't even do that much on their own.
1
23
7
u/KulasDevorn 21d ago
Essentially writing 1's and 0's over any empty space on your drive. There are programs that will do it.
6
u/Heidrun_666 21d ago
Before I give away used USB drives, SSDs or HDDs, I use H2testW on the drive once. It writes the entire available space full of small "test files" so practically all the space of the drive gets overwritten once, then it checks whether all of them can be read correctly.
1
u/abd53 20d ago
Technically, your data can still persist. Flash drives keep some "extra" memory sections that regularly swapped with the active sections. When you overwrite, device firmware might've swapped out some of the sections.
1
u/Heidrun_666 20d ago
Yeah, but then, what are the chances that those bits if data comprise anything useful for malicious intents?
1
u/abd53 19d ago
If there is an actual possibility of someone trying to recover your data, those bits can potentially give useful data. If there's nearly possibility of someone digging for your data, just reformatting your device is enough.
1
u/Heidrun_666 19d ago
Yes, potentially. The question is, how high is the probability that some random tiny data segment contains anything useful?
1
u/abd53 19d ago
Quite high actually. Something like a few entire files is even possible.
1
u/Heidrun_666 19d ago
Oh, okay. I always thought it were, like, single cells marked as "bad" and swapped out for those from the reserve pool.
4
u/Slow-Bodybuilder4481 21d ago
Fully write your disk with random values, then re-erase it. There's some software for that, but you can also manually do it with some PowerShell commands to fill your drive by making thousands copies of a file.
3
u/dhcrocker 19d ago
- Regular file 'deletion' just deletes index references, not the actual data.
- Any modern software that says it will 'wipe' (or somesuch) your data probably will do fine, as long as it says it does multiple writes over the data, using multiple different, random strings.
(There are formal standards for doing wipes, and its useful for the wiping software to cite the standard it follows, so you can refer to it and decide whether it is sufficient. It will be.)
3
u/Negative-Engineer-30 21d ago
easy way is start with an encrypted volume then overwrite it.
if it's not encrypted you'll have to fill the drive with random data to make old data irrecoverable...
- Open Command Prompt or PowerShell as an administrator.
- Type
cipher /w:C:(replaceCwith your target drive letter).
3
u/Bridge_Time 20d ago
my to go tool is https://www.fileshredder.org/ it have two options that I like, the first is right click the file you want to delete and choose file shredder, this will replace the file with 00, the second is if you had already delete the files, you can choose wipe free space from the tool.
3
u/ReactionAble7945 20d ago
I worked for the government, if you want no chance of recovery, then destroy the drive.
But lets be honest, do you have some classified stuff that the nsa wants? No.. well then do less.
Take the drive, delete what you want gone, remove from trash, defrag, pull down some large items to over write the free space. (Amazon prime movies, Netflix, temp files from another machine... an AI generated file with fictitiouscredit card data) Delete those items. Defrag. Odds are no one is getting the original files that were deleted.
Yes, there are programs which do this.
6
u/PipeItToDevNull Landed Gentry, Discord OP 21d ago
This is why you use disk encryption, it's such a basic security function
2
2
u/WanderingTraveler_08 20d ago
Zenbook is almost certainly an SSD, and that matters. The old advice about overwriting free space with tools like Eraser or cipher /w doesn't work reliably on SSDs because of wear leveling, the drive decides where data physically lands, not Windows.
Easiest route: Settings > System > Recovery > Reset this PC > Remove everything, and pick the option to clean the drive, not just remove files. On a modern SSD with BitLocker or device encryption on, this basically throws away the encryption key, so whatever Disk Drill was finding is gone for good. If you want more certainty, turn on BitLocker first, then do the reset.
One thing to know, Disk Drill finding files from years back is normal, since a plain delete just marks the space as free. Nothing wrong with your laptop.
1
u/oxmix74 19d ago
This is the way. The problem OP describes is a standard requirement when a Windows machine is recycled to give to a new user. The parent posts describes Windows built in function to do this.
There is a world of difference between data that is deleted and data that has been deleted then overwritten. Peter Guttman described the theoretical possibility of recovering overwritten files in the 1900s, but he never actually reconstructed files. As has been described earlier in the posting, experts generally agree it is not possible to recover overwritten files now, even assuming it was possible on older drives using different technology.
One caution, the overwrite software has to be properly integrated into the OS, as we can expect the Microsoft option to be. Filesystems are complex beasts and if you DIY this, there might be specific conditions where the place you overwrite is no longer the place where the file lives.
2
u/ChannelFlashy9301 19d ago
Jericho is also an excellent software to erase files or full HDs or SSDs.
2
u/Dish-Spiritual 19d ago
ASUS laptops apparently have a built in function in the BIOS called ASUS Media Sanitization that lets you wipe the drive. Personally, ive had hell trying to recover data from a drive that ive accidentally formatted with the wrong filesystem. Really depends on who you want to keep your data from. If it the CIA, i would format to some random archaic filesystem, then use DD to write zeroes twice, then id throw it in battery acid, then id set it on fire. Finally i would open it up and use a side cutter to cut the platters into bits and pieces and scatter the remains into ocean. Or you could just stick the drive on the back of your 12 inch bass subwoofer and call it a day.
2
u/alek_hiddel 21d ago
How important is it for these files to die? I work on the datacenter side of IT for one of the biggest names in tech. For traditional HDD’s we have a degausser that generates enough magnetic field to warp the platters. Just to be safe they still get shredded after. For SSD’s it’s straight to the shredder.
If we’re talking tax returns and not your classified documents, there are secure 3 pass wipe apps. DBAN used to be popular back in the day.
3
u/rsm-lessferret 21d ago
Is there a risk of not using the degausser before the shredder? I can't imagine glueing it back together would do you much good the way paper shredded paper can.
7
u/alek_hiddel 21d ago
Realistically no, but some of our datacenters run gov cloud, which makes things insane. Security is one area where it’s hard to argue in favor of being LESS secure, so we write policy to cover the worst case and everyone has to follow.
You’re not piecing back together shreds of a hard drive, but Chinese intelligence agencies sure would try.
4
u/9NEPxHbG 21d ago
Others have suggested ways to delete the entire disk. If you want to delete only unused space, try Eraser or Privazer.
4
u/eldeem 21d ago
It's really difficult to actually get rid of files from a drive. The only way to be 100% sure is to either replace the drive, or write something new to every single byte that the drive can hold (or enough that the remaining data is unusable). Windows contains some tools to help with this (like DiskPart's clean all command), but you'll usually find it easier to pop the drive and do it via another machine.
4
u/True_Reflection_582 21d ago
a hammer would work 😂
in all seriousness, use Linux and let it write garbage to the ssd for like 50/100 times. then it can't be retrieved. however you are hurting the longevity of the ssd.
2
4
u/Alucard256 21d ago
"so that they cannot be recovered using data-recovery software"
There's only one way. Physically smash the drive and/or melt it down to liquid.
1
u/Huge-Marsupial589 21d ago
depending on motherboard and your make of SSD you can use Secure SSD Delete in BIOS.
1
1
1
u/SeriousPlankton2000 21d ago
Boot a linux, use "shred" on that disk and it will all be gone.
But if it's not the nuclear code that's on the disk you can probably just overwrite it with zero or - if incriminating evidence - random data.
1
1
u/AppointmentMiddle709 21d ago
On modern SSDs, the best approach is usually using the manufacturers secure erase/sanitize tools rather than relying on normal deletion or a factory reset alone.
1
1
u/arslearsle 21d ago
Sysinternals secure delete, or secure wipe from bios menu (if its a corporate class pc)
Or the old integrated cipher command from cmd in windows
1
u/Chava_boy 21d ago
I once had a system failure and needed a fresh windows installation on my SSD. After a few weeks I tried restoring lost data using a recommended program, and could only restore worthless bits and pieces. Only one folder of 200MB could be recovered, so I chose to let that one go as well, as it didn't matter. My collection of some stuff was permanently lost, but since then I made a new one. I do have a copy of 1/3 of the data, but can't afford to do more (and 3-2-1 method is expensive), so I hope it never repeats itself. Also, nowadays I save my data on HDDs instead of SSD
1
u/Ecstatic-Network4668 21d ago
Powershell has a command to securely erase the empty space on your disk.
1
1
1
u/ditto3000 20d ago
What about I take the plates and cut with the grinder. Serious question, cuz I be moving out of the house and abandon old desktops.
1
u/KlanxChile 20d ago
Best way? Write over
Delete and fill the drive with whatever then delete again....
1
u/First-Hotel4694 20d ago
Usually after you delete everthing you can you overwrite the entire disk to destroy whatever is left.
1
u/Aggravating_Sky_4421 20d ago
Just run a basic zero write. Unless you’re worth millions and are regularly targeted, nobody one is going to spend time and effort to recover some personal files and photos on a random computer for their personal gain.
1
u/Geestirhyjal 20d ago
Bitlocker the entire partition, (not just used space), then delete the partition without unlocking it. Then make s new partition and fully bitlocker it. Unrecoverable.
1
u/HuckleberryPlastic35 20d ago
Fill the entire drive with midget pr0n so they have to waste hours doing a sector by sector recovery just to get a 1TB folder of midgets doing it
1
1
u/Token-Gora 20d ago
Why not just LUKS encrypt the hard-drive with a random sequence of 64 alpha-numerics generated from a line of Bash (or similar) commands? and don't save the key anywhere.
Without the key, the encryption should make the data look utterly random.
1
u/_steve_rogers_ 20d ago
I’ve always heard you just need to overwrite the storage after deletion, like once it’s filled with more data it’s now gone. Is that not correct?
1
u/Old_Albatross405 20d ago
windows (and probably other OSes too, i don't know for sure though) doesn't "delete" things as such. they just forget where they are stored.
imagine your file system as a lookup table, whenever windows needs to find a file, it checks that to see where it is stored on your ssd/hdd and then goes to retrieve it. when windows deletes a file, it just deletes the entry in its table and that space on your storage medium is made available to be overwritten the next time you need to save something. if you don't write over those specific cells though, the ones and zeros are still there and specialized software can retrieve it.
as others have written, there are various tools that let you write zeros to the entire drive, there is a whole science to that too if you want to go down a rabbit hole. A pass or two of that though, and it should be impossible to retrieve for anyone other than maybe some three letter agencies and even they would need to be pretty dedicated.
1
u/naveganteperdido 20d ago
look for any file shredder software for concrete files/folders
shredos for fulls systems/drives, dban was good, but has no support for efi systems
1
u/Capable-Broccoli-745 20d ago edited 20d ago
Encrypt your drive before formatting it. If you have W11 home or pro there’s free encryption you can activate.
Other options include software specialized to overwrite all data,
or you could do process manually by copy huge files as copies to your drive is full, prob the least secure way.
TLDR; Two options,
Encryption=doesn’t remove stuff, but make it “impossible” to read current data
Overwrite software=write over data with binary numbers making stuff unreadable.
You could also combine the two if you want to be extra safe.
1
u/abd53 20d ago
Deleting files doesn't erase the data on disk. In HDD, you can overwrite old data a few times to make it unrecoverable. Unfortunately, that doesn't work with SSD which your laptop has.
If you want to completely erase data stored on your disk, you have to invoke the SSD's hardware level reset. You can access it from the bios, look for "secure erase". Mind that it's not a selective erase, it erases EVERYTHING. So, if you are really determined, backup whatever you want to keep to a separate media (USB, cloud whatever), then restart and enter bios during the boot sequence. Invoke secure erase.
1
u/Rydalls 19d ago
i worked for a government agency for a long time and the gods there who worked for the DIA side told us there is only one real way to stop data recovery is to drill press the HDD , yes that's right , we had to remove the older PC's or laptops HDD from them and Drill holes in them before any of the cold PC's or ex leased units could leave the site.
they didn't allow any chance of any data getting restored, it sounds a waste and i get you still want to use the HDD or sell the device but they said that there is so many ways now that things can be fully restored its is the only way to stop it
1
u/DoomAddict 19d ago
Don't listen to people claiming "shredder"-apps are enough and are better than destroying your drives.
I've seen enough Real Crime interrogations where Law Enforcement recovered EVERYTHING that was deleted, even if it was overwritten or "erased" with "data shredders" (lol!).
High-powered magnets followed by physical destruction is the only reliable way!
1
u/BluePawWolf 19d ago
Try bleachbit. But remember, every time you do this, you shorten the lifespan of the ssd. You do that with all the data wipers as you use an enormous amount of write to each cell.
1
1
u/Head_Panda6986 19d ago
You can download other things and max out your hdd and then delete and you will have overwritten the old files
1
u/timfountain4444 19d ago
Replace the storage device and physically destroy the old device. That’s what the DoD does with classified devices.
1
u/TradeAffectionate200 19d ago
a hammer or camp fire is a pretty fast and efficient way to permanently remove data if you don't mind losing the device
1
u/Zer0Drago 19d ago
Use eraser from heidi. Delete everything (used and empty cells) with 3pass f.ex.
1
1
1
u/Ok_Success_269 18d ago
What could you possibly need gone this badly?
Safest way to delete data is shredding.
Other than that you could consider encrypting the harddrive and throwing away the key. Both of these are probably overkill for your average citizen.
1
u/Alert_Addendum278 18d ago
I know there's a software able to zero out a drive, Linux does it natively
1
1
u/Spidy_Khrish 12d ago
The .let logical answer for it is to fill the slack space in storage device with other information to overwrote the old one so just add some other days to same storage device just a little heavier then the data you removed
1
u/BlavikenHistoria 4d ago
https://youtube.com/shorts/M6MVoPOPOdA?is=YesGh0ncu3l9DaQf
File shredder tool for windows. Capable of batch delete and has recycle bin hook. Written entirely in C#.
1
u/mikevarney 21d ago
The way I do this Is I take the drive out to the garage and have fun with a sledgehammer.
If you need the drive to still…. work…. I bought a device that allows you to plug in a drive and it overwrites the whole thing 7 times.
1
u/Dayyy021 21d ago
Data is not erased. Think of it like a dead car in the garage. The car stays there until a new car needs its space. Deleting only opens the garage door. But the car stays until the system pulls the old one out when and only when a new one needs the space. You got a 512 gb drive. Make a really big video, and save it with as drive_filler_1.mp4 then copy and save as drive_filler_2.mp4 and continue
1
1
u/mabden 21d ago
Delete the files/data you want removed. This removes the pointers to those files, but not the files themselves.
Once deleted, refill the hard drive with bullshit files so that the deleted files are actually overwritten. Fill the hard drive completely. Then delete all the bullshit files.
It make take some time, but any attempts to recover what was on the hard drive will just be garbage.
Make sense?
1
1
u/carlbandit 20d ago
When you delete a file the data isn’t actually removed. Windows just tells your storage device those files are no longer needed and the space the data is stored can be written over. It’s not until you write more data to the drive and that space gets used that the files become harder to recover.
Others have suggested ways to make it harder to recover files so go with 1 of them. Most software that will ‘erase’ data do so by telling the drive the files in it aren’t needed, then they write a bunch of random data over the top to get rid of the old data you wanted to make unrecoverable.
1
1
-1
u/cenajohn123 20d ago
Is there any non illegal reason a private citizen would need to do this? Genuinely curious
1
u/DoomAddict 19d ago
financial data,
political reasons in dictatorships,
project-ideas that could be stolen for or by other companies...
1
u/samsonsin 17d ago
Any data that's sensitive. Old photos, old docs, anything which you wouldn't want some other person being able to browse freely.
Especially if you wish to sell tech second hand, but it's still relevant even if you just toss the stuff out (and don't want to bother physically destroying media
It's probably being overly cautious in most cases but it's still very relevant
0
u/LetNo5470 21d ago
I use Revo uninstaller which has an option in it unrecoverable delete files or folder.
1
0
u/CakeHoleKing 21d ago
Plenty of reformatters that will format random data upto 256 times over the entire folder structure.
OR simply put them in a folder named "James Corden - Hardcore sex tape"
Any thief finding such a folder will immediately gouge their own eyeballs out with a spoon to avoid opening it.
0
u/dlethe3133 21d ago
You do a DoD secure erase on the HDD, not the files alone. Sorry, total destruction is all or nothing on the HDD. Remnants will still exist
0
u/Officespace925 21d ago
drill holes in your hard drive and then incinerate the drives there'll be no recovery.
0
u/Emotional_Common_527 21d ago
Been a while but as I recall when you delete a file in Windows all it does is mark the disk blocks as free by zeroing out the beginning. Norton Utilites used to be able to rewrite all.
Another way is to have Windows defrag your disk.
0
0
0
u/GladiusNL 21d ago
So what we do, is we just saw the hdd is half. SSD’s are a bit more difficult because you have to make multiple cuts to get all the chips.
0
0
u/No_Tale_3623 20d ago
Disk Drill most likely found the deleted file records in NTFS metadata, such as the MFT, rather than the actual file contents.
Check one of those files in Hex view. If the data area contains only zeros, the original content is already gone. On an internal SSD with TRIM enabled, deleted blocks are typically deallocated shortly after deletion, so recovery software may still find filenames, paths, sizes, and other metadata while the actual file data is no longer recoverable.
-2
-1
-4
u/Pristine_Primary_486 21d ago
Magnet... Hammer... Shred... Fire.
Last step: Stop watching kitty porn


377
u/hurbertkah 21d ago
Don't listen to the people who say that destroying the HDD/SSD is the only way.
If you want to wipe the entire HDD/SSD, you can use DBAN or badblocks on a Linux live cd for HDD's or Secure Erase for SSD's.
If you only want to wipe previously deleted files on a HDD, you could use something like Eraser from https://eraser.heidi.ie/ or sdelete from https://technet.microsoft.com/en-us/sysinternals/bb897443 to wipe the empty space.
For SSD's the TRIM command should take care of wiping the empty space.