How to Move, Extend or Delete the Recovery Partition in Windows Server 2022

By default, the recovery partition is located at the end of the disk which can cause frustration. The default partition size of 500MB also causes Windows Update errors such as 0x80070643 when installing updates such as KB5034439.

WARNING: Exercise extreme caution when using the following commands. The commands in this article can delete all data on disks if used incorrectly. If you are in any doubt, please contact us for help. We cannot accept any responsibility for loss of data or server issues as a result of the following commands.
Step 1 – Disable the active Windows Recovery Environment

First run cmd or PowerShell as Administrator and run the following command

reagentc /disable
Step 2 – Remove the recovery partition

Run the following in the same command window as above

diskpart
list disk
select disk # where # is the disk number with the recovery partition
list partition
select partition # where # is the number of the recovery partition
delete partition override
Step 3 – Create a new partition

Now is an ideal time to extend the C: drive if required. After the recovery partition has been re-created it will not be possible.

  • Open Disk Manager
  • Create a new partition with a size larger than 500MB e.g. 750-1024MB
  • Choose Simple Volume
  • NTFS
  • No Drive Letter
Step 4 – Mark new partition as the recovery partition

Run the following in cmd or PowerShell as Administrator

diskpart
list partition
select partition # where # is the number of the new recovery partition

For GPT disks then run:

set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

For MBR disks then run:

set id=27
Step 5 – Re-enable the Windows Recovery Environment
reagentc /enable
Get In Touch

For any questions or IT requirements, please get in touch and we will be happy to help

Leave a Comment

Your email address will not be published. Required fields are marked *

Choose Plan

Choose Plan

Choose Plan

Professional Package

Basic Package

Standard Package

Choose Plan

Free 30 day no obligation trial

Choose Plan

Free 30 day no obligation trial

Choose Plan

Free 30 day no obligation trial

Choose Plan

Choose Plan

Choose Plan

Free Health Check

Enter your email address for a free  domain and email health check

Free Email Health Check
Scroll to Top