The Native Route (Diskpart)
This method involves temporarily disabling the Windows Recovery Environment (which moves its necessary files to the C: drive), deleting the blocking partition, expanding C:, and then re-enabling recovery.
Step 1: Disable the Recovery Environment Disabling it ensures you don’t lose the recovery image; Windows simply moves the winre.wim file to your C: drive.
- Right-click the Start button and open Command Prompt (Admin) or PowerShell (Admin).
- Type the following command and press Enter to check the status:
reagentc /info - Type the following command and press Enter to disable it:
reagentc /disable
Step 2: Delete the Recovery Partition using Diskpart Because it’s a protected system partition, Disk Management won’t let you right-click and delete it. You have to use diskpart.
- In the same Administrator command window, type:
diskpart - List your physical disks:
list disk - Select the disk that holds your operating system (usually Disk 0):
select disk 0(Change0to your actual disk number if different). - List the partitions on that disk:
list partition - Look at the list and identify the Recovery partition by its size (usually around 500MB – 1GB) and type. Select it by its number:
select partition X(ReplaceXwith the Recovery partition number. Be extremely careful to select the correct one.) - Delete the partition using the override command (this forces Windows to delete a protected partition):
delete partition override - Type
exitto leave diskpart.
Step 3: Extend the C: Drive Now that the roadblock is gone, the unallocated space is directly next to your C: drive.
- Open Disk Management (
diskmgmt.msc). - Right-click your C: partition.
- Click Extend Volume…
- Click through the wizard (it will automatically select all the available 50GB of unallocated space) and hit Finish.
Step 4: Re-enable the Recovery Environment
- Go back to your Command Prompt (Admin).
- Type the following command and press Enter:
reagentc /enable(Note: Windows will now store the recovery environment inside a folder on the C: drive, which works perfectly fine, or it may automatically carve out a new small partition at the very end of the drive if it prefers).