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

16 Mar 2015   #260
Brink

64-bit Windows 10 Pro
 
 

I would say than running the "Clean" command will completely wipe the drive to be "unallocated".

You could then just format the "unallocated" disk like any other drive.

Partition or Volume - Create New


My System SpecsSystem Spec
.
17 Mar 2015   #261
jasonsmith

 
 

I had downloaded a while back one of those software hack things and didn't like it showing up in my scans. i.e. PUP flag. So I deleted all of those files. But running a scan on an external hard drive, those PUP files had been sitting in the recycle bin or whatever $Recycle on the hard drive.

So I wanted to do a wipe on the drive to clean all of the data off and reload my data. I ended up just doing a "Clean", then I set it to MBR, then I did the LONG format. Well that thing took an entire day to do the LONG format as it is a 750GB drive. So I think I'll skip the DOD 3 pass wipe as that will be like 3 days.

I got real low GB hard drives to keep as spares to use to download files that may be questionable. That way doing a DOD 3 pass wipe to clean it up and reinstall the cloned image wouldn't take too long.

But hopefully doing a "Clean", resetting it to MBR, and doing a long format will erase any and all viruses or malware that may be hanging around somewhere on the drive.
My System SpecsSystem Spec
17 Mar 2015   #262
ICIT2LOL

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

Jason not to take anything away from what Brink has told you already - there is an alternative you can use for wiping the drive - well two really.
The one I use is the Partition Wizard wipe function MiniTool Free Partition Manager for Window 8/7/vista/xp | Partition Wizard Free Edition see my pic on how it runs. It does take some time but in my experience not quite as long as the DISKPART way.
The other is CCleaner's wipe but I have never tried it so cannot comment https://www.piriform.com/ccleaner/download < use the free version and it is under "Tools" and CC is also good for uninstalling stuff


Attached Thumbnails
Disk - Clean and Clean All with Diskpart Command-mini-tool-wipe.png   Disk - Clean and Clean All with Diskpart Command-ccwipe.png  
My System SpecsSystem Spec
17 Mar 2015   #263
jasonsmith

 
 

I've got Acronis True Image I've used to wipe drives. They have different options. Like the DOD 3 pass wipe. And also a single pass that I think writes all zeros. Only thing is I'm thinking that doesn't touch the MBR section. So I guess do the "clean" first before doing a wipe.

If doing a single "wipe" is that the same thing as just doing a "long" format?
My System SpecsSystem Spec
.

17 Mar 2015   #264
ICIT2LOL

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

Yes I suppose it doesn't matter what you use as long as it gets the job done. Those I mentioned are free and good and generally I stick to the DISKPART one.
My System SpecsSystem Spec
21 Apr 2015   #265
bobson114

windows 7 64 professionals
 
 

hi! You have a great tutorial! I would like to know what is the difference between the command "clean", "clean all" from the "quick format" and "format". And is it possible to run these commands (clean, clean all, format) without using diskpart and using the GUI. The command "delete volume in disk management is that the same? Sorry for my English (I hardly know him)
My System SpecsSystem Spec
21 Apr 2015   #266
Brink

64-bit Windows 10 Pro
 
 

Hello Bobson, and welcome to Seven Forums.

Basically, "Clean" is like doing a quick format without a secure erase, and "Clean all" is like doing a full format with a secure erase. If you are keeping the hard drive, then "Clean" will be fine and quicker to use.

You can only run "Clean" or "Clean all" in a command prompt with diskpart. There's not a GUI for it.
My System SpecsSystem Spec
23 Jul 2015   #267
MetaBicks

Windows 7 Home Premium 64bit
 
 

Hi guys.

I need to perform clean all on my only HDD so i can clean install Win7 before i sell my PC. I understand and have tried running a command prompt at boot in safe mode but two things happened. One, i still had to enter my windows password to log on before i got to the command prompt. Second, despite the procedure i got the message;

Virtual Disk Service error:
Clean is not allowed on the disk containing the current boot,
system, pagefile, crashdump or hibernation volume.

Any ideas?

Many thanks.
My System SpecsSystem Spec
23 Jul 2015   #268
Brink

64-bit Windows 10 Pro
 
 

Hello MetaBicks, and welcome to Seven Forums.

You can boot from your retail installation media or system repair disc to delete/format and then perform a clean all on the drive at boot.
My System SpecsSystem Spec
23 Jul 2015   #269
MetaBicks

Windows 7 Home Premium 64bit
 
 

Thanks for the welcome Brink and thanks for the tips.

Il see if it works.
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 01:36.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App