This is not unique to Windows 11.
It is related to the Microsoft disk management feature.
Extend volume is available when there is unallocated space immediately to the right of C:
When there is not free space extend volume appears grey in disk management.
The extend volume cannot be performed when grey in any Windows edition / version (11, 10, 8.1, 7, etc.)
""You can use Disk Management to add space to an existing volume, extending it into empty space on the drive, but only if the empty space doesn't have a volume on it (it's unallocated) and comes immediately after the volume you want to extend, with no other volumes in-between, as shown in the following image. The volume to extend also must be formatted with the NTFS or ReFS file systems.""
Since the recovery partition is right after C: and the allocated space if after it, the only option is to use a 3rd party Partition manager or Partition assistance to change the order of the partitions. Some of these apps, also provide a command line that can be invoked during Unattended XML.
--------------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--
Does anyone have a name of these 3rd party apps?
Can I put these batch files on the image for the unattended file to invoke? or do they have to be run from Windows PE?
oem-deployment-of-windows-desktop-editions-sample-scripts
Some third party software (there are free and pay versions depending upon the features) for moving partitions:
Minitool partition wizard
Diskgenius
https://www.lifewire.com/free-disk-partition-software-tools-2624950
.
.
.
.
.
Please remember to vote and to mark the replies as answers if they help.
On the bottom of each post there is:
Propose as answer = answered the question
On the left side of each post there is /\ with a number: click = a helpful post
.
.
.
.
.