• 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,459 (0.60/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
3,107 (2.01/day)
Location
Germany
Processor AMD Ryzen 9 9950X3D
Motherboard ASRock B850M PRO-A
Cooling Corsair Nautilus 360 RS
Memory 2x32GB Kingston Fury Beast 6000 CL30
Video Card(s) PowerColor Hellhound RX 9070 XT
Storage 1TB Samsung 990 Pro, 2TB Samsung 990 Pro, 4TB Samsung 990 Pro
Display(s) LG 27GS95QE-B, MSI G272QPF E2
Case Lian Li DAN Case A3 Black Wood Edition
Audio Device(s) Bose Companion Series 2 III, Sennheiser GSP600 and HD599 SE - Creative Soundblaster X4
Power Supply Corsair RM1000X ATX 3.1
Mouse Razer Deathadder V3
Keyboard 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
631 (0.54/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
22,202 (3.44/day)
Location
Olympia, WA
System Name Pioneer
Processor Ryzen 9 9950X
Motherboard MSI MAG X670E Tomahawk Wifi
Cooling Noctua NH-D15 + A whole lotta Sunon, Phanteks and Corsair Maglev blower fans...
Memory 128GB (4x 32GB) G.Skill Flare X5 @ DDR5-4200(Running 1:1:1 w/FCLK)
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 5800X Optane 800GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs, 1x 2TB Seagate Exos 3.5"
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, other office machines run Windows 11 Enterprise
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,459 (0.60/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
3,943 (1.73/day)
Location
UK, Midlands
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) 4080 RTX SUPER FE 16G
Storage 1TB 980 PRO, 2TB SN850X, 2TB DC P4600, 1TB 860 EVO, 2x 3TB WD Red, 2x 4TB WD Red
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Soundblaster AE-9
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
302 (0.49/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
22,202 (3.44/day)
Location
Olympia, WA
System Name Pioneer
Processor Ryzen 9 9950X
Motherboard MSI MAG X670E Tomahawk Wifi
Cooling Noctua NH-D15 + A whole lotta Sunon, Phanteks and Corsair Maglev blower fans...
Memory 128GB (4x 32GB) G.Skill Flare X5 @ DDR5-4200(Running 1:1:1 w/FCLK)
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 5800X Optane 800GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs, 1x 2TB Seagate Exos 3.5"
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, other office machines run Windows 11 Enterprise
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.07/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,459 (0.60/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
1,151 (0.69/day)
System Name Laptop ASUS TUF F15 | Desktop 1 | Desktop 2
Processor Intel Core i7-11800H | Intel Core i5-14600K@135W | Intel Core i3-10100
Motherboard ASUS FX506HC | Gigabyte B660M DS3H DDR4 | MSI MAG B560M Bazooka
Cooling Laptop built-in cooling lol | Thermalright Assassin Spirit w/ BeQuiet Shadow Wings fan| Stock Copper
Memory 24 GB @ 3200 | 32 GB @ 3733 | 16 GB @ 3200
Video Card(s) Nvidia RTX 3050 Mobile 4GB | Nvidia GTX 1650 | Nvidia GTX 960 2 GB
Storage Adata XPG SX8200 Pro 512 GB | Samsung M2 SSD 256 GB & 1 TB 2.5" HDD @ 7200| SSD 250 GB & SSD 240 GB
Display(s) Laptop built-in 144 Hz FHD screen | Dell 27" WQHD @ 75 Hz & 49" TV FHD | Samsung 32" TV FHD
Case It's a laptop, it doesn't need case lmfao | Deepcool Mattrexx 55 MESH | Aerocool Cylon PRO
Audio Device(s) laptop built in audio | Logitech 2.1 speakers | Logitech stereo speakers
Power Supply ASUS 180W PSU | SeaSonic Focus GX-550 | SeaSonic M12II EVO 520W
Mouse Logitech G604 | Corsair Harpoon wired mouse| Logitech G305
Keyboard Laptop built-in keyboard |Razer Blackwidow | Steelseries APEX 7 TKL
VR HMD Quest 2 sold out and don't need VR anymore lol
Software Windows 10 Enterprise 20H2 | Windows 10 Enterprise 20H2 & Ubuntu Mate 24.04.2| Windows 11 24H2 LTSC
Benchmark Scores good enough
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.07/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
3,730 (1.78/day)
System Name Still not a thread ripper but pretty good.
Processor Ryzen 9 7950x, Thermal Grizzly AM5 Offset Mounting Kit, Thermal Grizzly Extreme Paste
Motherboard ASRock B650 LiveMixer (BIOS/UEFI version P3.08, AGESA 1.2.0.2)
Cooling EK-Quantum Velocity, EK-Quantum Reflection PC-O11, D5 PWM, EK-CoolStream PE 360, XSPC TX360
Memory Micron DDR5-5600 ECC Unbuffered Memory (2 sticks, 64GB, MTC20C2085S1EC56BD1) + JONSBO NF-1
Video Card(s) XFX Radeon RX 5700 & EK-Quantum Vector Radeon RX 5700 +XT & Backplate
Storage Samsung 4TB 980 PRO, 2 x Optane 905p 1.5TB (striped), 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)
Audio Device(s) Corsair Commander Pro for Fans, RGB, & Temp Sensors (x4)
Power Supply Corsair RM750x
Mouse Logitech M575
Keyboard Corsair Strafe RGB MK.2
Software Windows 10 Professional (64bit)
Benchmark Scores RIP Ryzen 9 5950x, ASRock X570 Taichi (v1.06), 128GB Micron DDR4-3200 ECC UDIMM (18ASF4G72AZ-3G2F1)
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
22,202 (3.44/day)
Location
Olympia, WA
System Name Pioneer
Processor Ryzen 9 9950X
Motherboard MSI MAG X670E Tomahawk Wifi
Cooling Noctua NH-D15 + A whole lotta Sunon, Phanteks and Corsair Maglev blower fans...
Memory 128GB (4x 32GB) G.Skill Flare X5 @ DDR5-4200(Running 1:1:1 w/FCLK)
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 5800X Optane 800GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs, 1x 2TB Seagate Exos 3.5"
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, other office machines run Windows 11 Enterprise
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
6 (0.01/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) 1x LG 34" UG OLED, 1x MSI 27" MAG274QRF- 1x 6TB 7200RPM 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 WIFI mouse
Keyboard Logitech WIFI keyboard
VR HMD Quest 2/3 , HTC Vive and Valve Index
Software WIn1123H2, Endeavor OS Merc
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