This article explains how to delete a recovery partition in Windows 11, 10, 8, and 7. It also explains how to format and extend a partition to utilize the unallocated space.
Because recovery partitions are protected, the steps for deleting them differ from those for deleting a normal partition.
Right-click the Start menu and select Terminal (Admin) Windows 11, Windows PowerShell (Admin), or Command Prompt (Admin).
Type diskpart and press Enter, then type list disk and press Enter.