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

05 Sep 2015   #270
Clairvaux

Windows 7 Home Premium 64-bit (OEM)
 
 
Clean, Clean All, DBAN and C-Cleaner

Hi Brink,

Here is what I understood from the thread, adding some assumptions of my own. Can you tell me if this is correct ?

If you only want to get rid of confirmed or suspected viruses : just use Clean. It is much quicker. Possible viruses will remain on your disk, since Clean does not erase files, but they won't be able to be activated afterwards, ever, even after you've repartitioned the disk and reinstalled Windows, since Clean destroys the data the system needs to find and use those files. (I'm especially unsure of this statement.)

If you want, on top of that or exclusively, to prevent any third party to recover your confidential data by using forensic software or other techniques, in case you give away your PC, discard the disk or it is stolen : use Clean all. It will overwrite the whole disk, defeating (ordinary) recovery techniques. Viruses, obviously, would be physically wiped as well.

If you want an even better level of defense against snooping on your data : use DBAN. It does a 3-pass overwrite (or even more).

All three methods may be used to erase all your disks, including your system disk, provided you boot from an external source (Windows DVD or flash drive, DBAN CD).

C-Cleaner's wipe function can be adjusted to multiple overwrites, but it's only good for erasing data drives or partitions, since it works from within Windows.


My System SpecsSystem Spec
.
05 Sep 2015   #271
Brink

64-bit Windows 10 Pro
 
 

Hello Clairvaux,

If you have a virus, then usually wiping the disk completely by overriding it with a few passes should clean it.

However, there are some viruses out there are pretty stubborn.
My System SpecsSystem Spec
06 Sep 2015   #272
Clairvaux

Windows 7 Home Premium 64-bit (OEM)
 
 

Thank you, Brink.

So, despite the vast difference in the time required, it might be a sound strategy to do a Clean all, or even to apply DBAN, when reinstalling from scratch, just in case one has a virus undetected by one's antivirus ?

Quote:
However, there are some viruses out there are pretty stubborn.
Are you implying that some viruses could escape even a Clean all, or multiple-pass overwrite ?
My System SpecsSystem Spec
06 Sep 2015   #273
Brink

64-bit Windows 10 Pro
 
 

"Clean" is fine since it marks the whole disk as deleted, and the data gets overridden as you use the drive.

One that get into your BIOS would be one type, but those are rare. You mostly have to worry about reinfecting the PC with say an infected USB that you didn't know about.

Just always use a good AV program (ex: Malwarebytes) to scan with to help be safe.
My System SpecsSystem Spec
.

06 Sep 2015   #274
Clairvaux

Windows 7 Home Premium 64-bit (OEM)
 
 

Thanks.
My System SpecsSystem Spec
23 Sep 2015   #275
ICIT2LOL

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

Hello Shawn I shall try again but I have tried to clean all a 250GB Samsung twice now and I come up with the message in the pic. In the Disk Management the disk is shown as unallocated as I just deleted the volume after seeing this was one way to get the disk cleaned.
Now does this mean I have trashed to disk or made it impossible for the disk to be cleaned (all) using this tutorial.?

I am just heading of to bed now as it is getting real late but shall check in the morning to see what has happened.


Attached Images
Disk - Clean and Clean All with Diskpart Command-chkdsk-1.png 
My System SpecsSystem Spec
23 Sep 2015   #276
Brink

64-bit Windows 10 Pro
 
 

Hello John,

Odd, a semaphore timeout error is for when there is a problem with the network or network adapter.

Is this a network drive?

Are you able to run the "Clean" command instead?
My System SpecsSystem Spec
23 Sep 2015   #277
ICIT2LOL

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

Hello Shawn as far as I know the two drives are not connected to any network.

What I have done so far I saw that deleting a volume would leave an unallocated space so did that but then it isn't recognized in the machine.

Currently I have had a 250GB being wiped via Partition Wizard but it ha only got to 19% and it seems to be stuck at that . Would it be because the drive is showing unallocated space??

Anyway I shall try a straight clean on the smaller drive on my laptop I just want to give these drives to a young fellow and be sure there is none of my personal data left on it - not that I don't trust him more I don't want any scraps left over mucking up his system.
My System SpecsSystem Spec
20 Jan 2016   #278
Benteke

Windows 7 Home Premium x64 SP1
 
 

Quote   Quote: Originally Posted by Clairvaux View Post
...All three methods may be used to erase all your disks, including your system disk, provided you boot from an external source (Windows DVD or flash drive, DBAN CD).
This is what I was wondering.... How to wipe a "system" drive.
My System SpecsSystem Spec
20 Jan 2016   #279
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by Benteke View Post
Quote   Quote: Originally Posted by Clairvaux View Post
...All three methods may be used to erase all your disks, including your system disk, provided you boot from an external source (Windows DVD or flash drive, DBAN CD).
This is what I was wondering.... How to wipe a "system" drive.
Hello Benteke,

Yep, you could boot to a command prompt at boot, then run the "clean" command to wipe the system disk.
My System SpecsSystem Spec
Reply

 Disk - Clean and Clean All with Diskpart Command




Thread Tools




Similar help and support threads
Thread Forum
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
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
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 https://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 11:16.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App