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


03 Jan 2010   #19
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 
Disk - Clean and Clean All with Diskpart Command

How to "Clean" or "Clean All" a Disk with the Diskpart Command


...


My System SpecsSystem Spec
13 Apr 2011   #20
need4steer

Windows 7 Ultimate 32bit
 
 

The answer is in your picture. You can't perform clean to the disk which hosts windows. It's like shooting your own leg.
Brink wrote it himself in the head of this post:
Quote   Quote: Originally Posted by Brink
You cannot use the clean or clean all diskpart commands on a boot disk (ex: disk Windows 7 is installed on) unless you do it from a command prompt at boot.
So if you really wish to clean it then do it via the boot command prompt.


My System SpecsSystem Spec
13 Apr 2011   #21
Lappy

Windows 7 Home Premium 64bit
 
 

need4steer, thanks for th reply, I realized after I sent the post.

Thanks anyway!
My System SpecsSystem Spec
13 Apr 2011   #22
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Quote   Quote: Originally Posted by Lappy View Post
I'm sorry but I followed every step carefully and it just won't work... Here's a picture of the commands... Thanks for any help. I want to convert back to a basic disk, that's all. But nothing is working...


Hello mate.


You are aware that both the clean or the clean all command will over-write data on the entire Hard Disk Drive and render Windows unusable, it will not boot at all after those commands are run?
My System SpecsSystem Spec
13 Apr 2011   #23
Lappy

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Bare Foot Kid View Post
Quote   Quote: Originally Posted by Lappy View Post
I'm sorry but I followed every step carefully and it just won't work... Here's a picture of the commands... Thanks for any help. I want to convert back to a basic disk, that's all. But nothing is working...
Hello mate.

You are aware that both the clean or the clean all command will over-write data on the entire Hard Disk Drive and render Windows unusable, it will not boot at all after those commands are run?
Thanks for the warning, I'm aware that it will over-write data on the entire HD but as far as wendering Windows unusable, won't I be able to do a clean re-install of Windows 7? So I wonder what my options are at this point. Any advice?
My System SpecsSystem Spec
.


13 Apr 2011   #24
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Quote   Quote: Originally Posted by Lappy View Post


Thanks for the warning, I'm aware that it will over-write data on the entire HD but as far as wendering Windows unusable, won't I be able to do a clean re-install of Windows 7? So I wonder what my options are at this point. Any advice?

Yes you will be able to do a clean install but you would be better off doing a clean all instead of just a clean as that (the clean) only over-writes the format configuration data and the clean all over-writes all the data on the entire Hard Disk Drive, much better IMO.
My System SpecsSystem Spec
13 Apr 2011   #25
Lappy

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Bare Foot Kid View Post
Yes you will be able to do a clean install but you would be better off doing a clean all instead of just a clean as that (the clean) only over-writes the format configuration data and the clean all over-writes all the data on the entire Hard Disk Drive, much better IMO.
Ok, just so I'm following you here, I want to do a clean re-install. I've tried different options to convert back to a basic disk and since I'm only left with a dynamic drive with Windows 7 installed on it, it seems like my only options id to do a Clean or Clean All with Diskpart Command.

So, from what your saying, I would only do a clean all from the Command Prompt at boot? Since I cannot use the clean or clean all diskpart commands on a boot disk, I would have to do it from a command prompt at boot?

But since it won't boot after, I assume I'll be able to use the Bootable DVD and re-install, which should convert it to a basic disk, it that correct?
My System SpecsSystem Spec
13 Apr 2011   #26
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Boot to a command window as outlined in the link, doing either a clean or a clean all will leave the entire HDD as unallocated space, that removes all the Dynamic info and automatically converts back to a Basic disk; then just follow the appropriate tutorial for the version you have to do a clean install of Windows.


How to Do a Clean Installation with Windows 7

Do a Clean Install with a Upgrade Windows 7 Version
My System SpecsSystem Spec
13 Apr 2011   #27
Lappy

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by Bare Foot Kid View Post
Boot to a command window as outlined in the link, doing either a clean or a clean all will leave the entire HDD as unallocated space, that removes all the Dynamic info and automatically converts back to a Basic disk; then just follow the appropriate tutorial for the version you have to do a clean install of Windows.

How to Do a Clean Installation with Windows 7

Do a Clean Install with a Upgrade Windows 7 Version
Thanks! I appreciate the info!
My System SpecsSystem Spec
13 Apr 2011   #28
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Quote   Quote: Originally Posted by Lappy View Post
Quote   Quote: Originally Posted by Bare Foot Kid View Post
Boot to a command window as outlined in the link, doing either a clean or a clean all will leave the entire HDD as unallocated space, that removes all the Dynamic info and automatically converts back to a Basic disk; then just follow the appropriate tutorial for the version you have to do a clean install of Windows.

How to Do a Clean Installation with Windows 7

Do a Clean Install with a Upgrade Windows 7 Version
Thanks! I appreciate the info!

Glad I could help.
My System SpecsSystem Spec
28 Jun 2011   #29
Kusuri

Windows 7 Professional 64bit
 
 

Hello, I started a "clean all" of my 1TB WD My Book External HDD that's connected via USB with a command prompt at boot.

The HDD's activity LED at the front is going up and down, but the strange thing is I can't hear any clicking or typical hard-drive writing noise at all.

I can't do anything else at the command prompt (it's stuck since I typed clean all).

Does this mean it's not doing anything or is it supposed to be silent like this? I really don't want to leave my PC on for days thinking it's writing zeros when it's doing nothing... But on the other hand I'm afraid this is normal behavior and it would damage the drive if I tried to reboot.

But it really is too silent. I know the noise it makes when I'm making backups, moving or deleting files. Unless there's a long period of waiting before it starts writing zeros or writing zeros makes no noise at all...? Wish it showed a progress status % or something...

Thanks
My System SpecsSystem Spec
Comment

 Disk - Clean and Clean All with Diskpart Command




Tutorial Tools



Similar help and support threads for2: Disk - Clean and Clean All with Diskpart Command
Windows 7 Tutorial Category
Should I clean my HDD with Parted Magic or Diskpart clean all command? General Discussion
DISKPART & HDD help - Clean All interrupted, disk no longer found. General Discussion
Can "diskpart clean all" be performed after a "diskpart clean" ? Hardware & Devices
Solved Diskpart hangs running 'clean all' Installation & Setup
Solved A simple question about diskpart /clean all General Discussion
Do not see HDD after clean all using diskpart General Discussion
Solved Diskpart Clean All Error 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 11:21 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33