WinRE backup partition marker is a specific flag in the Windows Recovery Environment (WinRE) partition that tells Windows Setup and recovery tools which partition contains the recovery tools. You typically encounter it when you try to shrink, delete, or modify the recovery partition, or when you run reagentc /info and see an error. This article explains what the marker does, how to check it, and how to safely manage the WinRE partition.
What Is the WinRE Partition Marker?
Windows stores a small binary file called ReAgent.xml on the system drive (usually C:) that points to the location of the WinRE image (Winre.wim). The partition that holds Winre.wim is marked with a special attribute in the partition table—a GPT attribute bit (bit 0x1000000000000000) or an MBR type indicator (0x27) that identifies it as a recovery partition. This marker is what makes the partition visible to Windows Setup and the recovery environment, and it prevents the partition from being accidentally mounted or assigned a drive letter.
When you run reagentc /info, the tool reads the marker and the ReAgent.xml file to report the status and location of WinRE. If the marker is missing or the partition is corrupted, you’ll see errors like “Windows RE is not enabled” or “The configuration file is missing or invalid.”
Why the Marker Matters
The marker serves three critical functions:
- Boot-time discovery: The Windows Boot Manager uses the marker to find the WinRE partition during startup, allowing you to access recovery tools like Startup Repair, Command Prompt, and System Restore.
- Protection from accidental deletion: The marker hides the partition from File Explorer and prevents it from being formatted or overwritten by normal disk management tools.
- Update and servicing: Windows Update uses the marker to locate and update the Winre.wim file when new recovery features are introduced.
Without the marker, WinRE becomes non-functional, and you may lose the ability to boot into recovery options.
How to Check the Marker Status
You can check whether the WinRE partition is correctly marked using built-in tools. Open Command Prompt as Administrator and run:
reagentc /info
If WinRE is enabled, you’ll see output like:
Windows Recovery Environment (Windows RE) status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE
To verify the partition’s GPT attributes, use DiskPart:
- Type
diskpartand press Enter. - Type
list diskand note the disk number that contains the recovery partition. - Type
select disk X(replace X with the disk number). - Type
list partitionand find the partition labeled “Recovery” (it usually has a type of “Recovery” or “Windows RE”). - Type
select partition Y(replace Y with the partition number). - Type
detail partition.
Look for the line “Type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7” (GPT) or “Type: 27” (MBR). If the type is not correct, the marker is missing or incorrect.
Common Problems and Fixes
Several issues can arise with the WinRE partition marker:
- Marker lost after disk cleanup: If you deleted the recovery partition to free space, the marker is gone. You can recreate WinRE by running
reagentc /enableif the Winre.wim file still exists on the system drive. - Marker present but WinRE not booting: This may happen if the BCD store entry for WinRE is missing. Rebuild it with
bootrec /rebuildbcdorbcdedit /set {guid} recoverysequence. - Marker on wrong partition: If you have multiple recovery partitions (e.g., from a manufacturer), Windows may use the wrong one. Use
reagentc /setosimage /path C:\Recovery\WindowsREto point to the correct location. - Marker corrupted after a failed update: Run
sfc /scannowanddism /online /cleanup-image /restorehealthto repair system files.
If you need to remove the WinRE partition completely (for example, to shrink the drive), you must first disable WinRE with reagentc /disable, then delete the partition using Disk Management or DiskPart. After deleting, you can shrink the volume. To re-enable WinRE later, you’ll need to create a new recovery partition and use reagentc /setreimage /path C:\Recovery\WindowsRE.
How to Safely Delete or Move the WinRE Partition
If you need to free up space or move WinRE to another drive, follow these steps carefully:
- Open Command Prompt as Administrator.
- Run
reagentc /disableto turn off WinRE. This removes the boot entry and unmarks the partition. - Use Disk Management to delete the recovery partition (right-click it and choose “Delete Volume”).
- Shrink or extend other volumes as needed.
- To recreate WinRE, you must have a Winre.wim file. You can extract it from the Windows installation media or from a backup. Place it in a folder, e.g., C:\Recovery\WindowsRE.
- Run
reagentc /setreimage /path C:\Recovery\WindowsRE. - Run
reagentc /enableto re-enable WinRE.
If you skip step 2, you may end up with a broken boot configuration. Always back up important data before modifying partitions.
Alternatives to the Built-in WinRE
If you prefer not to use the Windows Recovery Environment, you have alternatives:
- System repair disc: Create a bootable disc or USB with recovery tools using
recdisc.exe(on older Windows versions) or the “Create a recovery drive” option in Control Panel. - Manufacturer recovery partition: Many PCs have a hidden recovery partition from the OEM that restores the system to factory state. This is separate from WinRE but serves a similar purpose.
- Third-party backup software: Tools like Macrium Reflect or Acronis True Image can create full system images and bootable recovery media, which can be more flexible than WinRE.
These alternatives can be useful if WinRE is corrupted or you want more control over recovery options.
Frequently Asked Questions
What does the WinRE partition marker look like?
On GPT disks, the marker is a GPT attribute bit (bit 0x1000000000000000) and the partition type GUID is ebd0a0a2-b9e5-4433-87c0-68b6b72699c7. On MBR disks, the partition type is 0x27. You can see these values in DiskPart’s detail partition output.
Can I delete the WinRE partition to free space?
Yes, but you must first disable WinRE with reagentc /disable. Then you can delete the partition. However, you will lose the ability to boot into recovery tools unless you create a recovery drive or reinstall WinRE later.
How do I re-enable WinRE after deleting the partition?
You need a Winre.wim file. You can copy it from another PC with the same Windows version, or extract it from the installation media (install.wim). Place it in a folder, then run reagentc /setreimage /path C:\Recovery\WindowsRE and reagentc /enable.
Why does my PC have two recovery partitions?
Manufacturers often create a hidden recovery partition for factory reset, and Windows creates its own WinRE partition. This is normal. You can identify them by size and label; the WinRE partition is usually around 500 MB to 1 GB.
What happens if I remove the marker without deleting the partition?
If you simply remove the GPT attribute (using DiskPart’s gpt attributes=0), the partition will become visible in File Explorer and can be accidentally modified. WinRE will also stop working because the boot manager won’t recognize it.
Is it safe to shrink the WinRE partition?
Shrinking the WinRE partition is not recommended because it may corrupt the Winre.wim file. If you need space, it’s safer to disable WinRE, delete the partition, shrink the main volume, and then recreate WinRE at the end of the disk.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Poco C51 Airtel Prepaid Locked Variant India?
- Jenkins vs GitHub Actions: Which CI/CD Fits Your Team?
- Turn Off Backup Encryption in iTunes?
- Campus Tech Innovation Hubs: What They Are
- Shared VPS Hosting: Is It Better?
- Disk Defrag Pro: What It Does and Whether You Need It