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 7 Pro. 64/SP-1
 
 

If I may. From the tutorial.

Quote:
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
tinhdx

64
 
 

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

Windows 7 Home Premium 64 bit
 
 

Shawn,

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
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

Hey Scoop,

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

Quote:
DISKPART> clean

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


02 Jul 2014   #214
Scoop

Windows 7 Home Premium 64 bit
 
 

Shawn,

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
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

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

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
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

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,
Shawn
My System SpecsSystem Spec
22 Jul 2014   #218
M4Imo

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.

Thanks
My System SpecsSystem Spec
22 Jul 2014   #219
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

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
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 19:02.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App