Steps to Erase and Clean a Drive Using Disk Part Command on Windows

About diskpart

Diskpart is a Windows command-line utility used to erase, manage, and configure, partitions, volumes, and drives.


Memory Card Formatter



Format the card in the dashcam, drone, action camera, or other host device first if possible.
Use the SD Card Formatter to reformat for reuse.

Need more help?


Steps for Windows

Warning: This process erases all data on the drive. Back up your data before you continue.


  1. Press the Windows Key + X.
    Click Disk Management.


  2. Locate the Disk # for the drive.


  3. Press the Windows Key.
    Type cmd.
    Press Enter.


  4. Type diskpart.
    Press Enter.


  5. Type list disk.
    Press Enter.


  6. Locate the Disk #.


  7. Type Select Disk #.
    Press Enter.

    Note:

    The # means the disk number for the drive.



  8. Type clean.
    Press Enter.

    Warning: This process erases all data on the drive. Back up your data before you continue.




  9. Format the drive.

    Need more help?
    Steps to Format a Drive for Use with Windows or macOS

Sandisk Support article 25210. View the original article on Sandisk Support