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

18 Feb 2013   #160
kissa182

Windows 7 Home Premium 64bit
 
 

May I ask this, does "clean all" delete EVERYTHING on my HDD. I mean will that simply EVERYTHING, all UEFI partitions, everything go away with "clean all" from my HDD. (that's what i want)

I am running the command through Win7 DVD.


My System SpecsSystem Spec
18 Feb 2013   #161
Brink
Microsoft MVP

64-bit Windows 10 build 10158
 
 

Hello Kissa, and welcome to Seven Forums.

Both "clean" and "clean all" will delete everything on the HDD. The green information box at the top of the tutorial can give you more details about them to help, but I would recommend to use "Clean" like in step 7 of OPTION TWO below.

Convert GPT Disk to MBR Disk

Hope this helps,
Shawn
My System SpecsSystem Spec
18 Feb 2013   #162
kissa182

Windows 7 Home Premium 64bit
 
 

Yes, but the thing is that I want to get rid of "ubuntu" in boot menu as I tried that OS and no, it was not the correct for me. "Clean" didn't do it, it is still there, as it is probably in UEFI partition or something.
My System SpecsSystem Spec
18 Feb 2013   #163
Brink
Microsoft MVP

64-bit Windows 10 build 10158
 
 

You could boot from your Windows 7 installation retail installation DVD/USB, then start at step 2 in the tutorial below for a command prompt at boot to use the clean command on the HDD to wipe it.

If Ubuntu is on a separate HDD, then it will need to be cleaned as well.

Convert GPT Disk to MBR Disk
My System SpecsSystem Spec
.


18 Feb 2013   #164
kissa182

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Brink View Post
You could boot from your Windows 7 installation retail installation DVD/USB, then start at step 2 in the tutorial below for a command prompt at boot to use the clean command on the HDD to wipe it.

If Ubuntu is on a separate HDD, then it will need to be cleaned as well.

Convert GPT Disk to MBR Disk
Thats the thing what i did.

I did "clean all"
Waited about 3 hours, and that "ubuntu" boot option is still in my BIOS. I decided to be like "f*** that" and installed Windows 7. Now it has "Windows Boot Manager" which loads of course, Windows. Then still this "ubuntu" option is in my BIOS Boot order, but i disabled it. But the thing is that I want to get rid of that. I think it is an some kind of UEFI partition. Is there now a way to get rid of it without reinstalling Windows. I did do that "clean all" through Windows 7 DVD. Please help me getting rid of that.. =( I do not use another HDD's than this.
My System SpecsSystem Spec
18 Feb 2013   #165
Brink
Microsoft MVP

64-bit Windows 10 build 10158
 
 

You only needed to use "Clean" instead of "Clean all" to save time. "Clean" would have finished in about a minute instead.

See if by chance Ubuntu is listed to be able to delete it using the tutorial below.

Windows Boot Manager - Delete a Listed Operating System

If not, then please post a screenshot showing the full layout of your Disk Management (diskmgmt.msc) screen with a description of what is on each disk and partition.

Screenshots and Files - Upload and Post in Seven Forums
My System SpecsSystem Spec
18 Feb 2013   #166
kissa182

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Brink View Post
You only needed to use "Clean" instead of "Clean all" to save time. "Clean" would have finished in about a minute instead.

See if by chance Ubuntu is listed to be able to delete it using the tutorial below.

Windows Boot Manager - Delete a Listed Operating System

If not, then please post a screenshot showing the full layout of your Disk Management (diskmgmt.msc) screen with a description of what is on each disk and partition.

Screenshots and Files - Upload and Post in Seven Forums
That is not what I mean. It is in BIOS. Not Windows bootloader. Ubuntu was installed through UEFI. The problem here is that BIOS finds "ubuntu" UEFI partition from hard disk. Ubuntu is not on hard disk, the system is not installed, the bootloader of it is not on computer. Just this UEFI partition. I can't get rid of it. It really annoys me, and I'm thinking is DBAN the only solution here (that should delete ALL, EVERYTHING! from HDD, right?)

More information is that Windows 7 is installed through UEFI too, so BIOS has "Windows Boot Manager" and "ubuntu", and trying to boot that ubuntu doesn't do anything as it does not exist. The problem is that I havent found a way to delete the UEFI partition of it.

E:
So let me explain:
Windows is not asking do I want to boot Ubuntu or Windows, there are no other than partitions of Windows.

Only an UEFI partition probably is stored in HDD, and nothing can get rid of it, and BIOS sees an useless boot option (trying to boot this ubuntu does nothing as the system doesnt exist, PC continues to next thing in boot order)

So, this is not anything serious, it is just that UEFI partition, nothing else, it wont ruin my life, wont annoy me in system, it is just an UEFI partition which is useless.
My System SpecsSystem Spec
18 Feb 2013   #167
Brink
Microsoft MVP

64-bit Windows 10 build 10158
 
 

Please post a screenshot showing the full layout of your Disk Management (diskmgmt.msc) screen with a description of what is on each disk and partition to see if that may help reveal what is happening.
My System SpecsSystem Spec
18 Feb 2013   #168
kissa182

Windows 7 Home Premium 64bit
 
 

Guy, something weird happened. That "ubuntu" selection from BIOS is gone! Hooray! Don't know what happened, but it is gone. Finally.

That EFI System Partition in picture is Windows 7's. But in BIOS, that ubuntu selection is gone.


Attached Thumbnails
-sieppaa.png  
My System SpecsSystem Spec
18 Feb 2013   #169
Brink
Microsoft MVP

64-bit Windows 10 build 10158
 
 

Kissa,

I'm happy to hear that all is fine now.
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 16:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App