How do you extend C: partition of Windows Server 2022?
Windows Server 2022 creates one recovery partition just on the right of the C: partition. So, when it is required to expand the C: partition it is impossible due to this recovery partition. I realised of this problem because our IT department provides Windows Server virtual machines users are unable to expand.
I would like to know how are you dealing with this problem. Do you remove the recovery partition? Do you keep the recovery partition? how?
As others have said, we remove the recovery partition when it gets in the way.
We came across a very similar but more sticky issue the other day. One of our admins rightfully converted all our VMs from BIOS to UEFI. This, however, created an EFI partition sitting to the right of the OS partition for the majority of our servers. We're now in a position where we can't increase disk size on any of those servers without going through the process of rebooting the box with gparted and manually moving the partition to the left. We're a 24 hour operation with hundreds of servers. This is bad :/
why do you still use BIOS instead of EFI? For any particular reason? VMware recommends EFI for Windows Server 2022. Our Window Server 2022 template is EFI.
You could also push the EFI partition at the very end of the disk whenever you resize the volume. A bit more annoying but can be done live at least. Or at the very least, moving a 500MB partition is a lot faster than moving GBs of C drive, so less time spent on GParted.