| Windows 7: Disk - Clean and Clean All with Diskpart Command |
03 Jan 2010
|
#119 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
Disk - Clean and Clean All with Diskpart Command How to "Clean" or "Clean All" a Disk with the Diskpart Command
Last edited by Brink; 28 Jan 2013 at 12:02 PM..
| My System Specs |
| Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
05 Mar 2012
|
#120 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
Hello Sfeg, and welcome to Seven Forums.
Yes, either "clean" or "clean all" command will completely wipe everything from a disk. If you are unable to use it from within Windows 7 because of the virus, then you should be able to at boot.
Hope this helps,
Shawn | My System Specs |
| Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
05 Mar 2012
|
#121 | | |
Thank you for the welcome, Shawn.
Is the MBR automatically part of the DiskPart wipe, or do I have to specify/alter instructions?
Does this info from Microsoft say otherwise? A Description of the Diskpart Command-Line Utility"Diskpart permits certain partition deletion operations that are blocked by the snap-in. For example, you can use Diskpart to delete MBR OEM partitions. However, these partitions often contain files that are important to the platform operation. Diskpart blocks the deletion of the current system, boot, or paging volumes and partitions. Also, Diskpart blocks deletion of the partitions that underlie dynamic disks." Thanks. | My System Specs | | |
05 Mar 2012
|
#122 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
Using the "Clean" command at boot on the disk will wipe the disk completely. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
05 Mar 2012
|
#123 | | |
Can anyone help on my related Q: If both a HD and the motherboard firmware are infected by a trojan virus, does a Bios flash with updates take care of the Mobo?
But which one to do first? It seems that upon format/reinstall, the HD could get infected immediately again by the Mobo, and vice versa for the Mobo.
I'm thinking HD wipe, then Mobo flash, then HD format/reinstall... still not completely foolproof, but does that make sense or not? This Tom's article, especially the last comment on 2/4/12, are disheartening! Webroot Discovers BIOS Rootkit | My System Specs | | |
05 Mar 2012
|
#124 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
sfeg,
That will need to be posted as a new thread in the System Security forum area since it's not related to this tutorial. This way you will get the best help for that issue there. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
05 Mar 2012
|
#125 | | |
I actually did post it there. Thanks. Here's a wipe/format question, though:
If I use Diskpart or another utility (such as KillDisk or DBAN), is it possible to wipe the HD first but don't format it yet? (Or do all wipes also format?)
Then I would do the format to NTFS later, after flashing Mobo.
While still unformatted, will the HD be un-writable, and thus un-infectable? | My System Specs | | |
05 Mar 2012
|
#126 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
Sfeg,
Yes, when you use the "Clean" command, it will leave the Disk as blank "unallocated space" and unusable until formated. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
20 Mar 2012
|
#127 | | Desk1 7 Home Prem / Desk2 7 Home Prem / Laptop 7 Pro all 64bit |
Great stuff again I have heap of old drives I thought a format would suffice but then found I could recover stuff now this is just what I wanted.
Thanks so much
I meant to add is there a way of doing this so that I am left with just the OS intact? - handy when one hasn't got the installation disk?
Last edited by ICit2lol; 20 Mar 2012 at 03:27 AM..
Reason: Addition
| My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Own build (new) Desk1 / Toshiba L550 / Desk2 1st build OS Desk1 7 Home Prem / Desk2 7 Home Prem / Laptop 7 Pro all 64bit CPU Desk1 i5 3750K / Laptop i5 430m / Desk2 i5 2500 Motherboard Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ? Memory Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3 Graphics Card Desk 1& 2NVidia GTX 650 & Laptops on board Intel Sound Card Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop Monitor(s) Displays Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5" Screen Resolution 1920x1080 D1 & D2 Keyboard Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4 Mouse Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless PSU Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650 Case Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster Cooling Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ? Hard Drives Desk1 Samsung 120GB 830 SSD
Toshiba Crucial 120GB SSD
Desk2 Samsung 120GB 830 SSD Internet Speed ADSL2+ Other Info One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2011 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK |
20 Mar 2012
|
#128 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
Hello John,
Unless the OS is on a separate physical HDD than the one you wanted to use "clean" or "clean all" on, then no. They will wipe everything on a HDD including all partitions/volumes. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
20 Mar 2012
|
#129 | | Windows 7x64 Home Premium SP1 x 2 Australia |
It may have been mentioned earlier but you can run the tutorial from the command prompt of a system repair disk if you can't or don't want to boot into the OS. | My System Specs | | System Manufacturer/Model Number Own build (+ Recased Acer Aspire x1800) OS Windows 7x64 Home Premium SP1 x 2 CPU Intel i7 2600k Motherboard ASUS P8Z68 Deluxe Memory G.Skill Ripjaws (DDR3-1600) 2x4GB Graphics Card Nvidia GeForce GTS 450; Intel HD Graphics 3000(GT2+) Monitor(s) Displays Dell Ultrasharp IPS panel U2311H, Samsung SyncMaster P2350 Screen Resolution 1920x1080 Keyboard Logitech MK520 (wireless) Mouse Logitech MK520 PSU Seasonic M12II 520W Case Lian Li Lancool PC-K60 Cooling Case: 1x120mm, 3x140mm CPU: Hyper 212+ Hard Drives Crucial M4 128GB (000F), Seagates 1TB Barracuda ST31000528AS + Internet Speed 6-7 Mbps Antivirus Norton NIS, Malwarebytes on 2 (MSE on 3rd PC) Browser FireFox Other Info Audio: Logitech Z523 2.1 Disk - Clean and Clean All with Diskpart Command problems? All times are GMT -5. The time now is 12:22 AM. | |