SysTutorials

How to Erase and Partition USB Drives on Windows

· updated April 11, 2026

When you need to completely wipe a USB drive on Windows, you have several reliable options. Choose based on your security requirements: Disk Management for quick reformatting, DiskPart for automation, or secure erasure tools if the drive contained sensitive data.

Using Windows Disk Management

The simplest built-in approach:

  1. Connect the USB drive
  2. Open Disk Management (Win+X → Disk Management, or search “Disk Management”)
  3. Locate your USB drive in the lower pane
  4. Right-click each partition and select Delete Volume
  5. Right-click the unallocated space and select New Simple Volume
  6. Choose size, filesystem (NTFS or FAT32), and drive letter
  7. Click Format to complete

This removes partitions and prepares the drive for reuse, but doesn’t securely erase existing data.

Using DiskPart (Command Line)

For automated or scripted scenarios, DiskPart provides direct control:

diskpart
list disk
select disk X
clean all
create partition primary
format fs=ntfs quick
assign letter=Z
exit

Replace X with your USB drive’s disk number from the list disk output. The clean all command removes all partitions and wipes the partition table. Use clean instead for faster execution without secure overwriting.

Warning: DiskPart operations are immediate and irreversible. Verify the disk number before executing — selecting the wrong disk will destroy that drive’s data.

Secure Erasure with DBAN

For drives that previously contained sensitive data:

  1. Download DBAN from https://dban.org/
  2. Create a bootable USB on another drive using Rufus or Balena Etcher
  3. Boot the target USB drive from the DBAN media
  4. Select your USB drive in DBAN
  5. Choose an erasure method:
    • Quick Erase: Fast, suitable for most cases
    • DoD 5220.22-M: Three-pass overwrite (U.S. Department of Defense standard)
    • Gutmann method: 35-pass overwrite (extremely thorough but very slow)
  6. Start the process

DBAN completely overwrites all data multiple times, making recovery practically impossible. Expect hours for larger drives.

Third-Party Partition Tools

EaseUS Partition Master Free or MiniTool Partition Wizard Free offer GUI-based alternatives:

  1. Download and install the tool
  2. Right-click the USB drive and select Delete All Partitions or Format
  3. Apply changes

These tools provide visual feedback and additional partition management features if you need them.

Cipher Command (Post-Format Secure Erase)

After formatting with standard tools, securely overwrite free space:

cipher /w:Z:

Replace Z: with your USB drive’s letter. This overwrites unallocated space with random data, preventing recovery of deleted files. It’s faster than DBAN but less thorough — use it for drives already in use that you want to clean up incrementally.

Quick Format vs. Full Erase

Method Speed Security Use Case
Quick Format Seconds Low (data recoverable) General reuse, non-sensitive data
Full Format Minutes Low (data recoverable) Better filesystem integrity checking
Secure Erase (DBAN/Cipher) Hours High (data unrecoverable) Sensitive information, drive disposal

FAT32 vs. NTFS

Before You Start

For most users, Disk Management or DiskPart handles routine USB drive formatting. Reserve secure erasure tools (DBAN or Cipher) for drives that contained confidential information or before retiring the drive.

← All posts