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

19 Dec 2013   #200
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

As Brink says mate and it depends on the machine too I found my laptop with dual cores a lot slower than the quad cores of the desktops. That is not to mention what clock speed they run at too.


My System SpecsSystem Spec
.
25 Feb 2014   #201
Scoop

Windows 7 Home Premium 64 bit
 
 

Shawn,

My Win 7 HDD contains the automatic Windows 7 install with 2 partitions, System Reserved and a "C" partition.

After reading the thread (great stuff ), I have a couple of questions about the "clean" and "clean all" commands:

- Does the "clean" command accomplish the same thing as deleting both partitions from the Disk Management Console, with the addition of deleting the MBR when using the "clean" command? I'm guessing that partition-deletes from the Console won't delete the MBR since it's located prior to the beginning of the first partition, the System Reserved partition.

- Does the "clean all" command unhide and overwrite any "Host Protected Area" sectors, more known as the HPA? Those are typically located after the last user partition on a HDD, for those HDD's the contain a HPA.

After reading some articles about HPA's, it would appear that one would need to "unhide" the HPA before most disk-wipe tools can access that area to overwrite any data located within the HPA.

Seatools (Dos) and "HDDErase" will unhide the HPA but "DBAN" doesn't access that area according to the DBAN's site FAQ section.

I think there is a Linux command that will unhide the HPA but I don't recall that command at present.
My System SpecsSystem Spec
25 Feb 2014   #202
Brink

64-bit Windows 10 Pro
 
 

Hey Scoop,

"Clean" and "Clean all" both will completely wipe the hard drive of all partitions hidden or not.

The only difference between them is that "Clean all" includes a 1 pass override secure erase, and "Clean" doesn't.
My System SpecsSystem Spec
25 Feb 2014   #203
Scoop

Windows 7 Home Premium 64 bit
 
 

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

"Clean" and "Clean all" both will completely wipe the hard drive of all partitions hidden or not.

The only difference between them is that "Clean all" includes a 1 pass override secure erase, and "Clean" doesn't.
10-4, thanks . You just saved me a couple of steps during my periodic "pre-cloning" routine .
My System SpecsSystem Spec
.

25 Feb 2014   #204
Brink

64-bit Windows 10 Pro
 
 

You're welcome. Yeah, unless you just need to do a secure erase, I would use "clean" to save time.
My System SpecsSystem Spec
25 Feb 2014   #205
Scoop

Windows 7 Home Premium 64 bit
 
 

Quote   Quote: Originally Posted by Brink View Post
You're welcome. Yeah, unless you just need to do a secure erase, I would use "clean" to save time.
Yes. I usually do a "pre-cloning" delete of partitions, only to make it easier for me to identify the Target HDD within cloning software since it will appear as unallocated. This command saves me some "clicks" and steps
My System SpecsSystem Spec
28 Mar 2014   #206
Mac The Steve

Windows 7 Ultimate x64
 
 
Clean all, clean, etc doesn't work. Prompt says Clean not allowed.

Thank you Shawn - I followed the excellent directions but get the following errors (snip below)

"Virtual Disk Service Error: Clean is not allowed on the disk containing the current boot, system, pagefile, crashdump or hibernation volume." note that I am not trying to format the OS drive, just a HDD that was originally in a raid configuration with another identical drive that I formatted & accidentally made Virtual. Now I just want to get it back to mirroring it's twin again. Can anyone help?

Thank you!


Attached Images
Disk - Clean and Clean All with Diskpart Command-error-snip.png 
My System SpecsSystem Spec
28 Mar 2014   #207
Brink

64-bit Windows 10 Pro
 
 

Hello Mac, and welcome to Seven Forums.

See if running the "clean" command at boot instead may allow you to do so.
My System SpecsSystem Spec
09 Jun 2014   #208
tinhdx

64
 
 

I'm use to clean command when install window. Pls help me recover data. Thank all very much (
My System SpecsSystem Spec
09 Jun 2014   #209
Brink

64-bit Windows 10 Pro
 
 

Hello tinhdx, and welcome to Seven Forums.

Unfortunately, there is no recovery when you use the clean command to wipe a hard drive unless you have a backup or system image saved at another location.
My System SpecsSystem Spec
Reply

 Disk - Clean and Clean All with Diskpart Command




Thread Tools




Similar help and support threads
Thread Forum
Data Recovery after using diskpart clean command
Hello! I wanted to install a fresh windows and here's what happened in details: 1. I couldn't install windows 7 on C Drive because it was a GPT partition (the error message stated that). 2. I followd a tutorial and i used diskpart but i selected partition 1 and then issued the clean command. I...
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
Windows DISKPART Clean command used on Wrong Disk
Hi all... Yesterday, I was going about my drive management on my windows server machine, and I was cleaning two disks that I had just bought. I did not unplug the drives that I was not trying to clean from the PC, so something went horribly wrong. I accidentally cleaned one of the three of the...
Hardware & Devices
Used diskpart-clean command on sd card? Help
Hello all! Im in desperate need of some help!! Long story short, my micro SD card was in an adapter on my PC, working fine, and suddenly i got an error message, saying it needed to be reformatted. I STUPIDLY trusted a youtube video that brought me to command prompt-diskpart. From there i ended...
Music, Pictures & Video
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


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 05:43.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App