
Clean the disk 1 with the steps above and shown as the following screen shot. The clean all command will erase every byte on the disk to prevent the deleted data being able to recovered, and it will take a longer time to finish. The clean command will clean the data on the HDD, which is only marked as deleted and written over when the new data is stored at the same place on the HDD. Then, type “ clean” or “ clean all” according to your request. * If the disk’s status is offline, you can type online disk and press Enter to make it online. Then, you can input select disk n to select the disk which you want to clean or clean all on it. This would list all the disk of your computer.

Then, you should input “diskpart” to launch the program. Or you can press the “WIN+R”, type “cmd” and press Enter. Before you do, make sure that you have the correct disk.Ĭlick Start, type “cmd”, right click the program and select “Run as Administrator” to open the command prompt. To clean disk with Diskpart command line, you can refer to the following steps. You can use it with its specific syntax “clean” or “clean all” to erase the data on the hard drive.

How to clean disk with Diskpart? Diskpart is a wonderful tool for disk management. No matter why you need to wipe data, clean disk would be useful, and you can use Diskpart with "clean" or "clean all" command. Or, you may want to replace the old HDD with an SSD for better performance, and need to sell the old HDD with no data on it. Sometimes, you may want to delete some important files and you do not want it back.
#Clean disk in windows 8 for free
You may want to clean disk for free up space to store new data. You may want to clean your disk for different reasons.
