Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Disk - Clean and Clean All with Diskpart Command

03 Jan 2010   #59
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 
Disk - Clean and Clean All with Diskpart Command

How to "Clean" or "Clean All" a Disk with the Diskpart Command


...

My System SpecsSystem Spec
.

01 Oct 2011   #60
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome Koala. That's great news.

My System SpecsSystem Spec
.

06 Nov 2011   #61
stefsj

Windows Vista 32bit - updating to Windows 7 32bit
 
 

Hi Brink,

I read through the steps and am about to try. I also read through the other questions but didn't see my question anywhere - I read that low-level format could possibly damage your hard drive these days that's why people to 'zero-fill' which I believe is what you are describing. So in short - will this process work on any type of computer (HD)? I have HP with SATA hard drive.

Thank you for your time!
My System SpecsSystem Spec
06 Nov 2011   #62
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Stefsj,

Yes, you could use either the "clean" or "clean all" command safely on any SATA HDD without any damage except for the data and partitions on them.
My System SpecsSystem Spec
06 Nov 2011   #63
stefsj

Windows Vista 32bit - updating to Windows 7 32bit
 
 

Thank you for the quick response! I am also trying to flash my BIOS because I am afraid the rootkit might have gone there (or came from there). Do you recommend flashing the BIOS before I do this clean all procedure?

And one more question - is this clean all command that comes from Windows the same as 'wiping' the disk using one of the softwares like DBAN or KillDisk?

I opened a topic but haven't got particular responses on that and that's why I wanted to ask you. If you think this might get off topic here you can respond to my other post:
BIOS virus and custom format from Windows 7.
My System SpecsSystem Spec
07 Nov 2011   #64
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Stefsj,

I'm not sure about your BIOS issue. I wouldn't recommend flashing it if youe decide to until you are sure that your system is clean, so it would probably be a good idea to wipe the HDD clean first to take care of that part.

The KillDisk program says it does a 1 pass secure erase. That would be the same as the "clean all" command.

The DBAN program didn't say how many passes it does, so it may or may not do a more thorough secure erase of the HDD.

However, the "clean all" command should be more than sufficient to delete your HDD and any malware that may be on it. Secure erasing and the number of passes (more the better to a point) a HDD really is only important if you wanted to make sure that the data on the HDD could not be recovered. Especially say if you were selling ot giving it to someone else.
My System SpecsSystem Spec
23 Nov 2011   #65
cmlow

Windows 7 Professional 32bit
 
 

Shawn

Your tutorial is so easy to clear. Brilliant.

I intended to increase my system memory from 80GB to 160GB. There are both IDE hard disk.

At first I created a backup image and system repair disc. Before I restore it to the bigger hard disk, I am thinking to do wipe off any remaing data on it. So I performed CLEAN ALL. What I encountered is it took longer than expected. It has been running for more than 10 hours yet it still running with a blinking cursor after the CLEAN ALL

Is there something wrong? Can I interrupt the process?

Do restore the system recovery, is it advisable to do partioning to System Reserve and specif partioning?

Thank you for your advice.
My System SpecsSystem Spec
23 Nov 2011   #66
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello cmlow, and welcome to Seven Forums.

It can indeed take a long time for the "clean all" command to run. Yes, you can interupt if you like. However, if you do, you'll need to run the "clean" command, but it will finish quickly though. Afterwards, you'll be ready to format the HDD and do a system image recovery to it.
My System SpecsSystem Spec
23 Nov 2011   #67
cmlow

Windows 7 Professional 32bit
 
 

Shawn

Thanks for your swift reply.

Just to make my understanding correct. When I do System Image Recovery, it will perform reformatting again? Is it correct?

If that is the case, there is no point to do Clean all. Is it worth to continue or just interrupt the clean up?

If I were to cancel the clean all, what steps shall I perform?

Once thank you very for your help.
My System SpecsSystem Spec
23 Nov 2011   #68
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

That's correct, when you do a system image recovery, it will format the HDD first.

"Clean All" is mostly for when you want to secure erase the HDD to help make sure that the data cannot be recovered say when you sell or give away the HDD to another person.

"Clean" is good for when you just want to quickly wipe the HDD to do say what you wanted to do.

You could close the command prompt, or restart the computer to stop it. However, you will need to run the "clean" command on it since it was interrupted.
My System SpecsSystem Spec
23 Nov 2011   #69
cmlow

Windows 7 Professional 32bit
 
 

Thanks heaps
My System SpecsSystem Spec
Comment

 Disk - Clean and Clean All with Diskpart Command





Tutorial Tools



Similar help and support threads for2: Disk - Clean and Clean All with Diskpart Command
Windows 7 Tutorial Category
Should I clean my HDD with Parted Magic or Diskpart clean all command? General Discussion
DISKPART & HDD help - Clean All interrupted, disk no longer found. General Discussion
Can "diskpart clean all" be performed after a "diskpart clean" ? Hardware & Devices
Solved Diskpart hangs running 'clean all' Installation & Setup
Solved A simple question about diskpart /clean all General Discussion
Do not see HDD after clean all using diskpart General Discussion
Solved Diskpart Clean All Error General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:02 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33