Skip to content

Repository files navigation

EasyDiskWiper

A tiny Delphi 7 GUI that does one job well: wipe a whole disk with a single zero‑fill pass (like dd), with clear progress, speed and ETA. It can also attempt ATA Secure Erase for SATA SSDs, and NVMe Format/Sanitise on native NVMe devices.

⚠️ Data loss warning: this tool erases the entire selected disk. Double‑check the target before starting.

Features

  • Disk list with Path, Model, Bus, Size, Layout, Partitions, Volumes
  • Progress bar + “bytes written”, MB/s and ETA
  • Stop button (best‑effort cancel)
  • Optional Force offline (Win7+) to open busy disks for writing
  • Modes
    • Disk – zero‑fill via raw write (works on XP → 11)
    • SSD – ATA Secure Erase (native SATA only; not via typical USB–SATA bridges)
    • NVMe – NVMe Format/Sanitise (Windows 10+; only when the device is on the native NVMe driver, not via USB enclosures)

OS support

  • Runs on Windows XP → Windows 11
  • On Windows 7+ it auto‑elevates to Administrator
  • UI hides/greys out features your OS can’t use (e.g., NVMe on < Win10)

USB enclosure caveats

  • Most USB‑SATA bridges don’t pass the ATA Security feature set → Secure Erase won’t work over USB.
  • Most USB NVMe enclosures present as UASP mass‑storage, not NVMe → NVMe admin commands won’t work over USB.

Connect SSD/NVMe to a native SATA or NVMe (M.2/PCIe) port for those modes.

Build

  • Delphi 7 project. Open EasyDiskWiper.dpr and build.
  • Resources / icon:
    • The repo includes EasyDiskWiper.ico and EasyDiskWiper.rc.
    • Easiest: compile the RC so the EXE picks up your icon:
      brcc32 EasyDiskWiper.rc
      This creates EasyDiskWiper.res which the project links via {$R *.res}.
    • If the IDE auto‑generates a duplicate MAINICON, remove {$R EasyDiskWiper.res} from the DPR or rename your RC symbol and load it at runtime.

Usage

  1. Run the app (on Win7+ it will prompt for Admin).
  2. Click Refresh to enumerate storage.
  3. Select the correct disk (use Bus and Volumes to verify).
  4. Choose Mode:
    • Disk for zero‑fill,
    • SSD for ATA Secure Erase (native SATA only),
    • NVMe for Format/Sanitise (Win10+, native NVMe only).
  5. (Optional) Tick Force offline (Win7+) if a raw write fails with access denied.
  6. Click Wipe and watch progress; Stop to abort.

Screenshot

EasyDiskWiper – main window

Notes & limits

  • Stop during raw wipe is best‑effort; writes in progress may finish.
  • NVMe sanitise options are conservative; the app prefers Format NVM with crypto‑erase flag when supported.

License

This project is distributed under the MIT Licence.
See the LICENSE file for more details.


Credits

Created by ibizara, 2025
For more information, visit ce.uk


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages