(Today, 12:30 AM)xeroid Wrote: So, if I'm reading this correctly, partition 5 is the one that isn't being used (see attached). What's the easiest way to delete that partition?
If you're absolutely sure you don't need the last partition (which is probably a left over or a OEM partition) and you want a clean way to remove that partition without any space left after your Windows RE partition, you can do the following steps. I verified those steps in a VM to make sure it works.
Be very careful though, it's important to do these steps exactly:
- First you want to open an administrator cmd shell (cmd.exe run as admin)
- Disable RE temporarily:
reagentc /disable
- Start diskpart utility:
diskpart
- Select your disk 1 (according to your screenshots, verify with list disk first):
sel disk 1
- Delete the old RE partition (according to your screenshots, verify with list part first):
sel part 5 - then - del part 5 override
- Delete the current RE partition (according to your screenshots, verify with list part first):
sel part 4 - then - del part 4 override
- Locate your "Windows" partition, this should be 2 or 3 (according to your screenshots):
list part
- Select your correct "Windows" partition (important!):
sel part 2 - or - sel part 3
- Extend partition to the complete disk:
extend
- Shrink partition to leave 800 MB on the right:
shrink desired=800
- Create a new GPT recovery partition (according to your screenshots you use GPT, not MBR, verify first!):
create part primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
- Set GPT attributes to hide the new partition (make sure it's selected with list part first, it should be):
gpt attributes=0x8000000000000001
- Format your new partition with NTFS:
format fs=ntfs quick
- Exit diskpart:
exit
- Re-enable RE:
reagentc /enable
![[Image: mqeJQXL.png]](https://i.imgur.com/mqeJQXL.png)
And reagentc /info should report the new partition as RE target:
![[Image: b4PZqPG.png]](https://i.imgur.com/b4PZqPG.png)