| Windows 7: How do I (unusualy)clean a single partition using DISKPART? |
21 Feb 2012
|
#1 | | Windows 7 Enterprise x64 SP1 Version 6.1 Build 7601 |
How do I (unusualy)clean a single partition using DISKPART? Hello and thanks for reading,
I want to achive a simple goal and need your help:
-I have 320GB external HD which has 2 partitions assigned as ( X and Y),
-HD is marked as disk 1 and it's online
-partition X has some data which may not be wiped out
-while partition Y is going to be deleted and recreated.
usualy I do: diskpart
sel dis 1
sel par Y
delete partition
cre par pri
sel par 2 format label = Y
now partition has been recreated as I wanted BUT,
part of the disk where that partition was has not been zerro-ed as it would be if we would do it like this: diskpart
sel dis 1
clean all
cre par pri size = 153000
sel par 1
format label = X
cre par pri sel par 2
format label = Y
now in this second example partitioin has realy been zerroed(the whole HD acctualy) because we used clean all, but the cost to achive this delux was destroing partition X as well  , and this is not wanted by my goal because I wanna keep partition X since it contains data.
My question is:
how to do recreate partiton Y so that I "zerro-it" like whole disk with clean all.
only part Y of the disk should be zerroed not part X
thanks alot.
btw: don't ask me "why do I want to do this?" I hate that | My System Specs |
| System Manufacturer/Model Number Toshiba Satelite P300D 13J (Short model No: PSPDCE) OS Windows 7 Enterprise x64 SP1 Version 6.1 Build 7601 CPU x64bit AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-82 Memory 4096 (2048 + 2048) MB, DDR2 RAM (800 MHz), max 8,192 MB Graphics Card ATI Mobility Radeon™ HD 3650+HyperMemory™(512MB VRAM+2302MB) Sound Card Manufacturer: harman/kardon Monitor(s) Displays Generic PnP Monitor (MONITOR\LPLA101) Screen Resolution 1440 x 900 (19" LCD) Keyboard USB Logitech S520 Mouse USB Logitech S520 PSU Batery: technology : lithium-ion Cooling integrated cooler + 3x external cooler Hard Drives HDD1: TOSHIBA MK3252GSX ATA Device (IDE 320 GB 5,400 o/min) ,
HDD2: Msft Virtual Disk SCSI Disk Device (Virtual Hard Drive),
HDD3: TOSHIBA MK3263GSX USB Device (USB Mobile HDD) (TakeMS MemLine) Internet Speed WAN: 7,2 Mbit/sec, WLAN: 54 Mbit/sec + Bluetooth® |
21 Feb 2012
|
#2 | | Windows 7 Ultimate x64 Service Pack 1 Doncaster, UK |
Not possible, sorry. 
Quote: Originally Posted by DiskPart Command-Line Options clean
Removes any and all partition or volume formatting from the disk with focus. On master boot record (MBR) disks, only the MBR partitioning information and hidden sector information are overwritten. On GUID partition table (GPT) disks, the GPT partitioning information, including the Protective MBR, is overwritten; there is no hidden sector information. clean all
Specifies that each and every sector on the disk is zeroed, which completely deletes all data contained on the disk. DiskPart Command-Line Options
From the above, it is clear that these commands apply to the disk as a whole, and not to individual partitions. This is because, as part of their execution, they erase the partition information (MBR/GPT) tables. You will need to use the format command to erase a specific partition. | My System Specs | | System Manufacturer/Model Number Dwarf Dwf/11/2012 OS Windows 7 Ultimate x64 Service Pack 1 CPU Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz) Motherboard ASRock Z77 Extreme4-M Memory 4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB) Graphics Card 2 x AMD Radeon HD7770 1GB CrossFired (OC 1100MHz/1250MHz) Sound Card Realtek High Definition on board solution (ALC 898) Monitor(s) Displays ViewSonic VA1912w Widescreen (VGA) Screen Resolution 1440x900 Keyboard Microsoft Comfort Curve Keyboard 3000 (USB) Mouse Microsoft Comfort Mouse 3000 for Business (USB) PSU XFX Pro Series 850W Semi-Modular Case Gigabyte IF233 Cooling 1 x 120mm Front Inlet 1 x 120mm Rear Exhaust Hard Drives OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0 Internet Speed NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2) Antivirus Avast! 7.0.1474 Browser IE 9 Other Info Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
CTF-430 Tablet & Pen
WEI Score: 7.7/7.9/7.4/7.4/7.9
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter) |
21 Feb 2012
|
#3 | | Windows 7 Enterprise x64 SP1 Version 6.1 Build 7601 |
AFAIU-nderstand
if I use this: format fs=NTFS
this will reformat the partition and check for disk errors on partition with focus?
but it will not zerro-it, thus, anyone can be able to recover that partition, is that correct?
thanks! | My System Specs | | System Manufacturer/Model Number Toshiba Satelite P300D 13J (Short model No: PSPDCE) OS Windows 7 Enterprise x64 SP1 Version 6.1 Build 7601 CPU x64bit AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-82 Memory 4096 (2048 + 2048) MB, DDR2 RAM (800 MHz), max 8,192 MB Graphics Card ATI Mobility Radeon™ HD 3650+HyperMemory™(512MB VRAM+2302MB) Sound Card Manufacturer: harman/kardon Monitor(s) Displays Generic PnP Monitor (MONITOR\LPLA101) Screen Resolution 1440 x 900 (19" LCD) Keyboard USB Logitech S520 Mouse USB Logitech S520 PSU Batery: technology : lithium-ion Cooling integrated cooler + 3x external cooler Hard Drives HDD1: TOSHIBA MK3252GSX ATA Device (IDE 320 GB 5,400 o/min) ,
HDD2: Msft Virtual Disk SCSI Disk Device (Virtual Hard Drive),
HDD3: TOSHIBA MK3263GSX USB Device (USB Mobile HDD) (TakeMS MemLine) Internet Speed WAN: 7,2 Mbit/sec, WLAN: 54 Mbit/sec + Bluetooth® |
21 Feb 2012
|
#4 | | Windows 7 Ultimate x64 Service Pack 1 Doncaster, UK |
In order to securely erase a disk, the information stored on it needs to be rendered unreadable and unrecoverable. This is not as easy as it sounds, because of the phenomenon of residual magnetism (which is what data recovery specialists look for in order to recover lost data).
Basically, when you write to a disk (and that includes formatting and the clean/clean all commands as well as actual data), the existing data is not erased first. Instead, the new data is written on top. Being the most recent data stored in that location, its magnetic properties are the strongest. The HDD hardware/firmware in standard drives is designed to only recognise the stronger signal, and thus effectively ignores what has previously been written to that location. In effect, it filters out all but the strongest signal. Disk recovery specialists use special equipment that does not filter the signals, but this equipment is expensive (hence the cost, which is passed on to their customers).
There are a number of disk erasers available, and they perform their job in pretty much the same way. This is generally achieved by writing to the disk multiple times to render the residual magnetism associated with the original data sufficiently weak to be no longer viable for recovery. Disk Wipe - Free software  Warning Please read the instructions/help files carefully prior to use. | My System Specs | | System Manufacturer/Model Number Dwarf Dwf/11/2012 OS Windows 7 Ultimate x64 Service Pack 1 CPU Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz) Motherboard ASRock Z77 Extreme4-M Memory 4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB) Graphics Card 2 x AMD Radeon HD7770 1GB CrossFired (OC 1100MHz/1250MHz) Sound Card Realtek High Definition on board solution (ALC 898) Monitor(s) Displays ViewSonic VA1912w Widescreen (VGA) Screen Resolution 1440x900 Keyboard Microsoft Comfort Curve Keyboard 3000 (USB) Mouse Microsoft Comfort Mouse 3000 for Business (USB) PSU XFX Pro Series 850W Semi-Modular Case Gigabyte IF233 Cooling 1 x 120mm Front Inlet 1 x 120mm Rear Exhaust Hard Drives OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0 Internet Speed NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2) Antivirus Avast! 7.0.1474 Browser IE 9 Other Info Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
CTF-430 Tablet & Pen
WEI Score: 7.7/7.9/7.4/7.4/7.9
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter) |
21 Feb 2012
|
#5 | | Windows 7 Enterprise x64 SP1 Version 6.1 Build 7601 |
WOW, I didn't know that after clean all command, disk is still recoverable 
thanks for explaining this! rep+ | My System Specs | | System Manufacturer/Model Number Toshiba Satelite P300D 13J (Short model No: PSPDCE) OS Windows 7 Enterprise x64 SP1 Version 6.1 Build 7601 CPU x64bit AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-82 Memory 4096 (2048 + 2048) MB, DDR2 RAM (800 MHz), max 8,192 MB Graphics Card ATI Mobility Radeon™ HD 3650+HyperMemory™(512MB VRAM+2302MB) Sound Card Manufacturer: harman/kardon Monitor(s) Displays Generic PnP Monitor (MONITOR\LPLA101) Screen Resolution 1440 x 900 (19" LCD) Keyboard USB Logitech S520 Mouse USB Logitech S520 PSU Batery: technology : lithium-ion Cooling integrated cooler + 3x external cooler Hard Drives HDD1: TOSHIBA MK3252GSX ATA Device (IDE 320 GB 5,400 o/min) ,
HDD2: Msft Virtual Disk SCSI Disk Device (Virtual Hard Drive),
HDD3: TOSHIBA MK3263GSX USB Device (USB Mobile HDD) (TakeMS MemLine) Internet Speed WAN: 7,2 Mbit/sec, WLAN: 54 Mbit/sec + Bluetooth® |
09 Dec 2012
|
#6 | | Windows 7x64 Home Premium SP1 x 2 Australia |
An old thread I know but I have a need to perform this function. That is do a rigorous clean of a single partition. "Disk Wipe" looked great but this review (by one!) thinks otherwise.
I'm thinking of:
1) Deleting all the partition files
2) Use CCleaner Tools>Drive Wiper to wipe the partition free space (all the partition in this case)
3) Do a reformat of the partition in question.
A very clunky approach but it is the only way I know at the moment. | 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 |
09 Dec 2012
|
#7 | | Windows 7 Pro X64 Space Coast of Florida |
That is not what the Disk Wipe web site says: Quote: Disk Wipe is Free, portable Windows application for permanent volume data destruction. With Disk Wipe you can erase all disk data and prevent recovery of those data. Formatting a hard drive with regular method leaves an open possibility to recover the data back. Many companies and users who just dumped their old hard drives in rubbish had found this the hard way. Disk Wipe solves this problem efficiently, using a powerful algorithms which fill the volume with useless rubbish binary data multiple times. The possibility of recovering information from drive formatted with Disk Wipe is almost non existent. | My System Specs | | System Manufacturer/Model Number Dell Precision 370 OS Windows 7 Pro X64 CPU Intel Pentium 4 Dual LP 3.4Ghz Memory 4GB DDR PC2-5200 ECC Graphics Card NVIDIA Quadro FX 3400/4400 Sound Card SoundMAX Integrated Digital Audio Monitor(s) Displays HP 22" w2207 LCD Screen Resolution 1680 x 1050 Hard Drives 300GB Maxtor 6L300RD PATA
128GB Kingston SV200S3128G SSD (boot)
1.5TB Seagate ST3150041AS SATA Internet Speed Cable via Road Runner 2MB Upload, 20MB Download |
09 Dec 2012
|
#8 | | Windows 7x64 Home Premium SP1 x 2 Australia |

Quote: Originally Posted by Ztruker That is not what the Disk Wipe web site says:
Yes I know. It would make life easy. The acid test would be to run Disk Wipe then attempt a RAW partition recovery which doesn't rely on the file system info. I may do the test but I'm feeling lazy
If you are talking data of high commercial value or of high National security then you physically destroy the HDD. | 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 |
14 Dec 2012
|
#9 | | Windows 7x64 Home Premium SP1 x 2 Australia |

Quote: Originally Posted by mjf An old thread I know but I have a need to perform this function. That is do a rigorous clean of a single partition. "Disk Wipe" looked great but this review (by one!) thinks otherwise.
I'm thinking of:
1) Deleting all the partition files
2) Use CCleaner Tools>Drive Wiper to wipe the partition free space (all the partition in this case)
3) Do a reformat of the partition in question.
A very clunky approach but it is the only way I know at the moment. Actually for those interested...I used this method and it wasn't as "clunky" as I thought. It worked like a charm. I and my son just used the one pass to delete all free space. There are more secure options DoD, NSA type multipass cleaning which can be done with CCleaner but who really needs this. | 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 How do I (unusualy)clean a single partition using DISKPART? problems? All times are GMT -5. The time now is 07:08 PM. | |