How To Create a Recovery Partition for WinRE in Windows

Setting up a dedicated recovery partition ensures that Windows Recovery Environment (WinRE) remains accessible for troubleshooting and repair. This guide outlines the process step by step.

Step 1: Check Existing Partitions

  • Right-click the Start menu and select Disk Management to verify if a recovery partition already exists.
  • If none exists, create unallocated space by shrinking an existing partition or deleting an unused one.
  • If resizing is needed, disable WinRE first, then delete the partition to free space. Shrink another partition if necessary.
  • In this example, allocate 1024 MB (1 GB) for the recovery partition.

Step 2: Disable WinRE

reagentc /disable

Step 3: Delete the Existing Recovery Partition (if needed)

diskpart
list disk
select disk 0
list partition
select partition 4
delete partition override
exit

Replace 0 and 4 with the correct disk and partition numbers. Use Disk Management to shrink another partition if more unallocated space is required.

Step 4: Create a New Partition

diskpart
list disk
select disk 0
create partition primary size=1024
format fs=ntfs quick
exit

Step 5: Assign the Correct Partition ID

diskpart
select disk 0
select partition X

For GPT disks:

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

For MBR disks:

set id=27
exit

Step 6: Locate the WinRE.wim File

Navigate to C:\Windows\System32\Recovery. If WinRE is enabled, the WinRE.wim file may not be visible. If missing, refer to the guide on fixing a missing WinRE.wim file.

Step 7: Enable WinRE

reagentc /enable

Step 8: Verify Configuration

reagentc /info

By creating a dedicated recovery partition, you ensure that Windows Recovery Environment is properly configured and ready for use.

This process strengthens your system’s resilience, giving you reliable access to recovery tools whenever needed.

Post a Comment

Previous Post Next Post

Contact Form