• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

(SSD FORMATING) difference between Secure Erase and Sanitize drive, which is more effective at deleting data and factory reseting the SSD?

Joined
Sep 20, 2018
Messages
1,445 (0.68/day)
So i have a Crucial MX500 SSD that i want to factory reset and delete all data, the most common options for ssd formating are secure erase and sanitize drive, which is better for factory reseting a drive?
 
Joined
Feb 6, 2021
Messages
2,763 (2.22/day)
Location
Germany
System Name Sunk Cost Fallacy
Processor AMD Ryzen 7 7800X3D
Motherboard ASRock B650E Steel Legend Wifi
Cooling Arctic Liquid Freezer II 360 Rev. 7
Memory 2x16GB G.Skill Trident Z5 NEO 6000 CL30
Video Card(s) Sapphire Nitro+ RX 7900 XTX Vapor-X
Storage WD Black SN850X 1TB + 2x 2TB, 2x 4TB Crucial MX500, 4TB Samsung 870 Evo.
Display(s) Alienware AW2723DF, LG 27GR93U, LG 27GN950-B
Case Lian Li O11 Air Mini
Audio Device(s) Bose Companion Series 2 III, Sennheiser GSP600 and HD599 SE - Creative Soundblaster X4
Power Supply bequiet! Dark Power Pro 12 1500w Titanium
Mouse Logitech GPRO X Superlight & G502 X
Keyboard Corsair K65 RGB Mini, Razer Black Widow V3 TKL
VR HMD Oculus Rift S
quick format and running TRIM is secure enough that the FBI has trouble to recover data from an SSD.
Data on flash is just a bunch on 0 and 1s without having the related pages.
 
Joined
Feb 22, 2022
Messages
559 (0.65/day)
Processor AMD Ryzen 7 5800X3D
Motherboard Asus Crosshair VIII Dark Hero
Cooling Custom Watercooling
Memory G.Skill Trident Z Royal 2x16GB
Video Card(s) MSi RTX 3080ti Suprim X
Storage 2TB Corsair MP600 PRO Hydro X
Display(s) Samsung G7 27" x2
Audio Device(s) Sound Blaster ZxR
Power Supply Be Quiet! Dark Power Pro 12 1500W
Mouse Logitech G903
Keyboard Steelseries Apex Pro
Secure erase will clean out the drive, basically orders the controller to overwrite every nand cell once. I would consider that the proper way to "factory reset" a modern ssd.

But it all depends on what you want to achieve. What GerKNG says above is enough, if all you're doing is preparing for a fresh install of your os of choice.
 
Joined
Aug 20, 2007
Messages
20,959 (3.40/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64 / Windows 11 Enterprise IoT 2024
It depends. Technically secure erase on self-encrypted drives (most every SSD today falls in this group) often just deletes the encryption key and generates a new one. Short of a quantum computer, this is as good as a full format. But if you are really worried yeah, its not technically the same.
 
Joined
Sep 20, 2018
Messages
1,445 (0.68/day)
Appreciate all your feedback, i did some googling and found the following information according to WD :
  • Secure Erase will delete all mapping tables on the drive including all data.
  • Sanitize will delete all mapping tables and will erase all blocks that have been written.
So in a way, please correct me if I'm wrong, secure erase is like quick format and sanitize is full format?
 
Joined
Feb 1, 2019
Messages
2,838 (1.43/day)
Location
UK, Leicester
System Name Main PC
Processor 13700k
Motherboard Asrock Z690 Steel Legend D4 - Bios 13.02
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE 10G
Storage 1TB 980 PRO (OS, games), 2TB SN850X (games), 2TB DC P4600 (work), 2x 3TB WD Red, 2x 4TB WD Red
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
Software Windows 10 21H2 LTSC
Appreciate all your feedback, i did some googling and found the following information according to WD :
  • Secure Erase will delete all mapping tables on the drive including all data.
  • Sanitize will delete all mapping tables and will erase all blocks that have been written.
So in a way, please correct me if I'm wrong, secure erase is like quick format and sanitize is full format?
If thats right, thats a change.

It used to be that secure erase zeroed every cell.
 
Joined
Aug 27, 2023
Messages
187 (0.60/day)
There's a post on the Corsair forum that nicely shows how a third party app securely erases by TRIM. Takes about 2 Seconds to complete the whole drive which is about what I have seen in the earlier days of testing TRIM commands. The Corsair toolbox Secure Wipe how ever shows what would be expected if blocks were actually erased.


It is from a while back so things may have changed. Different drives may do different things, even same drive different firmware.

An interesting article for reference maybe
 
Joined
Aug 20, 2007
Messages
20,959 (3.40/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64 / Windows 11 Enterprise IoT 2024
It used to be that secure erase zeroed every cell.
That was only true on drives that did not use encryption, ie very early SSDs like sandforce controllers and similar.

Technically this translates roughly to two old ATA commands, ATA_SECURITY_SECUREERASE and ATA_SECURITY_ERASE (I may be slightly butchering these). The first will simply wipe the encryption key if the option exists. The second writes 0 to every sector and trims it if applicable. You can still issue both of these commands directly under linux.
 
Joined
Jan 24, 2009
Messages
435 (0.08/day)
Location
New York
System Name Unobtainium
Processor 3600X
Motherboard Gigabyte X570S Aorus Elite AX
Cooling DH15 Chromax Black
Memory 32GB Ripjaws 3200MHz
Video Card(s) EVGA 3080 Ti FTW Ultra w/ Alphacool Eiswolf
Storage 500GB SN750 | 3.84TB Micron 7450| 4TB SP XS70
Display(s) Asus 144Hz display + LG Ultrafine 4k
Case Evolv X
Audio Device(s) Schiit Hel + AKG Q701s
Power Supply Seasonic FOCUS PX-750
Mouse Logitech G502 Hero
Keyboard Filco Majestouch II
Software Windows 11
Just formatting the drive is enough to wipe data but secure erase is good enough most of the time. Generally formatting a drive and running trim is enough to wipe a drive. I never can recover from SSDs that have been trimmed. :( Its all zeros.
 
Joined
Sep 20, 2018
Messages
1,445 (0.68/day)
Just formatting the drive is enough to wipe data but secure erase is good enough most of the time. Generally formatting a drive and running trim is enough to wipe a drive. I never can recover from SSDs that have been trimmed. :( Its all zeros.
How do you run trim, i ran the Crucial storage executive and the only option to format is sanitize, what does trim do different than a secure erase or sanitize format?
 
Joined
Oct 2, 2020
Messages
761 (0.56/day)
System Name ASUS TUF F15
Processor Intel Core i5-10300H
Motherboard ASUS FX506LHB
Cooling Laptop built-in cooling lol
Memory 24GB @ 2933 Dual Channel
Video Card(s) Intel UHD & Nvidia GTX 1650 Mobile
Storage WD Black SN770 NVMe 1TB PCIe 4.0
Display(s) Laptop built-in 144 Hz FHD screen
Audio Device(s) LOGITECH 2.1-channel
Power Supply ASUS 180W PSU (from more powerful ASUS TUF DASH F15 lol)
Mouse Logitech G604
Keyboard SteelSeries Apex 7 TKL
Software Windows 11 Enterprise 21H2
So i have a Crucial MX500 SSD that i want to factory reset and delete all data, the most common options for ssd formating are secure erase and sanitize drive, which is better for factory reseting a drive?
use some proper SW like Paragon Hard Disk Manager (lol), or O&O SafeErase and use Peter Gutmann algorithm (35x erase). Yes, wear and tear lol, but it's much more warranty that FBI won't recover your tasty strawberry pics and vids compared to all that "secure erase" and other BS.
 
Joined
Jan 24, 2009
Messages
435 (0.08/day)
Location
New York
System Name Unobtainium
Processor 3600X
Motherboard Gigabyte X570S Aorus Elite AX
Cooling DH15 Chromax Black
Memory 32GB Ripjaws 3200MHz
Video Card(s) EVGA 3080 Ti FTW Ultra w/ Alphacool Eiswolf
Storage 500GB SN750 | 3.84TB Micron 7450| 4TB SP XS70
Display(s) Asus 144Hz display + LG Ultrafine 4k
Case Evolv X
Audio Device(s) Schiit Hel + AKG Q701s
Power Supply Seasonic FOCUS PX-750
Mouse Logitech G502 Hero
Keyboard Filco Majestouch II
Software Windows 11
How do you run trim, i ran the Crucial storage executive and the only option to format is sanitize, what does trim do different than a secure erase or sanitize format?
TRIM use to be OS/File system based, now it is just integrated into the SSDs themselves.
 
Joined
Jul 30, 2019
Messages
2,630 (1.46/day)
System Name Not a thread ripper but pretty good.
Processor Ryzen 9 5950x
Motherboard ASRock X570 Taichi (revision 1.06, BIOS/UEFI version P5.50)
Cooling EK-Quantum Velocity, EK-Quantum Reflection PC-O11, EK-CoolStream PE 360, XSPC TX360
Memory Micron DDR4-3200 ECC Unbuffered Memory (4 sticks, 128GB, 18ASF4G72AZ-3G2F1)
Video Card(s) XFX Radeon RX 5700 & EK-Quantum Vector Radeon RX 5700 +XT & Backplate
Storage Samsung 2TB 980 PRO 2TB Gen4x4 NVMe, 2 x Samsung 2TB 970 EVO Plus Gen3x4 NVMe, AMD Radeon RAMDisk
Display(s) 2 x 4K LG 27UL600-W (and HUANUO Dual Monitor Mount)
Case Lian Li PC-O11 Dynamic Black (original model)
Power Supply Corsair RM750x
Mouse Logitech M575
Keyboard Corsair Strafe RGB MK.2
Software Windows 10 Professional (64bit)
Benchmark Scores Typical for non-overclocked CPU.
How do you run trim, i ran the Crucial storage executive and the only option to format is sanitize, what does trim do different than a secure erase or sanitize format?
If I recall correctly TRIM tells the SSD what data can be erased so you can't necessarily rely on that function itself to destroy data.
Note some UEFI/BIOS have specific utilities for erasing SSD's both SATA and NVMe that may correspond to Secure Erase and Sanitize.
 
Joined
Aug 20, 2007
Messages
20,959 (3.40/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64 / Windows 11 Enterprise IoT 2024
TRIM use to be OS/File system based, now it is just integrated into the SSDs themselves.
That's garbage collection. Trim still needs OS/filesystem level support.

Simpy running the windows optimize tool on an ssd will trim the drive.
 
Joined
Oct 27, 2023
Messages
5 (0.02/day)
System Name Zappa
Processor 13900K
Motherboard Asrock Z790 PG Lightniing
Cooling NZXT Kraken X63 280mm AIO
Memory 32GB Corsair Vengence DDR5 5200
Video Card(s) EVGA 3070ti 8GB 256 bit
Storage 1x Samsung 980 NvME 2TB, 1x WD Black SN770 2TB, 1 SAmsung 870 EVo SSD (2.5) 1TB, I Intel NvME 665p
Display(s) 3x2k -Asus/MSI/Asus sucks never again - 1x 4TB 5400RPM seagate and 1x 7200 10TB Seagate
Case NZXT H510 Flowback Mid-Tower
Audio Device(s) Onboard audio (Realteck 7.1)
Power Supply EVGA 1000 watt +80 Gold Semi-Modular SuperNova
Mouse Logitec crap WIFI mouse
Keyboard Logitech crap WIFI keyboard
VR HMD Quest 2/3 , HTC Vive and Valve Index
Software WIn1022H2, Kubuntu 23.10
To properly secure wipe an SSD/NvME you need a commercial software (AFAIK - last time I checked into it was 3 years ago) otherwise the free ones do not completely wipe the drive.
I work for a financial institution (high security) and they always just destroy the drives because that's the only way to really be sure.
The free ones do not wipe the part of the drive windows cannot see; the commercial ones do wipe that part of the drive that windows cannot see.

Let the naysayers sound off about that comment - giggle.

Edit:

I did not read the whole thread. Trimming is something else entirely; I had to change this, I realized how very badly it was worded. Trimming marks the data/blocks writeable again, until the trim command is actually run the data is recoverable after that nogo.

Edit 2:

You can manually trim the drive but it is usually not necessary as Winblows doessit on a regular basis:

Open an admin powershell terminal or and admin cmd - if you use the admin CMD first type powershell, then the below command: this will immediately trim the drive.

Optimize-Volume -DriveLetter YourDriveLetter -ReTrim -Verbose
 
Last edited:
Top