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   #69
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
23 Nov 2011   #70
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome.


My System SpecsSystem Spec
24 Nov 2011   #71
cmlow

Windows 7 Professional 32bit
 
 

Sorry Brink
I cancel the Clean All process. When I List Volume under Diskpart, apparently the only Volume appeared is DVD-ROM.

Then I performed the following step:
1. Select Disk 0
2. Create partition primary size=152369
(At this stage the Fs = RAW)
3. Active
4. Exit and Exit

Then I performed the System Image Recovery and following all the steps requested until last step Re-Image your Computer. Oop..

Error: No disk that can be used for recovering the system disk can be found


Why?? What did I missed out in the setting? Do I need to format it to NTFS before I restore System Image Recovery?
My System SpecsSystem Spec
24 Nov 2011   #72
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Did you run the "Clean" command on it after interrupting the "Clean All" command? Yes you would need to format the HDD afterwards as NTFS.
My System SpecsSystem Spec
24 Nov 2011   #73
cmlow

Windows 7 Professional 32bit
 
 

Yes. After I interrupted the Clean All process. I did do the Clean according to your advice.

As a result of above action:
What appears after I List Volume is - DVD-ROM

Then I performed the following step:
1. Select Disk 0
2. Create partition primary size=152369
(Now I could see a new Volume 1 Fs= RAW, Allocated size=149G, Free size=0)
3. Active

Finally, while waiting for your feedback, I performed the following step.

4. Format fs=NTFS label="Local Disk"

I wish I did it correctly and it is progressing very very slow. The speed of formatting is like 2% per every hour. After I let it running for 8 hours, it just progress up to 18%. I reckoned it requires another 36 hours to complete.

I hope it would not pop up error again when come to final stage of "Re-Image Your Computer". One question at this stage, will the formatting at this stage will take the same amount of time or quicker?

This is really a dreadful exercise.
My System SpecsSystem Spec
.


24 Nov 2011   #74
Faceofjoe421

Windows 7 Ultimate x64
 
 

Will this remove viruses, I think I might be crawling with them on both PCs. I can easily reinstall Windows.
My System SpecsSystem Spec
24 Nov 2011   #75
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Joe,

It will remove everything including a virus from the HDD that the commmand is ran on.
My System SpecsSystem Spec
24 Nov 2011   #76
Faceofjoe421

Windows 7 Ultimate x64
 
 

Can I do this right now without using the disk, then 2 days later, ask my Brother for Windows 7?
My System SpecsSystem Spec
24 Nov 2011   #77
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Quote   Quote: Originally Posted by cmlow View Post
Yes. After I interrupted the Clean All process. I did do the Clean according to your advice.

As a result of above action:
What appears after I List Volume is - DVD-ROM

Then I performed the following step:
1. Select Disk 0
2. Create partition primary size=152369
(Now I could see a new Volume 1 Fs= RAW, Allocated size=149G, Free size=0)
3. Active

Finally, while waiting for your feedback, I performed the following step.

4. Format fs=NTFS label="Local Disk"

I wish I did it correctly and it is progressing very very slow. The speed of formatting is like 2% per every hour. After I let it running for 8 hours, it just progress up to 18%. I reckoned it requires another 36 hours to complete.

I hope it would not pop up error again when come to final stage of "Re-Image Your Computer". One question at this stage, will the formatting at this stage will take the same amount of time or quicker?

This is really a dreadful exercise.
The Format fs=NTFS label="Local Disk"you did was for a "full format". It will take a bit to finish.

Next time, you could use the command below instead to perform a "quick format" that will finish fast.

Format fs=NTFS label="Local Disk" Quick
My System SpecsSystem Spec
24 Nov 2011   #78
Faceofjoe421

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Brink View Post
Quote   Quote: Originally Posted by cmlow View Post
Yes. After I interrupted the Clean All process. I did do the Clean according to your advice.

As a result of above action:
What appears after I List Volume is - DVD-ROM

Then I performed the following step:
1. Select Disk 0
2. Create partition primary size=152369
(Now I could see a new Volume 1 Fs= RAW, Allocated size=149G, Free size=0)
3. Active

Finally, while waiting for your feedback, I performed the following step.

4. Format fs=NTFS label="Local Disk"

I wish I did it correctly and it is progressing very very slow. The speed of formatting is like 2% per every hour. After I let it running for 8 hours, it just progress up to 18%. I reckoned it requires another 36 hours to complete.

I hope it would not pop up error again when come to final stage of "Re-Image Your Computer". One question at this stage, will the formatting at this stage will take the same amount of time or quicker?

This is really a dreadful exercise.
The Format fs=NTFS label="Local Disk"you did was for a "full format". It will take a bit to finish.

Next time, you could use the command below instead to perform a "quick format" that will finish fast.

Format fs=NTFS label="Local Disk" Quick
I skim-read the Guide, how do you open Cmd prompt, you said it wouldn't work when it's turned on, how do I access from boot?

The Format fs=NTFS label="Local Disk"you did was for a "full format". It will take a bit to finish.

Mine is Local Disk C, so what would I do?
My System SpecsSystem Spec
24 Nov 2011   #79
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 01:28 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