Solution:
delete the recovery partition in Server 2022.
cmd
diskpart
list disk
Since the recovery partition is on Disk 0, so we type "select disk 0" and hit "Enter" to choose it.
list partition
show all partitions on the selected disk, and type
"select partition x" (x is the number of the recovery partition you wish to delete) to choose the recovery partition.
Then type "delete partition override".
Then you can close Diskpart, and open Disk Management. The recovery partition has become an unallocated space adjacent to the C drive, so you can extend your C drive with this space now.
You can do the same thing with the second recovery partition as well. |