Builtin Microsoft Tool To Easily Extend A Partition Size

Posted Nov 13, 2009 | by Jason Faulkner | 2 Comments  

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.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to StumbleUpon

Posted In: Daily Tips, Hard Drives, Operating Systems

If you like this, you might also like...

  • 5 FREE Solutions Guides
  • Weekly Newsletter (6 Years Running)
  • Special Deals & Announcements
  • Subscribe FREE

2 Responses to “Builtin Microsoft Tool To Easily Extend A Partition Size”

  1. larry

    18. Nov, 2009

    Nice…but only works with NTSF partitions

    Reply to this comment
  2. Gareth Evans

    18. Nov, 2009

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

    Reply to this comment

Leave a Reply

Let PCMech Be Your Hookup To What's HOT In Computers And Technology

  • Plain-English Guides and Resources
  • Our Top Picks for Free Software
  • A Special Gift From PCMech
  • Weekly Newsletter (6 Years Running!)

PCMech Poll

Would you get a Mac if expense was not an issue?

View Results

Loading ... Loading ...