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

17 Nov 2014   #240
Brink

64-bit Windows 10 Pro
 
 

You're most welcome. :)


My System SpecsSystem Spec
.
22 Dec 2014   #241
ghos3t

windows 8.1 64 bit
 
 
will both my drives be cleaned

hello on my pc I created two partitions one for my windows 8.1 C drive 150 gb and another to store all my data D drive 350 gb,I accidentally shut down the pc directly from power supply now my pc is not booting and when i try to reinstall windows no drives are detected, after searching a lot I believe my MBR has become corrupted, I want to follow these steps you have written to delete my corrupted mbr and reinstall Windows 8.1 or windows 7 fresh into my 150 gb c drive while not losing my D drive data, so if I use the clean command can I individually clean only my c drive or will both drives be cleaned.
My System SpecsSystem Spec
22 Dec 2014   #242
Brink

64-bit Windows 10 Pro
 
 

Hello ghos3t, and welcome to Seven Forums.

I'm afraid that if you run the "clean" or "clean all" command on the disk, it will wipe both partitions and leave the disk as unallocated. It affects everything on the hard drive.

If you don't have another computer to connect the drive to and back it up on it, then you can use either tutorial below to back up with to a separate hard drive.

Copy & Paste - in Windows Recovery Console

Peppermint Live CD/DVD/USB - Create for Emergency Backup

Hope this helps, :)
Shawn
My System SpecsSystem Spec
03 Feb 2015   #243
soewhaty

Win 7 x64
 
 

Hi and thanks for the tutorial. I just did a 'clean all' on a 1TB internal HDD. And then when I went to device manager/disk management in order to assign the hdd's unallocated 1tb space I was given this option:

Use the following partition style:
MBR
GPT

Note GTP is recommended for disks larger than 2TB [mine is 1TB as I said], disks used on Itanuim-based PCs and wont be recognized by prev. versions of Win


I think before I did the CLEAN ALL it was MBR, not GPT, but I am not sure. As I said, it is an internal SATA2 3gb/s HDD, which used to be my main HDD partitioned with OS partitions and storage partitions. Now an SSD is my OS drive and the 1tb HDD in question is inserted in the 2nd slot in my notebook to be used only as storage. That's pretty much the full story. So which one of the 2 options to choose? It makes sense to be the MBR option but it never hurts to ask.

PS
Sorry if I am repeating a question already asked, but I could not find the answer so far.
My System SpecsSystem Spec
.

03 Feb 2015   #244
Brink

64-bit Windows 10 Pro
 
 

Hello soewhaty,

For Windows 7, it's best to use MBR for the installation disk. :)
My System SpecsSystem Spec
03 Feb 2015   #245
soewhaty

Win 7 x64
 
 

Thanks for your reply! I am not sure what you mean in this context when u say 'installation disk'. As I said my configuration is the following - Win7 Pro x64 on a notebook PC with 2 hdd/ssd slots. In one slot I have an SSD where my OS is and in the 2nd slot I have the internal HDD on which I just performed a 'clean all'. The HDD is only going to be used for storage. There is not going to be any operating systems installed on it. I hope that makes it clearer now. Sorry if there was any confusion.

1. That said, what is the answer now? MBR or GPT for the HDD when 'device manager/disk management' asks me the following

Use the following partition style:
MBR
GPT

Note GTP is recommended for disks larger than 2TB [mine is 1TB as I said], disks used on Itanuim-based PCs and wont be recognized by prev. versions of Win


2. Does it matter which OS we are talking about in this context? In other words, is the answer to question #1 the same for Win7, Win8, Win8.1 and say Win10?

Thanks in advance! :)
My System SpecsSystem Spec
03 Feb 2015   #246
Brink

64-bit Windows 10 Pro
 
 

"Installation disk" is the disk that Windows 7 is installed on.

If you were using Windows 8, then you could use GPT with UEFI if you like.

Since this is only a 1TB drive, I would still say use MBR. :)
My System SpecsSystem Spec
03 Feb 2015   #247
soewhaty

Win 7 x64
 
 

OK, the internal HDD in question is, as I already said in my initial post, not the one where any OS is going to be installed ever. And it is 1TB in size. It is only an internal hdd for storage. Those are all the prerequisites.

For all versions of Windows that I ever use [Win7, Win8 and Win10, etc] I am only going to use that internal HDD for storage and not for installing OS onto. I repeat, it is an internal HDD, cos my notebook has 2 slots. So with that in mind, I thought it should be the same choice in all Windows editions, but it surprises me now to see you're saying that in Win7 I should have the hdd as MBR and in Win8 in GPT. I mean, after all... it's the same internal hdd we are talking about here, same size and same use it will have. Why would I have it MBR in Win7 and GPT in Win8. That is what you are saying as far as I understand.

Thanks again :)
My System SpecsSystem Spec
03 Feb 2015   #248
Brink

64-bit Windows 10 Pro
 
 

Yep, use MBR.
My System SpecsSystem Spec
03 Feb 2015   #249
soewhaty

Win 7 x64
 
 

Thank you for the reply but from all I wrote [and asked] one would expect a deeper explanation from you as to why you recommend MBR in Win7 and GPT in Win 8. After my little research I figured that there is a different way at looking at things. GPT is newer than MBR, and if GPT should ever be used on a partition meant for an OS, then Windows can only boot from GPT on UEFI-based computers running 64-bit versions of Windows 8.1, 8, 7, Vista, and corresponding server versions. All versions of Windows 8.1, 8, 7, and Vista can read GPT drives and use them for data, but, as mentioned above only the 64-bit versions on uefi based pcs can boot from gpt drives.

Bottom line for me [correct me if I am wrong] is that if the hdd/sdd in question is not going to be one to boot from, but just used for storage, then only the size would determine if one should use MBR or GPT. MBR is for drives up to 2 or 2.2TB, for larger one would use GPT. Which then makes one ask the question why not use GPT anyway, since it supports bigger and smaller than 2/2.2TB. Shouldn't matter too much I guess. What matters though is whether or not to use GPT or MBR on an OS drive. Obviously GPT has advantages, but there's also some requirements from the PC/system to be met if GPT is to be used.
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 10:52.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App