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   #139
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
22 Apr 2012   #140
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

The green information box at the top of the tutorial can give you more details on this to help better understand.

My System SpecsSystem Spec
16 Jul 2012   #141
oysarl

Windows 7 Home Premium 64bit
 
 

Hello, and thank you for a very useful and comprehensible tutorial!

I have recently installed a new SSD and now have it up and running with Windows 7. I am now planning to reinstall the old HDD in a secondary slot on my laptop to keep for storage.

Quote   Quote: Originally Posted by Brink
You cannot use the clean or clean all diskpart commands on a boot disk (ex: disk Windows 7 is installed on) unless you do it from a command prompt at boot.
This is probably an ignorant question, but am I required to perform the "clean" or "clean all" on the HDD (which has Windows 7 installed) from a command prompt at boot, when I'm booting from the SSD?

I am not sure if I completely understood the difference between "clean" and "clean all". The drive is only about 6 months old, but I just want to wipe it and make a partition for bulk files that won't fit on the SSD. Will a "clean" be sufficient or would "clean all" be a better alternative? The required time isn't really an issue.

Warm regards.
My System SpecsSystem Spec
16 Jul 2012   #142
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Oysarl,

You will be able to run either of them from within the SSD Windows 7 on the HDD. No need to do it at boot.

A "Clean" command deletes (marks as deleted) all partitions and files on a HDD and leaves the HDD as "unallocated space" when finished. It doesn't take long to finish.

A "Clean All" command does the same thing as "Clean", but will secure erase all partitions and files on the HDD to make sure that they are permanently deleted instead of just marking them as deleted as the "Clean" does. A "Clean All" can take a long time to finish running.

For what you described, I would recommend running the "Clean" command. "Clean All" is usually for when you are selling or giving the HDD to another person, and/or you wanted to make sure that nothing can be recovered from the HDD.

Hope this helps,
Shawn
My System SpecsSystem Spec
17 Jul 2012   #143
oysarl

Windows 7 Home Premium 64bit
 
 

Thank you, Brink. That is exactly what I needed to know.
My System SpecsSystem Spec
.


17 Jul 2012   #144
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome Oysarl.
My System SpecsSystem Spec
02 Aug 2012   #145
ICit2lol

Desk1 8 Pro / Desk2 7 Home Prem / Laptop 8.1 Pro all 64bit
 
 

Hiyya Shawn hav been doing this for sometime now and up to now have not had anything but minor problems but just the last two drives I am trying "make new" have come back as "Bad disk" with that black line.

Mate am I doing something wrong or is the machine telling me it is a dud disk please?

Mt next step was to follow Wolfgangs tut on SSD's before using it even if it is an HDD should I be doing that on HDD's or is that really not necessary?

John
My System SpecsSystem Spec
02 Aug 2012   #146
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hey John,

That doesn't sound good for the HDDs. You might try running Seagate SeaTools on them to test to see if they may be bad (dead/dying) or not.

For in Windows 7: How to use SeaTools for Windows

For in DOS at Boot: Seatools for DOS tutorial

Good luck. I hope they are not bad.
My System SpecsSystem Spec
02 Aug 2012   #147
ICit2lol

Desk1 8 Pro / Desk2 7 Home Prem / Laptop 8.1 Pro all 64bit
 
 

Quote   Quote: Originally Posted by Brink View Post
Hey John,

That doesn't sound good for the HDDs. You might try running Seagate SeaTools on them to test to see if they may be bad (dead/dying) or not.

For in Windows 7: How to use SeaTools for Windows

For in DOS at Boot: Seatools for DOS tutorial

Good luck. I hope they are not bad.
Thanks Shawn for quick reply I'll run that over them as I have dudded two now and on my third which I want to install Ubuntu as the XP disks (old) just will not work, and it's only for the kids of a friend to stop them wrecking (again) her laptop.

John
My System SpecsSystem Spec
12 Aug 2012   #148
antonianus

Windows 7 64bitMicrosoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Each time I try to open an Elevated Command Prompt from Accessories/Command and run as administrator, typing Diskpart no disc info.appears. I am running Windows 7 Version.6.1.7601. Any ideas?
Thanks
Ton
My System SpecsSystem Spec
12 Aug 2012   #149
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Hello.


Have a look at the tutorial linked below to make sure you are getting into the command window the right way, then ...
DISKPART : At PC Startup


diskpart <enter>

list disk

select disk # = your disk number
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 06:13 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