Some links on repairing the Windows Recovery partition after cloning a Windows 10 disk
Posted by jpluimers on 2022/03/01
Somehow after cloning a Windows 10 disk to SSD, the regular partition worked fine, but the recovery partition (sometimes called WinRE: short for Windows Recovery Environment or Windows RE) didn’t.
In short, I only had to perform two actions to get this fixed, both from the Administrator elevated command prompt:
- Set the partition ID of the Recovery partition from
7
to27
(this is for an MBR disk; for GPT disks, these values are different, see the first link below). I did this usingdiskpart
. - Re-enabling the Recovery partition by executing
reagentc /info
to check if it was disabled, thenreagentc /enable
(if it wasn’t disabled first, I had to precede it withreagentc /enable
).
Before this, bcdedit /enum would only return the
Windows Boot Loader
entry for the C: drive, but had norecoverysequence
and now it had.
Since there are cases where much more action is needed, here are some links for just when I run into more complicated situations:
- [Wayback] partitioning – Setting WinRE (Windows Recovery Environment) Flag On Partitions – Super User (thanks [Wayback] User NetwOrchestration!), which references these:
MBR Disks (BIOS installation):
- [Wayback] Configure BIOS/MBR-Based Hard Drive Partitions
- [Wayback] Sample: Configure BIOS/MBR-Based Hard Disk Partitions by Using Windows PE and DiskPart
- [Wayback] MBR Partition Type ID
GPT Disks (UEFI installation):
- [Wayback] Boot Configuration Data Editor Frequently Asked Questions | Microsoft Docs
- [Wayback] Windows Recovery Environment (Windows RE) | Microsoft Docs
- [Wayback] REAgentC command-line options | Microsoft Docs
- [Wayback] windows – Add recovery partition to advance boot menu options – Super User
- [Wayback] TeraByte Unlimited Knowledge Base: Repairing the Windows Recovery Environment (WinRE)
- [Wayback] How to: Create a Recovery Drive for reinstalling Windows 10 – Microsoft Community
- [Wayback] How to Use and Repair Windows Recovery Environment (WinRE) on Windows 10? | Windows OS Hub
- [Wayback] Customizing the recovery partition after upgrading the OS from Windows 8.1 to Windows 10 | Microsoft Docs
- [Wayback] How to Create a Custom, Updated Windows 10 Recovery Partition
- [Wayback] Repair Install Windows 10 with an In-place Upgrade | Tutorials
–jeroen
Leave a Reply