Re-register Windows Recovery Environment from the working Windows installation first; this repairs WinRE’s configuration and boot entry without reinstalling Windows or deleting personal files.
1. Re-register and test WinRE
Back up important files and locate the BitLocker recovery key first if Device Encryption or BitLocker is enabled, because some recovery tools may request it.^1^
- Open Start, type cmd, right-click Command Prompt, and select Run as administrator.
- Run:
reagentc /info
reagentc /disable
reagentc /enable
reagentc /info
The final output should show:
- Windows RE status: Enabled
- A populated Windows RE location
REAgentC is Windows’ supported tool for configuring WinRE. When no custom image is specified, /enable attempts to use the default Winre.wim under C:\Windows\System32\Recovery.^2^
- Schedule a direct WinRE boot and restart:
reagentc /boottore
shutdown /r /t 0
/boottore requests that WinRE start on the next reboot.^2^
If this opens Choose an option, WinRE registration has been repaired. Since Startup Repair was already attempted and is inaccessible, there is no need to repeat it merely as a test.
Re-registering WinRE repairs its configuration; it does not replace a missing or damaged winre.wim. If /enable reports that the recovery image was not found—or either command returns another error—record the complete command output before changing partitions or rebuilding the BCD.
2. Distinguish the USB behavior
You already tried Repair my PC from installation media. What happened immediately before it returned to Windows determines the next action:
- If the Windows Setup language/keyboard screen never appeared: the computer probably did not start from the USB. Restart into the manufacturer’s one-time UEFI boot menu, explicitly select the USB’s UEFI entry, then choose Next → Repair my PC. Microsoft notes that failure to reach Setup means the boot order may need changing.^1^
- If Setup appeared and Repair my PC still returned to installed Windows: do not keep repeating that route. Re-create the installation media on another USB if possible and test it again. If the second medium behaves identically, proceed to the in-place repair below rather than altering the EFI or recovery partitions without a confirmed diagnosis.
Do not use bootrec or erase/rebuild the EFI partition while normal Windows starts correctly. Those operations target the main boot configuration and introduce unnecessary risk in this case.
3. Data-preserving fallback: in-place repair
If WinRE cannot be re-enabled because its image is missing or damaged, run an in-place repair from the working Windows desktop:
- Back up irreplaceable data.
- Sign in to Windows normally.
- Insert the Windows 11 installation USB.
- Open the USB in File Explorer and run
setup.exe. - Select Change what to keep.
- Verify that Keep personal files and apps is selected before choosing Install.
That specific option preserves personal data, installed applications, and settings. It is different from booting from the USB and performing a clean installation, which removes files, applications, and settings.^3^
If Keep personal files and apps is unavailable, cancel Setup rather than proceeding. Common compatibility details such as edition, language, and installation version then need to be checked before retrying.
Avoid partition resizing unless this exact condition exists
Do not delete or resize the recovery partition merely because WinRE fails. Microsoft’s documented resize procedure applies when System Event ID 4502 reports “Windows Recovery Environment servicing failed” with ErrorPhase 2 and the recovery partition follows the OS partition.^4^ Without those conditions, that destructive procedure is not established as applicable.
References