Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Partition or Volume - Extend

Partition or Volume - Extend

How to Extend a Partition or Volume in Windows 7
Published by Brink
22 Jan 2009
Published by

How to Extend a Partition or Volume in Windows 7

information   Information
This will show you how to extend a hard disk partition or volume into a empty unallocated space on the same hard disk to make it larger using Disk Management or Diskpart in Windows 7.
warning   Warning
You must be logged on in an administrator account to do this tutorial.

If you disable the Disk Defragmenter service, then you will get the error below when you try to do anything in Disk Management. If you get this error, then make sure that the Disk Defragmenter service is set to only Manual.

Name:  Error.jpg
Views: 65616
Size:  29.2 KB





OPTION ONE
Using Disk Management
1. If you have not already, you will first need to delete the partition or volume that you want to extend into to make it unallocated space.

2. Open the Control Panel (icons view), and click on the Administrative Tools icon. then close the Control Panel window.

3. Click on Computer Management in Administrative Tools, then close the Administrative Tools window.

4. In the left pane under Storage, click on Disk Management. (See screenshot below)
Partition or Volume - Extend-extend_step1.jpg
5. In the middle pane, right click on the partition or volume directly adjacent (left) of the unallocated space that you want to extend into, and click on Extend Volume. (See screenshot above)
NOTE: If the partition that you want to extend is to the right of the unallocated space, then you will need to use METHOD TWO below to extend it instead.

6. Click on the Next button. (See screenshot below)
Name:  Extend_Step2.jpg
Views: 71457
Size:  85.3 KB
7. Type in how many MB (1 GB = 1024 MB) you want to use from the unallocated space to extend the selected partition (step 5) into, then click on the Next button. (See screenshot below)
NOTE: If you want to use all of the unallocated space to extend into, then type in the maximum available space shown for the unallocated space.
Name:  Extend_Step3.jpg
Views: 71134
Size:  111.3 KB
8. Click on the Finish button. (See screenshot below)
Name:  Extend_Step4.jpg
Views: 68116
Size:  84.7 KB
9. The partition or volume has now been extended into the assigned unallocted space (step 7). (See screenshot below)
Partition or Volume - Extend-extend_step5.jpg
10. Close the Computer Management window. (See screenshot above)



OPTION TWO
Using Diskpart in a Elevated Command Prompt
1. If you have not already, you will first need to delete the partition or volume that you want to extend into to make it unallocated space.

2. Open a elevated command prompt, or a command prompt at boot.

3. In the elevated command prompt, type diskpart and press Enter. (See screenshot below)
Name:  CMD_Extend_Step1.jpg
Views: 76106
Size:  65.7 KB
4. In the elevated command prompt, type list disk and press Enter. (See screenshot below)
NOTE: This is to help you ID the disk that has Free space that you want to extend into, and to see the disk size to make it easier to ID it's volume number in step 5. For example, Disk 1.
Name:  CMD_Extend_Step2.jpg
Views: 80320
Size:  89.2 KB
5. In the elevated command prompt, type list volume and press Enter. (See screenshot below)
NOTE: Look for the volume number that has the same Size as from the size in step 4 minus the Free space. For example, Volume 2.
Name:  CMD_Extend_Step3.jpg
Views: 80987
Size:  127.2 KB
6. In the elevated command prompt, type select volume # and press Enter. (See screenshot below)
NOTE: You would substitute # for the volume number listed that you want to extend. For example, I want to extend the listed volume 2 since, so I would type select volume 2 and press Enter.
Name:  CMD_Extend_Step4.jpg
Views: 76955
Size:  135.4 KB
7. To Extend into All of the Unallocated Space
A) In the elevated command prompt, type extend and press Enter. (See screenshot below)
NOTE: The unallocated space will be removed and added completely to the selected partiton or volume (step 6).
Name:  CMD_Extend_Step5.jpg
Views: 79726
Size:  147.1 KB
B) Go to step 9.
8. To Extend into the Unallocated Space by a Specified Size
A) In the elevated command prompt, type extend size=(# in MB) and press Enter.
NOTE: You would substitute (# in MB) for how many MB (1 GB = 1024 MB) you want to use of the unallocated space (free space shown in step 4) to be extended into. For example, if I only wanted to extend into 5 GB of the unallocated space, then I would type extend size=5120 and press Enter.
9. In the elevated command prompt, type exit and press Enter. (See screenshot below)
Name:  CMD_Extend_Step6.jpg
Views: 73164
Size:  153.5 KB
10. Close the elevated command prompt.

11. The selected partition or volume (step 6) has now been extended into the unallocated space to make it larger.
NOTE: If you did step 8 instead of 7, then you can use the rest of the unallocated space to create a new partition with if you like.
That's it,
Shawn




Related Tutorials

17 Sep 2009   #1
ccchan

dual boot vista x64 and 7 x64
 
 

Apparently there are instructions here for everything I could possibly want to do in windows!

I was trying to extend a partition but it was to the right of the unallocated space that I wanted it to absorb. I was trying to do method two to get my right most partition to extend into the unallocated space to it's immediate left.

Everything seemed well until the elevated command prompt wouldn't extend it. If I simply told it to "extend" it would tell me "Virtual Disk Service error: The size of the extent is less than the minimum." Thinking that for some reason it might have took my general "extend" command and assumed "extend size=0" I tried specifying how much to extend. That didn't work either.

My unallocated amount is ~20gb but no matter what I put for the size to extend it returned "Virtual Disk Service error: There is not enough usable space for this operation." Rather than a 6-digit number I even tried amounts as low as "5" just to see and it still gave me the same result.

I then tried to extend the volume that was naturally to the left of the unallocated space by "5" and that worked correctly. Does this mean that I wont be able to extend my rightmost partition left?

In case it matters, I am running Windows 7 evaluation copy build 7100. Is this my problem?


My System SpecsSystem Spec
17 Sep 2009   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Chan, and welcome to Seven Forums.

Could you post a screenshot of your Disk Management for us to get a better understanding of your drive configuration? This will help us make sure we give you the correct advice.

To extend a left partition into a right unallocated partition, you must extend the left partition into all of the right one in Windows Disk Management. Only a 3rd party disk management program will allow you to extend into part of another partition instead.

Hope this helps for now,
Shawn
My System SpecsSystem Spec
20 Sep 2009   #3
ccchan

dual boot vista x64 and 7 x64
 
 
attached image

Here is a link to an image of my disk:



I hope that makes enough sense. Thanks for the help!
My System SpecsSystem Spec
.


20 Sep 2009   #4
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Chan,

The only way to do this in Windows 7 Disk Management would be to delete the C: drive to have them merge together as unallocated space, then create a new partition out of that unallocated space.

Since that is your C: drive with Windows 7, it's not practical though. You would be better off using a 3rd party pay for or trial disk management type program to be able to extend the unallicated space into the C: drive without having to delete the C: drive.
My System SpecsSystem Spec
20 Sep 2009   #5
Dave76

Microsoft Community Contributor Award Recipient

Windows 7 Ult x64 - SP1/ Windows 8 Pro x64
 
 

Quote   Quote: Originally Posted by ccchan View Post
Here is a link to an image of my disk: ...

I hope that makes enough sense. Thanks for the help!
Quote   Quote: Originally Posted by Brink View Post
Chan,

The only way to do this in Windows 7 Disk Management would be to delete the C: drive to have them merge together as unallocated space, then create a new partition out of that unallocated space.

Since that is your C: drive with Windows 7, it's not practical though. You would be better off using a 3rd party pay for or trial disk management type program to be able to extend the unallicated space into the C: drive without having to delete the C: drive.
A good free 64bit supported Partition manager is:
Partition Wizard Home Edition
I've used it a couple of times with no problems.
My System SpecsSystem Spec
21 Sep 2009   #6
ccchan

dual boot vista x64 and 7 x64
 
 

Thanks for all the help! I'll have to give that Partition Wizard a try. If that doesn't work, I do have a dual boot with Vista on my main partition so I could use that to delete "C:"... I suppose it wouldn't be too cumbersome to reload 7.

Aside for some poor planning with partition size on my part, I am really liking Windows 7.
My System SpecsSystem Spec
21 Sep 2009   #7
Dave76

Microsoft Community Contributor Award Recipient

Windows 7 Ult x64 - SP1/ Windows 8 Pro x64
 
 

Quote   Quote: Originally Posted by ccchan View Post
Thanks for all the help! I'll have to give that Partition Wizard a try. If that doesn't work, I do have a dual boot with Vista on my main partition so I could use that to delete "C:"... I suppose it wouldn't be too cumbersome to reload 7.

Aside for some poor planning with partition size on my part, I am really liking Windows 7.
Windows 7 is good isn't it.

Good luck with Partition Wizard, it works really well.

Reply here, or search 'Partition' or 'Partition Manager' and you'll find many threads with a lot of helpful information.

Let us know how it goes.
My System SpecsSystem Spec
21 Sep 2009   #8
ccchan

dual boot vista x64 and 7 x64
 
 

Wow, you are quick with the reply Dave!

It only took 10 minutes but Partition Wizard worked like a charm! My partitions are now the size that I want them to be!

I really liked Vista but as soon as I got a copy of Windows 7 I was eager to try it out! For as much as I liked Vista, 7 is amazing! Furthermore, even for the occasional software incompatibility 64-bit is way worth it.
My System SpecsSystem Spec
21 Sep 2009   #9
Dave76

Microsoft Community Contributor Award Recipient

Windows 7 Ult x64 - SP1/ Windows 8 Pro x64
 
 

Quote   Quote: Originally Posted by ccchan View Post
Wow, you are quick with the reply Dave!

It only took 10 minutes but Partition Wizard worked like a charm! My partitions are now the size that I want them to be!

I really liked Vista but as soon as I got a copy of Windows 7 I was eager to try it out! For as much as I liked Vista, 7 is amazing! Furthermore, even for the occasional software incompatibility 64-bit is way worth it.
Welcome to Seven Forums, hope you find the info you need here. A lot of good stuff available.

Glad that you got the partitions where you want them.

I've used Windows disk Management, Paragon, Easeus and Partition Wizard. They're all pretty good, had some partitions that Paragon wouldn't move. Partition Wizard has been excellent so far and is 64bit compatible.

Started using Vista after SP1 and I really liked it. Then I got Windows 7 and can't imagine using anything else.
I'm completely sold on 64bit, more 64bit programs coming out every day.
My System SpecsSystem Spec
Comment

 Partition or Volume - Extend




Tutorial Tools



Similar help and support threads for2: Partition or Volume - Extend
Windows 7 Tutorial Category
Can't extend partition volume General Discussion
Can't Extend Volume Partition on HDD Hardware & Devices
How to Extend the volume of a HDD Partition Hardware & Devices
cant extend volume Hardware & Devices
how to extend my C drive volume General Discussion
Unable to extend volume General Discussion
Extend Boot Volume General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 04:00 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33