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   #39
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
28 Jun 2011   #40
Kusuri

Windows 7 Professional 64bit
 
 

Quote   Quote: Originally Posted by Brink View Post
RAW indicates that it's not finished yet since it should say "Unallocated Space" instead.

Since you are doing this from a program, then it could take longer since it may do more write passes. Plus, it will take longer via a USB connection since it is slower than a internal SATA or external eSATA connection.

Is the drive's activity light still on or blinking?

If you look at the "Current Sector" area in the progress dialog box, is the sector count increasing on the left side to indicate that it is actually still running?
It's blinking like when it was with the interrupted clean all. And yeah the "Current Sector" is increasing.

I guess interrupting the previous clean didn't damage anything right? Because I think the command window actually had a blinking "_", I just interpreted it wrong. The HDD was already empty and all.

Just don't understand where those 118MB after formating the unallocated space came from.

My System SpecsSystem Spec
28 Jun 2011   #41
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Interrupting it would usually just lead to having to format, clean, or clean all the drive again before being able to use it.

I would recommend to let this one finish to make it unallocated space so that you will be able to do step 10 afterwards, and not have to start over again.
My System SpecsSystem Spec
04 Sep 2011   #42
o770

Seven Home Premium x64
 
 

It takes 14 hours to complete the clean all command on my USB external of 1TB. I just want to register that.

I will also full format the disk and later here tell how long it takes.
My System SpecsSystem Spec
04 Sep 2011   #43
mjf

Windows 7x64 Home Premium SP1
 
 

It takes a long time but that looks too long. Are you using USB 1 by any chance?
My System SpecsSystem Spec
.


04 Sep 2011   #44
o770

Seven Home Premium x64
 
 

That was the clean all as I said. Full format should be somewhat faster.
USB 2.0 - thanks for noting.

PS. Please check some earlier posts of someone waiting 11 hours. It's perfectly normal for USB externals. I wanted to register that for anyone like me afraid something is wrong...

PPS. Still before the full format, the clean all again strangely only lasted for 11 hours. Nothing was done between both (clean all) passes. Then the full format also took 11 hours.
A couple things about my earlier wrong assumption. Either Format and Diskpart, actually almost anything is under very strict bandwidth limits - all of us know it, about 20MB per second on USB 2.o; and not as much known the fact that the full format also writes zeros since Vista.
Any comment on the 3 hours difference between both clean all passes is much appreciated.
My System SpecsSystem Spec
10 Sep 2011   #45
Xplicit

Windows 7 x64 OEM Build 7600
 
 

Hey guys, the diskpart "clean all" command used to zero everything out within 3hours of my normal WD Black 1TB. But after the last clean install which is half a year ago, the "clean all" command took more than 10hours.

I've used:
Chkdsk /f/r/v for the whole drive, sfc /scannow and even WD HD Diagnostic tools.

Chkdsk found some bad sectors and fixed it, SFC found nothing, & during a month ago, I used WD HD Diag and found some errors in my hard disk. Apparently, it showed me an error and I looked it up on the net & I found the only way to fix it was to RMA it. But I lost my receipt & not sure about it whether I can RMA it without the receipt though. ):

Is it possible to fix the drive without RMA-ing it? Is it possible that the failing hard disk would be the issue for the slow "clean all" diskpart command?

Thanks for your time.
My System SpecsSystem Spec
10 Sep 2011   #46
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Quote   Quote: Originally Posted by o770 View Post
That was the clean all as I said. Full format should be somewhat faster.
USB 2.0 - thanks for noting.

PS. Please check some earlier posts of someone waiting 11 hours. It's perfectly normal for USB externals. I wanted to register that for anyone like me afraid something is wrong...

PPS. Still before the full format, the clean all again strangely only lasted for 11 hours. Nothing was done between both (clean all) passes. Then the full format also took 11 hours.
A couple things about my earlier wrong assumption. Either Format and Diskpart, actually almost anything is under very strict bandwidth limits - all of us know it, about 20MB per second on USB 2.o; and not as much known the fact that the full format also writes zeros since Vista.
Any comment on the 3 hours difference between both clean all passes is much appreciated.
Hello 0770,

The time it takes to complete a "Clean all" command could vary depending on many different factors that each of those could also vary each time you run the command. For example, varying bandwidth, cpu usage, memory usage, drive errors (ex: bad sectors), how the drive is connected (SATA, USB 2.0, USB 1.0, eSATA) etc......


It's almost impossible to predict an exact time unitl completion due to this, but at least you have an average time now.

Hope this helps some.
My System SpecsSystem Spec
10 Sep 2011   #47
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Quote   Quote: Originally Posted by Xplicit View Post
Hey guys, the diskpart "clean all" command used to zero everything out within 3hours of my normal WD Black 1TB. But after the last clean install which is half a year ago, the "clean all" command took more than 10hours.

I've used:
Chkdsk /f/r/v for the whole drive, sfc /scannow and even WD HD Diagnostic tools.

Chkdsk found some bad sectors and fixed it, SFC found nothing, & during a month ago, I used WD HD Diag and found some errors in my hard disk. Apparently, it showed me an error and I looked it up on the net & I found the only way to fix it was to RMA it. But I lost my receipt & not sure about it whether I can RMA it without the receipt though. ):

Is it possible to fix the drive without RMA-ing it? Is it possible that the failing hard disk would be the issue for the slow "clean all" diskpart command?

Thanks for your time.
Hello Xplicit,

Yes, a failing HDD would slow it down quite a bit. In fact running a "Clean all" command on a failing HDD could cause the HDD to completely fail faster due to the high activity on the HDD the command uses.

As for your receipt, if you purchased the HDD from a online retailer, then you might be able to go back to that online retailer, log in, view your order history, and hopefully find and print out a copy of the order's invoice as a receipt.

Hope this helps,
Shawn
My System SpecsSystem Spec
10 Sep 2011   #48
Xplicit

Windows 7 x64 OEM Build 7600
 
 

Thanks for your fast reply, Shawn.
Is there any possible ways to fix the drive instead of the last resort to RMA it?
My System SpecsSystem Spec
10 Sep 2011   #49
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Xplicit,

Not for hardware failure. The only way to truly fix it is to replace it.

If you keep on using it, it's just going to be a gamble on when it's going to fail and take out the data on it as well.

I would strongly recommend to RMA it while it's still under warranty. Otherwise, you risk having to pay for a new one out of your own pocket when it dies.
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 12:45 AM.
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