Windows Recovery Environment (WinRE) is a diagnostic and recovery toolset built into Windows. If your PC fails to boot, WinRE is the gateway to Safe Mode, System Restore, Startup Repair, and Command Prompt.
If WinRE is disabled (common after custom OS installs, disk cleanup, or system corruption), you can re-enable it using the steps below. Open Command Prompt as Administrator and run:
# Copy from a running Windows instance (same version) copy C:\Windows\System32\Recovery\winre.wim D:\Recovery\WindowsRE\winre.wim dism /mount-image /imagefile:D:\sources\install.wim /index:1 /mountdir:C:\mount copy C:\mount\Windows\System32\Recovery\winre.wim C:\Recovery\WindowsRE
Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partitionX\Recovery\WindowsRE Boot Configuration Data (BCD) identifier: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Now press from Windows – you will enter WinRE successfully.
reagentc /enable REAGENTC.EXE: Operation successful.
reagentc /boottore (Optional – sets WinRE to start on next boot for testing.) If reagentc /info shows no location, restore winre.wim from the Windows installation source:
Then retry reagentc /setreimage and /enable . | Scenario | Benefit | |----------|---------| | Boot failures | Access to automatic repair | | Driver issues | Boot into Safe Mode | | System corruption | Run SFC, DISM, or System Restore | | Malware | Use Command Prompt offline | | Reset this PC | Required for cloud download & local reinstall | Final Check Run reagentc /info again. You should see:
# Copy from a running Windows instance (same version) copy C:\Windows\System32\Recovery\winre.wim D:\Recovery\WindowsRE\winre.wim dism /mount-image /imagefile:D:\sources\install.wim /index:1 /mountdir:C:\mount copy C:\mount\Windows\System32\Recovery\winre.wim C:\Recovery\WindowsRE Windows Recovery Environment (WinRE) is a diagnostic and
Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partitionX\Recovery\WindowsRE Boot Configuration Data (BCD) identifier: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Now press from Windows – you will enter WinRE successfully. Open Command Prompt as Administrator and run: #
reagentc /enable REAGENTC.EXE: Operation successful.
reagentc /boottore (Optional – sets WinRE to start on next boot for testing.) If reagentc /info shows no location, restore winre.wim from the Windows installation source:
Then retry reagentc /setreimage and /enable . | Scenario | Benefit | |----------|---------| | Boot failures | Access to automatic repair | | Driver issues | Boot into Safe Mode | | System corruption | Run SFC, DISM, or System Restore | | Malware | Use Command Prompt offline | | Reset this PC | Required for cloud download & local reinstall | Final Check Run reagentc /info again. You should see: