傑佳國際

FAQ

How to clean disk data using Diskpart.

Directory

Situation narrative 1

Windows Disk Utility - Diskpart 2

Case 1: To remove a partition 3

Case 2: To clean all data of a disk 5



 

Situation narrative

  • Some windows generated partitions can not be deleted in Windows Disk Manager.
  • Some unknown error while formatting a hard drive.
 

* Important: This tutorial is to clean the hard drive data or a partition by using windows disk utility “diskpart”, please remove other unnecessary drives and backup all data before you start to clean the disk. Deleting disk data has the risk of data loss, please evaluate by yourself.

 

Windows Disk Utility - Diskpart

  1. Open the “Run” command window: Press “Windows” & “r”.

  1. Open “diskpart” program: Enter the program name “diskpart” and allow this app to change the device.

  1. List all disk: Enter command “list disk”.

Case 1: To remove a partition

  1. Select a disk which you want to modify: Enter command “select disk <number>”.
  2. List all partitions in the disk: Enter command “list partition”.

  1. Select a partition which you want to modify: Enter command "select partition <number>”.

  1. Clean that partition: Enter command “clean”.

* It will not show any warning message, please be aware of this action.



 

Case 2: To clean all data of a disk

  1. Select a disk which you want to modify: Enter command “select disk <number>”.
  2. Clean that partition: Enter command “clean”.

* It will not show any warning message, please be aware of this action.