Builtin Microsoft Tool To Easily Extend A Partition Size

If you have a hard drive with some unallocated space on the end of (i.e. not currently assigned to a partition) and want to use that space to add to an existing partition, a simple and effective tool you can use is Diskpart. This tool is included with Windows XP and later.

The documentation is pretty easy to follow, but for example suppose you want to extend the size of your E drive with some empty space on the end:

  1. Make sure you have your data backed up (just in case)
  2. Open a command prompt as the Administrator
  3. Type ‘diskpart’
  4. Type ‘list disk’ to get the disk number of the drive
  5. Type ‘select disk=[disk#]‘
  6. Type ‘list partition’ to get the partition number of the partition to extend
  7. Type ‘select partition=[partition#]‘
  8. Type ‘extend’
  9. Once the command completes, your E drive is now resized to include the additional empty space

Note: You cannot use this to resize the active system drive (usually C), so if you do need to resize your C drive, you would need to remove the hard drive from the computer and plug it into another computer where it is not the C drive. Once you do this you can then resize it.

This also works in virtual machines, so you can use this in combination with the VHD Resizer tool to completely manage your VHD files.

While there are certainly more user friendly and feature-rich products available, this tool does the job quickly and easily.

Free eBook!

Like what you read?

If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:

Post A Comment Using Facebook

  • larry

    Nice…but only works with NTSF partitions

  • http://www.opensourceresource.com.au Gareth Evans

    @larry it’s supposed to only work with NTFS partitions…

What’s Your Preference?

Daily Alerts

Each day we send out a quick email to thousands of PCMECH readers to notify them of new posts. This email is just a short, plain email with titles and links to our latest posts. You can unsubscribe from this service at any time.

You can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Newsletter

Running for over 6 years, the PCMECH weekly newsletter helps you keep tabs on the world of tech. Each issue includes news bits, an article, an exclusive rant as well as a download of the week. This newsletter is subscribed to by over 28,000 readers (many who also subscribe to the other option) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter: