Ran diskpart, disk has extended but the volume is the same size

Posted on 2009-04-20
Last Modified: 2012-08-14

I have a virtual machine running Windows Server 2003 R2 Std 32bit which has one 15GB hard disk.

I extended the disk size by 15GB and restarted the virtual machine.

I checked disk management in Windows and there was a 15GB C: volume and 15GB unused space.

I ran diskpart.exe as follows:

list volume
select volume 0

The command prompt Window hung on extend, I left it for over a day and it did not change.

I checked disk management and DISK 0 is showing the size as being 30GB but the C: volume is still only 15GB.

I have found various articles on the internet advising to run "extend filesystem" as advised here: but this does not work (see code).

I have tried to run gparted live (advised here: but that does not work either as it see's the partition as 30GB so there is nothing to extend.

This MS article describes the problem I am having but is only for 2K and XP :;en-us;329826

Any ideas how I can resolve this?

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info

  ----------  ---  -----------  -----  ----------  -------  ---------  --------

* Volume 0     C   SYSTEM       NTFS   Simple        30 GB  Healthy    System

  Volume 1     Z                       CD-ROM          0 B  Healthy

DISKPART> select volume 0

Volume 0 is the selected volume.

DISKPART> extend filesystem

The volume you have selected may not be extended.

Please select another volume and try again.


Open in new window

Question by:hertel-dev
    LVL 82

    Expert Comment

    You can't expand the system partition with diskpart.
    You can try (make a backup of the virtual disk first!) to attach the disk temporarily to another virtual machine, expand the disk on this machine, then link it back to the original machine.

    Accepted Solution

    The problem is that diskpart has already extended the disk??

    In disk management it shows "Disk 0  - (C:) 30.00GB NTFS" on the bar/diagram at the bottom but at the top it has volume C:, NTFS 15GB.  In My Computer the C: drive also appears as 15GB.

    I have cloned the VM to figure out how to resolve the problem.  I have thought about using Acronis to take an image of the server and then re-apply it to a new VM with a larger disk but surely there must be an easier way?

    LVL 82

    Expert Comment

    Disk management will show you the full size as soon as the volume is expanded; but that doesn't change the size available to Windows.
    Again: diskpart will NOT extend the system partition, which is what you've been trying to do. You can only extend this partition if you mount it into another machine as additional disk.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
    Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now