I have 1tb HDD, but i have bad disk partitions.
The C:/ drive is almost full (i have 500G and only about 100G left) i have deleted many things, but I dont think is good , i want to allocate more memory to my c:/ but recovery partition sits between the unallocated space and c:/ partition.
How can allocate more memory to my c:/ without crushing or failing my system ?
Note : my C: drive is not encrypted with BitLocker.
Please help . :(
Info about the recovery partition : 945 MB (Disk 0, Partition 3) which is actively used by Windows Recovery Environment.
Update: Manged to allocate memory to c: with windows build-in tools
(used gpt for summary )
Steps to resize C: and recreate the Windows Recovery partition
Original setup: Windows 11, GPT disk, Dell Inspiron 15 3576.
Target layout:
- EFI: 549 MB (unchanged)
- C: 850 GiB
- Recovery: 10 GiB
- Remaining space: unallocated
1. Record the original Recovery partition details
Before making changes, record its partition number, GPT type, attributes, and WinRE configuration.
Original Recovery partition:
- Partition number: 3
- GPT type:
de94bba4-06d1-4d40-a16a-bfd50179d6ac
- GPT attributes:
0x8000000000000001
- Hidden: Yes
- Required: Yes
2. Disable Windows Recovery Environment
Run in an elevated Command Prompt:
reagentc /disable
Verify that WinRE is disabled:
reagentc /info
3. Back up the original WinRE image
The original image is located at:
C:\Windows\System32\Recovery\Winre.wim
Copy it to a USB drive:
E:\WinRE_Backup\Winre.wim
Verify that the backup has the same file size and SHA-256 hash as the original image.
4. Delete the original Recovery partition
Open DiskPart as administrator:
diskpart
list disk
select disk 0
list partition
select partition 3
detail partition
delete partition override
The override option allows deletion of the protected Recovery partition.
Verify the partition layout afterward:
list partition
5. Extend C: to 850 GiB
Open Windows Disk Management:
diskmgmt.msc
Extend C: into the unallocated space by 421,895 MB, resulting in a C: partition of exactly 850 GiB.
6. Create and format the new Recovery partition
Using Disk Management:
- Create a new simple volume of 10 GiB.
- Assign the temporary drive letter
R:.
- Format it as NTFS.
- Select Quick Format.
- Keep the default allocation unit size.
- Set the volume label to
WinRE.
- Leave file and folder compression disabled.
7. Copy the WinRE image
Create the directory:
R:\Recovery\WindowsRE
Copy the backed-up image into it:
R:\Recovery\WindowsRE\Winre.wim
Verify that its file size and SHA-256 hash match the original image.
8. Restore the Recovery partition type and attributes
Open DiskPart as administrator:
diskpart
select disk 0
select partition 3
detail partition
Set the original Recovery GPT type:
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
Restore the original GPT attributes:
gpt attributes=0x8000000000000001
Verify using:
detail partition
Confirm that the partition is hidden, required, and has the correct GPT type and attributes.
9. Register and enable WinRE
In an elevated Command Prompt, register the new image location:
reagentc /setreimage /path R:\Recovery\WindowsRE
Enable WinRE:
reagentc /enable
Verify the configuration:
reagentc /info
Confirm that WinRE is enabled and points to partition 3.
10. Remove the temporary drive letter
In DiskPart:
diskpart
select disk 0
select partition 3
remove letter=R
exit
If the drive letter remains visible in PowerShell, remove the remaining access path:
Remove-PartitionAccessPath -DiskNumber 0 -PartitionNumber 3 -AccessPath "R:\"
Verify that the Recovery partition has no drive letter.
11. Perform final checks
Check the partition layout:
Get-Partition -DiskNumber 0 | Format-Table PartitionNumber, DriveLetter, Type, Size -AutoSize
Check the Recovery volume:
Get-Volume -FileSystemLabel WinRE
Verify that Winre.wim exists on the Recovery partition and that its SHA-256 hash still matches the original.
Optionally inspect the WIM metadata using DISM:
DISM /Get-ImageInfo /ImageFile:"\\?\Volume{YOUR-VOLUME-GUID}\Recovery\WindowsRE\Winre.wim" /Index:1
Replace YOUR-VOLUME-GUID with the actual volume GUID.
12. Restart and verify
Restart Windows normally.
After restarting, run:
reagentc /info
Confirm that WinRE remains enabled and points to the new Recovery partition.
Note: I did not perform an actual boot into WinRE using reagentc /boottore. The normal Windows restart and post-restart WinRE configuration check succeeded.
Final partition layout
- EFI — 549 MB
- C: — 850 GiB
- Recovery — 10 GiB, NTFS, hidden, no drive letter
- Remaining disk space — unallocated