How to merge 2 Partions in Your Windows PC.
August 10, 2007
Say you have 2 partitions named C and E and you no longer need E partition and wants to merge with C.
1) Download DISKPART.EXE from this Microsoft website and Install it.
2) Backup Data in Volume E ( if it has any)
3) Start DISKPART.EXE
C:Program FilesResource Kit>DISKPART.EXE Microsoft DiskPart version 5.1.3553 Copyright (C) 1999-2001 Microsoft Corporation. On computer: YOURPCNAME DISKPART>
4) List and Select Volume E
DISKPART> LIST VOLUME Volume ### Ltr Label Fs Type Size Volume 0 F CDRoot CDFS DVD-ROM 4254 MB Volume 1 C NTFS Partition 11 GB Volume 2 E New Volume NTFS Partition 7844 MB Volume 3 D Removeable 0 B DISKPART> SELECT VOLUME 2
Make sure Volume E is Selected. It should show a * infront volume
DISKPART> LIST VOLUME Volume ### Ltr Label Fs Type Size Volume 0 F CDRoot CDFS DVD-ROM 4254 MB Volume 1 C NTFS Partition 11 GB * Volume 2 E New Volume NTFS Partition 7844 MB Volume 3 D Removeable 0 B
5) Delete Volume E
DISKPART> DELETE VOLUME DiskPart successfully deleted the volume. DISKPART> LIST VOLUME Volume ### Ltr Label Fs Type Size Volume 0 F CDRoot CDFS DVD-ROM 4254 MB Volume 1 C NTFS Partition 11 GB Volume 2 D Removeable 0 B
6) Now Select Volume C
DISKPART> SELECT VOLUME 1 Volume 1 is the selected volume. DISKPART> LIST VOLUME Volume ### Ltr Label Fs Type Size Volume 0 F CDRoot CDFS DVD-ROM 4254 MB * Volume 1 C NTFS Partition 11 GB Volume 2 D Removeable 0 B
7) Claim the Remaining Space left by Volume E
DISKPART> EXTEND DiskPart successfully extended the volume. DISKPART> LIST VOLUME Volume ### Ltr Label Fs Type Size Volume 0 F CDRoot CDFS DVD-ROM 4254 MB * Volume 1 C NTFS Partition 19 GB Volume 2 D Removeable 0 B
Thats It!
August 18, 2007 at 10:39 am
This actually seems too good to be true.
I assume C: can have a much of data on it or will that be lost in the process?
Does this work only for dynamic disks?
I have yet to find a free utility that allows me to merge partitions without data loss…hopefully this is it.
November 15, 2007 at 4:08 am
Hi,
You sure this works as diskpart cannot be used to expand a volume with the paging file on it or a system volume???
May 11, 2008 at 8:38 pm
N Rao, thanks for sharing the knowledge…it was helpful.
kind regards,
bharath