How to Use and Repair Windows Recovery Environment (WinRE) on Windows 10?

Windows Recovery Environment (WinRE) is the minimal OS based mostly on Windows Preinstallation Environment (WinPE) which incorporates numerous instruments to restore, reset and diagnose Windows. If the primary host OS doesn’t boot for any purpose, the pc tries to begin WinRE, which can assist to resolve the problems manually or routinely. In WinRE, you’ll be able to routinely repair the bootloader, restore the OS from a picture backup, roll again to a system restore level, run a command immediate, and so forth.

Windows RE consists of three recordsdata, that are positioned in a hidden System Reserved partition:

  • winre.wim – WIM picture with WinPE and a number of extra restoration instruments;
  • boot.sdi – used to create a in reminiscence;
  • ReAgent.xml — WindowsRE configuration file.

In this text, we’ll present you ways to boot your laptop into WinRE, and how to restore the Windows 10 restoration setting if it doesn’t work.

How to Boot Windows into the Recovery Environment?

In order to boot your laptop into the restoration setting the subsequent time you restart Windows, you want to press the Restart button within the Start menu whereas holding down the Shift key.

You also can reboot the pc in WinRE mode from the command immediate utilizing the brand new -o parameter of the :

shutdown /f /r /o /t zero

This command can’t be executed when related to a pc by way of RDP. An error seems “The parameter is inaccurate (87)”.

There can also be one other command to power the entry into the restoration setting on the subsequent laptop boot:

reagentc /boottore

The laptop routinely boots into the Windows Recovery Environment if three earlier makes an attempt to boot Windows usually have failed. In order to boot your laptop into WinRE, it’s sufficient to interrupt the conventional Windows boot with the ability button three occasions in a row.

WinRE Repair and Troubleshooting Tools

There are a number of restoration and troubleshooting instruments out there in WinRE restoration setting to provide help to repair varied Windows issues. WinRE on Windows 10 consists of the next instruments:

  • Reset this PC – permits you to reset your Windows to manufacturing unit settings (private knowledge and recordsdata will probably be deleted);
  • System Restore – permits you to restore the state of Windows utilizing a beforehand created restore level;
  • System Image Recovery – permits to restore Windows from a on exterior media;
  • Automatic Repair/Start-up Repair – Windows tries to routinely discover and repair doable issues (the wizard can independently restore the , ;
  • Windows Startup Settings – permits you to choose varied Windows boot situations: Safe Mode, disable driver digital signature enforcement, disable automated restart on system failure (that is the one means to see the BSOD error code on the Windows boot display screen),and so forth.;
  • Uninstall Updates – permits to take away the not too long ago put in updates (helpful if );
  • Go again to the earlier model – permits you to roll again to the earlier Windows 10 construct;
  • Command Prompt – run command line to manually run diagnostic and restore instructions.

If you need to run a command immediate or different error fixing device, WinRE will ask you for the password of the native administrator account (the password will probably be in contrast with the info within the native SAM database).

You ought to see a command immediate window X:WindowsSystem32>.

From the command line, you’ll be able to test the disk with the , run regedit.exe, bootrec.exe, startrep.exe (this instruments permits you to discover and repair issues with the registry, drivers, partitions, and so forth.) and different instructions (there are fairly just a few articles on the positioning the place we present how to repair varied Windows issues within the restoration setting or WinPE).

To shut the WinRE command immediate and return to the boot mode choice, run the command:


Could not Find the Recovery Environment in Windows 10

In some instances, the pc can’t  boot into the Windows Recovery Environment. If you strive to reset the Windows, or boot into restoration mode, you may even see errors like “Could not discover the restoration setting”. This implies that the partition with the WinRE or the .wim file of the restoration setting has been deleted/broken; both ReAgent or BCD is just not configured appropriately.

The explanation why the WinRE setting stops booting or doesn’t work appropriately will be completely different:

  • The WinRE is disabled in Windows settings;
  • The Boot Configuration Data Store () doesn’t comprise entries to boot in restoration mode;
  • The file winre.wim (WinRE setting picture) is lacking or moved;
  • The WinRE configuration file ReAgent.xml is lacking or comprises incorrect settings.

Next, we’ll have a look at the primary methods to restore the WinRE setting in Windows 10 (for Windows 7 and Windows eight.1, the process is similar).

Repairing WinRE (Windows Recovery Environment) with ReAgentc Tool

How to Manually Enable or Disable Windows Recovery Environment in Windows 10?

Try to disable and allow WinRE on your laptop by operating the next instructions within the elevated command immediate:
reagentc /disable
reagentc /allow

If the error “REAGENTC.EXE: Unable to replace Boot Configuration Data” seems, first repair the issue with the Windows bootloader (directions for and computer systems).

If you obtain the error message “REAGENT.EXE: The Windows RE picture was not discovered”, the winre.wim file or the System Recovery partition has most likely been deleted.

Check BCD Entries for WinRE

Make certain that the Boot Configuration Data (BCD) comprises the right entries to boot the WinRE setting.

Note. If WinRE has been efficiently enabled utilizing the reagent, the right WinRE entries ought to routinely seem within the boot configuration. However, you’d higher test the worth of recoverysequence parameter.  

Display the present BCD entries:

bcdedit /enum all

In the checklist of boot choices, discover the Windows Boot Loader part with identifier=. In our instance, this entry appears to be like like this:

Windows Boot Loader
system                  partition=C:
path                    Windowssystem32winload.exe
description             Windows 10
locale                  en-US
recoveryenabled         Yes
allowedinmemorysettings 0x15000075
osdevice                partition=C:
systemroot              Windows
nx                      ChooseIn
bootmenupolicy          Standard

Find and bear in mind the GUID worth of recoverysequence attribute. In our instance, it’s .

Then you want to discover the boot configuration part having the identifier worth equal to the GUID worth obtained earlier and having Windows Recovery Environment within the description area. This entry can seem like this:

Windows Boot Loader
system                  ramdisk=[F:]RecoveryWindowsREWinre.wim,
path                    windowssystem32winload.exe
description             Windows Recovery Environment
locale                  en-US
displaymessage          Recovery
osdevice                ramdisk=[F:]RecoveryWindowsREWinre.wim,
systemroot              home windows
nx                      ChooseIn
bootmenupolicy          Standard
winpe                   Yes

If you can not discover this entry, search for one other BCD document with one other GUID as an identifier and the textual content “Windows Recovery Environment” within the description area, which comprises the trail to Winre.wim within the system and osdevice values .

The path to WIM file can level to one other drive (for instance, [DeviceHarddiskVolume2]). If such part has been discovered, you’ll be able to hyperlink this entry to boot WinRE because the restoration setting for the present OS. Copy the GUID of the discovered entry and exchange it utilizing the command:

bcdedit /set recoverysequence

Note. If you might be utilizing multiboot, remember the fact that every OS provides its personal Windows Recovery Environment entry to the Microsoft Boot Manager. It is essential not to get misplaced in them.

The Location of the Winre.wim File

Make certain that Winre.wim is current within the specified location. Typically, it’s saved in one of many following places:

In our instance, it must be positioned on the F: drive (F:RecoveryWindowsRE Winre.wim).

Also test the trail to the wim file laid out in ReAgent.xml (positioned  in C:WindowsSystem32Recovery folder or in Recovery folder on the restoration partition). Open this file in any textual content editor and test the worth of = attribute. If the trail specified doesn’t exist (the unique partition has been deleted), you’ll be able to change the trail to

reagentc /disable
reagentc /allow

Tip. The present Recovery Agent configuration will be obtained utilizing reagentc /data command. This command can will assist to get the Boot Configuration Data (BCD) identifier and the bodily path to Windows RE picture file:

(location: ?GLOBALROOTdeviceharddisk0partition1RecoveryWindowsRE)

Reset WinRE Settings in ReAgent.xml file

If the strategies described above didn’t provide help to to recuperate WinRE, you’ll be able to strive to reset the restoration setting settings in ReAgent.xml file(backup this file upfront).

On Windows 10, simply delete the ReAgent.xml file and will probably be routinely created the subsequent time you allow WinRE with the command:

reagentc /allow

In Windows 7/Vista, open ReAgent.xml in a textual content editor (it’s higher to use Notepad++) and clear the values of the next parameters: WinreBCD, WinreLocation, ImageLocation, InstallState, WinREStaged:

Save the modifications. Make certain that Winre.wim is current within the %windir%System32Recovery folder. Enable WinRE with the command:

reagentc /allow

Find and Copy the Winre.wim File Manually

If you can not discover the Winre.wim file in any of the usual folders, strive finding it utilizing your file supervisor or with the next command:

dir /a /s c:winre.wim

Tip. Don’t overlook to search for this file within the hidden partitions as nicely, which want to be assigned a drive letter upfront.

If you could have discovered the file, copy it in to a default location utilizing the instructions:

attrib -h -s c:Recovery3b09be7c-2b1f-11e0-b06a-be7a471d71d6winre.wim
xcopy /h c:Recovery3b09be7c-2b1f-11e0-b06a-be7a471d71d6winre.wim c:WindowsSystem32Recovery

If you couldn’t discover the file, copy it from the same Windows occasion(the OS model and bitness should match), or from the set up media/. To do it, open the sourcesinstall.wim (or ) on the DVD/ ISO picture utilizing 7-Zip and extract the WindowsSystem32RecoveryWinre.wim and ReAgent.xml to the c:WindowsSystem32Recovery folder.  The unique boot.sdi file should be copied from the WindowsBootDVD folder.

You can exchange the built-in winre.wim picture with the extra superior , which comprises extra instruments helpful for diagnosing and fixing Windows boot issues.

Replace the trail to the winre.wim file within the Recovery Agent configuration:

reagentc /setreimage /path C:windowssystem32restoration

Now simply allow Windows Recovery Agent with this command:

reagentc /allow

Check Also

How to Enable and Configure SNMP on VMWare ESXi Host?

If you need to monitor the state of your VMWare ESXi servers in your monitoring …

Leave a Reply

Your email address will not be published. Required fields are marked *