Windows VM Extending VM Partition Greyed Out

Falcon IT Services 226 Reputation points
2024-02-22T02:40:47.03+00:00

I allocated additional space on a Hyper-V host and when I log in to the VM and check the disk manager, I can see the unallocated space but I cannot extend my primary partition to it. I have read that the unallocated space has to be to the right of the partition being extended and that there cannot be other partitions in-between, but none of these apply to me. Anybody have any other ideas as to why the disk cannot be extended?

As a note: I have Hyper-V replica enabled which broke, it would not resume. I have since remove the replication but I cannot get the extend partition to work. I have done this many time and usually works like a charm, not sure what happened here.

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
Windows for business Windows Server User experience Other
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-02-23T06:29:03.9933333+00:00

    Hi Falcon IT Services,

    Please see if the volume can be extended with diskpart. Run diskpart in an elevated cmd window and use the extend [size=<n>] command to extend the partition.

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/extend

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Falcon IT Services 226 Reputation points
    2024-02-25T23:53:21.8233333+00:00

    Thank you again Ian, trying to extend it using diskpart returned the error that the disk is MBR and won't expand past 2TB. I hadn't thought about that, so the error save me a lot of head-scratching. Appreciate the help. Cheers.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.