How to Extend Partition like the D Drive with Unallocated Space (Step-by-Step Guide)

If your drive is running out of space, you can extend it using unallocated space on your disk. However, the method you use depends on where the unallocated space is located. Here we make an example with the D drive. Sometimes, the D drive can be your E drive in your case. If you are looking for 'extend E with unallocated space', this solution will also work for you.

Method 1: Use Disk Management or DiskPart (Built-in Tools)

Windows built-in tools like Disk Management and DiskPart can extend a partition, but only under specific conditions:

  • ✔ The unallocated space must be directly next to (adjacent to) the D drive
  • ✔ The unallocated space must be on the right side of the D drive
  • ✘ Cannot move partitions
  • ✘ Cannot use unallocated space on the left side

C, D, Unallocated; C, EFI, D, Unallocated; C, Recovery, D, Unallocated; C, D, Unallocated, E...

If your disk layout meets these requirements, you can extend volume like the D drive easily using Disk Management or Diskpart.

Method 2: Use IM-Magic Partition Resizer (More Flexible)

IM-Magic Partition Resizer is a more advanced tool that allows you to:

  • ✔ Move partitions without losing data
  • ✔ Use unallocated space from the left or right side
  • ✔ Extend partitions even when space is not adjacent (You can move partitions to let the unallocated space reach the partition you want to expand)

This makes it ideal when Disk Management or DiskPart cannot extend the D drive.

Video: How to add space to D drive using unallocated space from different positions (left, right and far-away)

Video: How to add unallocated space to C drive (Disk Management or Partition Resizer)

Also read: How to extend C with unallocated space (left, right, and not adjacent)

For Windows 11/10/8/7 => Download Partition Resizer Free [100% Free]

For Windows Server 2025-2003 => Download Partition Resizer Server [Free Demo]

Common Situations and Steps to Extend D with IM-Magic Partition Resizer

Below are common partition layouts and what you should do using IM-Magic Partition Resizer:

  • C | Unallocated | D
    → Extend D directly by dragging its left boundary.
  • C | Unallocated | Recovery | D
    → Move the Recovery partition to change the location with the unallocated space, then extend D.
  • C | Unallocated | EFI | D
    → Move the EFI partition to the right adjacent to the C, then extend D with left unallocated space.
  • C | Recovery | D | E | Unallocated
    → Move the E partition to the right, then extend D using the unallocated space.
  • C | D | Unallocated
    → Extend D directly (works with Disk Management too).
  • C | D | E | Unallocated
    → Move the E partition, then extend D.
  • C | Unallocated | D | Unallocated
    → Extend D from either side.
  • C | Recovery | D | Unallocated
    → Extend D directly if space is adjacent; otherwise, move the partition to make the unallocated space adjacent.
  • C | EFI | D | Unallocated
    → Extend D directly if possible.
  • C | D | Unallocated | E
    → Extend D directly if possible.

The above processes leave your data and operating system untouched. No data loss or app reinstallation is required.

Important Tips Before You Start

  • Always back up your important data before modifying partitions (IM-Magic Partition Resizer offers 'Copy Disk' for full disk backup)
  • Avoid interrupting the process once it starts
  • Ensure your laptop is plugged in to prevent shutdown during resizing

Conclusion

If the unallocated space is on the right side of D, you can use Windows built-in tools. Otherwise, a third-party tool like IM-Magic Partition Resizer is required to move partitions and make the space usable.

Related Product