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: Wipe HDD with "diskpart >> clean all"

29 Oct 2011   #1

Windows 7 Home Premium 64bit
 
 
Wipe HDD with "diskpart >> clean all"

Hi everyone,

I was triying to wipe my HDD with diskpart >> clean all to overcome "Windows could not configure one or more system components" issue which I post to technet forum afew days ago.

But I have some concerns about wiping process.

Most of the notebooks are being sold with hidden partition which contains OEM Windows 7 and required driver files for a clean systems recovery. That partition made hidden by the manufacturers as factory defaults.

I was wondering if diskpart can handle with this hidden partition?

If not, that won't be a actual wiping the HDD that may reason of the issue mentioned in the link.

Any comment would be appreciated.
Thanks in advance,
Torehan

My System SpecsSystem Spec
.

29 Oct 2011   #2

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

My understanding is that diskpart "clean all" command does wipe hidden partitions.

I think you can also delete hidden partitions specifically. Use the diskpart "detail disk" command to obtain detailed information about the current in-focus disk. That will tell you if the partition is hidden. Then select that partition and type in “delete partition override”.
My System SpecsSystem Spec
29 Oct 2011   #3

Windows 7 Home Premium 64bit
 
 

Thank you for your comment.
Well, yes after using "detail disk", it can be seen there is no hidden partition. That means this is not a possible reason previously referenced issue.

That may be a completely different topic but my aim was to talk about issue that referenced in my first post.

What could be the reason? Why installation of 64bit couldn't be completed whereas 32bit could?
My System SpecsSystem Spec
.


29 Oct 2011   #4

Windows 7 Ultimate SP1 64-Bit
 
 

If you check this tutorial, you will see the the "clean all" command does indeed wipe the drive completely, including any hidden OEM partitions.

Disk - Clean and Clean All with Diskpart Command

I can't comment on your Technet thread, because the link appears to be dead.
My System SpecsSystem Spec
29 Oct 2011   #5

Windows 7 Home Premium 64bit
 
 

Sorry for that, link fixed.
My System SpecsSystem Spec
29 Oct 2011   #6

Windows 7 Ultimate SP1 64-Bit
 
 

Cheers.

You say the 32-bit version installs OK.

I suppose there is a possibility there is a problem with the 64-bit DVD.

Is there any chance you can borrow a 64-bit disk from a friend and try that?
My System SpecsSystem Spec
29 Oct 2011   #7

Windows 7 Home Premium 64bit
 
 

I have allready tried that. I have two different Windows 7 Ultimate DVD and both ends up with the same problem.

I think the clue for the reason of the problem is in the differences between 32bit and 64bit confugration process.

What are the system components that are being mentioned in the error?
My System SpecsSystem Spec
29 Oct 2011   #8
Microsoft MVP

 

The value of Diskpart "Clean" command for install failures is to wipe the boot sector of possibly corrupt or conflicting code blocking install. It isn't necessary to run "Clean all" which is more for overwriting data securely and does no more than "Clean" for this critical boot sector purpose.

"Clean" will destroy everything on the HD so that it is recoverable only by Data REcovery software, "Clean all" not even that.

Where did you get Windows 7? You said you've tried two disks - what is their source?

Try writing a verified ISO to flash stick using Universal USB Installer with Windows 7 in dropdown, boot under USB, Removable or HD's in one-time BIOS Boot Menu.

I would find a HD which can afford to be wiped and try "Clean" command with your 64 bit install problem.

If these fail we can continue troubleshooting your issue here.
My System SpecsSystem Spec
29 Oct 2011   #9

Windows 7 Home Premium 64bit
 
 

Disks are two different legal copies of Windows 7 Ultimate DVD which one is belonged to me the other is belong to my father.

What do you mean a verified iso? Is it OK if I would create iso image of my DVD with iso maker program e.g Magic Iso ?



Quote   Quote: Originally Posted by gregrocker View Post
The value of Diskpart "Clean" command for install failures is to wipe the boot sector of possibly corrupt or conflicting code blocking install. It isn't necessary to run "Clean all" which is more for overwriting data securely and does no more than "Clean" for this critical boot sector purpose.

"Clean" will destroy everything on the HD so that it is recoverable only by Data REcovery software, "Clean all" not even that.

Where did you get Windows 7? You said you've tried two disks - what is their source?

Try writing a verified ISO to flash stick using Universal USB Installer with Windows 7 in dropdown, boot under USB, Removable or HD's in one-time BIOS Boot Menu.

I would find a HD which can afford to be wiped and try "Clean" command with your 64 bit install problem.

If these fail we can continue troubleshooting your issue here.
My System SpecsSystem Spec
29 Oct 2011   #10
Microsoft MVP

 

Yes you can use that or ImgBurn to extract ISO from DVD.

Or install UltraISO trial version, on Disk Tab Select Open DVD, on Bootable tab select Write Disk Image, Format stick, Write. Boot under USB, Removable, or HD's.
My System SpecsSystem Spec
Reply

 Wipe HDD with "diskpart >> clean all"




Thread Tools



Similar help and support threads for2: Wipe HDD with "diskpart >> clean all"
Thread Forum
Changing the "minimize" "maximize" and "close" buttons of a theme Customization
diskpart script hangs at "select disk" Installation & Setup
Can "diskpart clean all" be performed after a "diskpart clean" ? Hardware & Devices
Solved diskpart's "clean all" hangs, no signs of HD activity Performance & Maintenance
Solved got an error at "clean" part of DISKPART Hardware & Devices
is "clean" and "quick format" sufficient Installation & Setup
Solved Not quite sure about doing "full format" after "clean all" Installation & Setup

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 01:08 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