To extend a basic volume


Open Command Prompt





At the DISKPART prompt, type:

list volume

Make note of the number of the basic volume you want to extend.


At the DISKPART prompt, type:

select volume n

Selects the basic volume, n, you want to extend into contiguous, empty space on the same disk.


At the DISKPART prompt, type:

extend [size=n]

Extends the selected volume by size=n megabytes (MB).


list volume

Displays a list of basic and dynamic volumes on all disks.

select volume

Selects the specified volume, where n is the volume number, and shifts the focus to it. If no volume is specified, the select command lists the current volume with focus. You can specify the volume by number, drive letter, or mount point path. On a basic disk, selecting a volume also gives the corresponding partition focus.


Extends the volume with focus into next contiguous unallocated space. For basic volumes, the unallocated space must be on the same disk as, and must follow (be of higher sector offset than) the partition with focus. A dynamic simple or spanned volume can be extended to any empty space on any dynamic disk Using this command, you can extend an existing volume into newly created space.

If the partition was previously formatted with the NTFS file system, the file system is automatically extended to occupy the larger partition. No data loss occurs. If the partition was previously formatted with any file system format other than NTFS, the command fails with no change to the partition.

You cannot extend the current system or boot partitions.


The amount of space, in megabytes (MB), to add to the current partition. If you do not specify a size, the disk is extended to take up all of the next contiguous unallocated space.


To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt

You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure. 

To extend a basic volume, it must be formatted with the NTFS file system 

You can only extend a basic volume onto the same disk.

You can only extend a basic volume if it is followed by contiguous unallocated space.

For more information about DiskPart, see Related Topics.

Related Topics


Manage basic volumes

Storage types and partition styles

Basic disks and volumes

© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies