you don't need to even reboot for this.
after you disable the recovery partition, you can
launch diskpart
and do the steps from there:
you'll be able to
- delete the recovery parttion
- extend your C: partition to a desired size
- recreate the recovery partition with the correct type
- format the recovery partition
1. identify and delete recovery partition
so, first you need to disable it, that's the already known command:
reagentc /disable
with that done, launch diskpart
where you pick your OS drive by ID and the recovery partition by ID.
And then you delete it. This is possible using the override
keyword asking Windows to not consider that protected partition a protected protected partition for that short moment where you delete it.
list disk #< identify OS drive here, example below is 'disk 0'
sel disk 0
list part #< identify recovery partitition here, example below is 'part 3'
sel part 3
delete part override
2. resize your C: partition
where you select your OS partition by ID and increase its size - while
leaving space for the recovery partition's recreation. The partition resize automatically triggers the filesystem resize.
list part #< OS partition, C:\ Drive letter is part 2 in example below
sel part 2
extend size=112000
3. create recovery partition
where you re-create the recovery partition for later use.
if you (reader, not OP) has a UEFI system this command will DIFFER. See Microsoft KB5028997 for details about that.
Basic Disks
create partition primary size=1000 id=27
GPT Disks
On GPT disks, you'll get an error about incorrect syntax for this. There use:
create partition primary size=1000 id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
If this worked, the new partition is auto-selected and can be formatted. If it didn't work, then please stop here and debug.
format quick fs=ntfs label=”Windows RE tools”
exit
Note:
- You can then use the partition ID from @AdamKalisz's comment below!
- The newly created partition is automatically selected by diskpart.
- You want a size of 1GB for the partition to avoid errors from windows Upgrade (that's the
0x80070643
error code). It can hit the error condition when updating the recovery code (done via windows update).
4. enable recovery partition
now you can re-enable the new recovery partition
reagentc /enable
That's it. I had to do this a few days ago, and there's really no need to have a downtime for this. You might still need to reboot for the update, but at least it'll be at a time of your chosing.
If the update error doesn't go away, you might want to investigate windows update client issues.