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

22 Apr 2012   #140
Brink
Microsoft MVP

64-bit Windows 10
 
 

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 10
 
 

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 10
 
 

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

Desk1 8 Pro / Desk2 7 Home Prem / Main lap Asus ROG 7 Pro
 
 

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 10
 
 

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 / Main lap Asus ROG 7 Pro
 
 

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 W7 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
Windows 7 Tutorial Category
Recover Partitions from diskpart -> clean command
Hi Guys, I was trying to install windows 7 on my windows 8 laptop (UEFI) and when it didnt allow me to install win7 on partitioned drive I followed YouTube video foolishly and fired diskpart - clean command. everything gone after that. Luckily I didnt do anything after that and referred one of...
Backup and Restore
Recover data from a diskpart > clean command
This must be my one time blunder but I did manage to clean my 2TB backup external HDD in an attempt to clean a pendrive to make a bootable pendrive for installing Windows 8. Now the help file for the diskpart > clean command says only the MBR partitioning information and hidden sector...
Backup and Restore
Diskpart error: Clean is not allowed on the disk...
Hi, I am doing a clean windows 7 install *again* and I want to completely wipe off the hard disk this time, I followed this tutorial http://www.sevenforums.com/tutorials/52129-disk-clean-clean-all-diskpart-command.html but got this error: http://imageshack.com/a/img38/6739/tafk.jpg Now...
General Discussion
Formating 3tb drive..diskpart clean or clean all
I am having to format a 3tb drive that I am installing Windows 7 on and I need to know do I need to do clean all or just clean in diskpart? What happened is I did not know about the GPT (first time dealing with a drive over 2tb) and I just went through the motions like you do with installing. Well...
Installation & Setup
Should I clean my HDD with Parted Magic or Diskpart clean all command?
Hi everyone i have a question about HDD Clean and also question about Win 7 64 bit :) I want to wiped out my all HDD data inside i want to delete all information like a brand new HDD. I heard that there is a program called Parted Magic can do this and also Diskpart clean all command too. ...
General Discussion
DISKPART & HDD help - Clean All interrupted, disk no longer found.
I have a new WD (Caviar Black) 1.5TB HDD. It was was in the middle of the Clean All process in DISKPART when it was interrupted during the process. It was not stopped via ctrl+c and a follow up run of 'Clean', but exited out of DISKPART and machine reset instead. Going back into DISKPART, the...
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 21:49.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App