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

09 Jun 2014   #210
Layback Bear

Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64

If I may. From the tutorial.

Be sure to backup anything that you do not want to lose on the disk that you use clean or clean all on first. It will be to late afterwards. All data will be permanently lost on the disk.

My System SpecsSystem Spec
09 Jun 2014   #211


Yes, thanks a lot Brink
My System SpecsSystem Spec
02 Jul 2014   #212

Windows 7 Home Premium 64 bit


I recently had an encounter with the "disk signature" conflict when I was preparing my Laptop PC for a routine clone process.

What happened, was I connected up my Target HDD via a SATA/USB Enclosure to delete the partitions before cloning. When I connected the Target HDD (which was a near-mirror copy since it had been cloned a few weeks earlier), I saw the "disk signature conflict" message in the Disk Management Snap-in console on the left-hand side.

It wasn't unexpected but I rarely see that message appear when attaching my Target HDD's prior to cloning.

When I encountered that "signature conflict" issue, I booted up in "Gparted" and deleted the partitions that way, thinking that I couldn't use the "clean" command without bringing the HDD online first.

My question about the "clean" command is,

- Is it necessary to bring the HDD online before using the Clean command?

Or can I just use the "select disk x" to bring it to focus, then use the "clean" command without bringing the HDD online?
My System SpecsSystem Spec
02 Jul 2014   #213

64-bit Windows 10 Pro

Hey Scoop,

Yeah, if the disk is offline, you'll get the error below when trying to run "clean" or "clean all".


Virtual Disk Service error:
The operation is not allowed on a disk that is offline.
My System SpecsSystem Spec

02 Jul 2014   #214

Windows 7 Home Premium 64 bit


Thanks for the info. It's what I guessed would happen. No problem, since that conflict appears (for me) to be rare, I can always use Gparted to access the disk outside of Windows.
My System SpecsSystem Spec
02 Jul 2014   #215

64-bit Windows 10 Pro

True dat. :)
My System SpecsSystem Spec
22 Jul 2014   #216

Windows 7 Ultimate

Hello all.

I own a hdd which was before in laptop that is not functioning, but hdd was intact and working good (500gb hitachi sata II), so i am planning to use it as external hdd, for both pc and ps3. It was partitioned in a way that had primary partition of 450gb and recovery partition of 15gb, and also a small system reserved so i used clean all, because i googled that is the easiest way to merge and in same time format the two partitions. The clean all command is still working (3.5 hours for now), but in the disk managment, hdd im doing clean on, it already says unallocated, also it is offline now, and whenever im entering disk managment it asks me shall i do initialization? I should guess it's better to wait with it till it's over.

My questions are now, if i cancel the procedure now, would there be any damage, and what steps i should do after, use only clean, or start making partition and format?

When i start making partitions, i suppose first is initialization, do i go for MBR, or GPT (this hdd will most likely be storage one)? After that when allocating partitions on it, i would like to make one partition NTFS, and one FAT32, both same in size. From the guides i've seen i must type what size of partition i wan't so im interested what number i must type in the correct box, 250gb or it must be in some different unit size? And after the clean all procedure, if i wait till it's really over, will i have on command full 500gb, or will it be little smaller? For now, unallocated size says 465,76gb.

Thanks for any help
My System SpecsSystem Spec
22 Jul 2014   #217

64-bit Windows 10 Pro

Hello M4Imo, and welcome to Seven Forums.

If you cancel the "Clean all", then you'll just need to start over, but I would use the "clean" command instead to finish faster. Just don't do a hard restart of the computer to stop it.

Afterwards, I'd go with using MBR when creating a new primary partition.

1024 MB = 1 GB, so you would type 256000 for 250 GB when you shrink the fist partition to create the other partition with.

Partition or Volume - Shrink

Partition or Volume - Create New

You can indeed have one partition NTFS, and the other FAT32.

Hope this helps, :)
My System SpecsSystem Spec
22 Jul 2014   #218

Windows 7 Ultimate

Hey and thanks.

I will probably do the cancel then. If i've understood good, i can do it with CTRL and c.

Also when i will start with making the partitions, should i set it to be basic, or dynamic?

For now like i have mentioned before, it says i have 465,76 gb available, not 500. Is the 35 gb reserved for something else? If it stays that after just the clean, i will just do 50-50 then.

Just for the convinience, should i do firts partition with NTFS, and then the second FAT32? Or is it just the same?

And i suppose i can even skip the shrinking since all my hdd will be unalllacoted so i can just start partitioning.

My System SpecsSystem Spec
22 Jul 2014   #219

64-bit Windows 10 Pro

That would be correct to cancel, but it may take time for it to cancel though.

You would want to have a basic disk.

You can use any size you like for the partitions. That was just an example. Multiply 1024 by how many GBs you want the partition to be for what to type in.

I'm not familiar if the PS3 requires the FAT32 partition to first or second, but use whatever is required for it.

Once you create the first primary partition, you'll need to shrink it by how much you want to use for the second partition to then have that as unallocated space to create the second partition with.
My System SpecsSystem Spec

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