How To Enable WinRE | Recovery Environment Fix

The Windows Recovery Environment (WinRE) can be turned on with reagentc /enable from an Administrator Command Prompt in about ten seconds.

A disabled Windows Recovery Environment (WinRE) means your system has no fallback when boot failures or corruption hit. The answer to how to enable WinRE is a single command run from an admin terminal, and the whole process — from status check to verification — takes under a minute. On Windows 10 (version 1809 and later) and all editions of Windows 11, the same steps work across Home, Pro, Enterprise, and Education SKUs.

What WinRE Does And When You Need It

WinRE is a secondary boot environment that gives you access to recovery tools when Windows itself won’t start. From within WinRE you can run System Restore, access Command Prompt for repairs, reset the PC, use Startup Repair, or restore from a system image. Without WinRE enabled, a corrupted system drive or a bad update that bricks the boot process leaves you hunting for a Windows install USB or a repair disk — which you might not have on hand.

The recovery environment ships with Windows by default, but it can become disabled after a failed update, a manual cleanup of recovery partitions, or certain enterprise configuration changes. Checking and re-enabling it is a straightforward fix.

Enable WinRE On Windows 10 And 11: The Commands That Work

The entire enablement process uses the reagentc tool — the built-in Windows utility for managing the recovery environment. You need Administrator privileges for every command here.

Step 1: Open An Admin Command Prompt

Press the Start button, type cmd, right-click Command Prompt in the results, and select Run as administrator. If you use Windows Terminal, open it as admin and switch to the Command Prompt tab — either terminal works with reagentc.

Step 2: Check The Current WinRE Status

Run the following command to see whether WinRE is already enabled or disabled:

reagentc /info

Look for the line labeled Windows RE status. If it says Enabled, WinRE is already active and you don’t need to do anything. If it says Disabled, proceed to enable it. Also confirm that the Windows RE location field shows a valid path (usually a recovery partition or C:\Windows\System32\Recovery).

Step 3: Enable WinRE

Run the enable command:

reagentc /enable

A successful run returns the message Operation successful. If you see an error instead, the section below covers the most common failures and their fixes.

Step 4: Verify The Change

Run reagentc /info again. The Windows RE status should now read Enabled. That confirms WinRE is active and ready.

BitLocker gate: If your drive is encrypted with BitLocker, suspend it before running reagentc /enable to avoid being prompted for the recovery key on the next boot. You can re-enable BitLocker immediately after WinRE is verified.

WinRE Commands Reference

The table below lists every reagentc command you’re likely to need, along with the trigger methods that enter WinRE once it’s enabled.

Action Command / Method Notes
Check status reagentc /info First step — confirms enabled/disabled and the image path
Enable WinRE reagentc /enable Standard activation command
Set recovery path reagentc /setreimage /path C:\Windows\System32\Recovery Needed when winre.wim is missing or moved
Repair configuration reagentc /repair Fixes corrupt BCD or missing boot entries
Disable WinRE reagentc /disable Used during advanced troubleshooting or enterprise policies
Trigger via Settings Settings > System > Recovery > Advanced startup > Restart now Most stable trigger path
Trigger via Shift+Restart Hold Shift while clicking Restart from the Start menu’s Power menu Quick access from the desktop

What If The Enable Command Fails?

The most common reason reagentc /enable fails is a missing or corrupted winre.wim file — Windows can’t activate the recovery environment if the core image isn’t in the expected location. The fix is to extract the file from a Windows ISO and register the correct path.

Repair A Missing winre.wim

Mount or extract the Windows ISO for the version you’re running (10 or 11). Inside the ISO, navigate to \sources\install.wim and extract both Winre.wim and ReAgent.xml using 7-Zip or a similar tool. Copy those two files to C:\Windows\System32\Recovery, then run these commands in order:

reagentc /setreimage /path C:\Windows\System32\Recovery
reagentc /enable

If the enable command still fails, run reagentc /repair to fix the boot configuration, then try again.

Other Failures At A Glance

If your problem isn’t a missing image file, the second table covers the other common enablement blockers and their one-line fixes.

Problem Likely Cause Quick Fix
“Access denied” error Command Prompt not running as admin Right-click cmd and select Run as administrator
BitLocker recovery key prompt Drive encryption active during enablement Suspend BitLocker in Control Panel before running the command
“Operation failed” Corrupt or missing BCD entries Run reagentc /repair, then try /enable again
WinRE won’t launch after enable Fast Startup interfering with boot options Turn off Fast Startup in Control Panel > Power Options > Choose what the power buttons do
No recovery partition found Partition was deleted or never created Create a recovery partition manually using Diskpart and re-run the enable command
Wrong WinRE loads ReAgent.xml points to an old or incorrect location Restore a known-good ReAgent.xml from backup or re-extract from the Windows ISO
“Image not found” winre.wim is missing from the recovery path Extract winre.wim from the Windows ISO and set the path with /setreimage

How Do You Enter WinRE Once It’s Enabled?

With WinRE active, you have three reliable ways to reach it. The Settings route is the most version-stable and works identically on Windows 10 and 11.

Via Settings: Open Settings > System > Recovery and click Restart now under Advanced startup. The system reboots into the recovery environment automatically.

Via Shift+Restart: Hold the Shift key on your keyboard, click the Start button, select the Power icon, and choose Restart. Keep holding Shift until the blue recovery menu appears.

Via command line: From an admin Command Prompt or PowerShell window, run shutdown /r /o. The system restarts into WinRE without the need to hold any keys.

Finish With The Right Sequence

If you’re here to enable WinRE and confirm it works, follow this final sequence in order:

  1. Open Command Prompt as Administrator
  2. Run reagentc /info to see the current status
  3. If disabled, run reagentc /enable
  4. Run reagentc /info again to verify the status is now Enabled
  5. Test access: go to Settings > System > Recovery > Advanced startup > Restart now

If the enable command throws an error, check the failure tables above — the cause is almost certainly a missing image file, missing admin rights, or an active BitLocker session. Each has a direct fix that takes less than five minutes.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.