Hello Kaplan, Andrew H,
As I can see the issue: the 50 GB of unallocated space is indeed isolated from the C: drive by the 523 MB Recovery partition, which prevents a simple extension.
To resolve this, you will need to use a third-party partition management tool that can dynamically move partitions. While Windows Disk Management is excellent for basic tasks, it cannot move partitions to consolidate unallocated space. A reliable tool will allow you to slide the Recovery partition to the end of the disk, placing the unallocated space directly after the C: drive.
Once the unallocated space is adjacent to the C: drive, you can then use the native "Extend Volume" feature in Windows Disk Management to add the space. Before proceeding, I strongly recommend taking a verified backup or a snapshot of the virtual machine, as any partition manipulation carries a small but inherent risk.
This process is the standard method for addressing this specific partition layout. If these steps are helpful, please feel free to hit "Accept Answer" 😊.
Jason.