What is the Windows recovery environment? Learn to use Reagent to modify the recovery environment configuration information

  

In the "Win8/Win8.1 system backup and restore method detailed (introduction)" we have initially introduced the Windows
recovery environment (ie WinRE) related Content. We already know that the Windows
recovery environment is actually a micro-operating system
with some advanced recovery tools, you can install any one of Vista/Win7/Win8/Win8.1. After the operating system
has been installed by default in your computer
. Note that if your computer
system is a streamlined version, the recovery environment may have been streamlined. Below we further introduce the content related to the recovery environment.

How to enter the Windows recovery environment

In the "Diskpart tool application two: MBR/GPT partition conversion & basic /dynamic disk conversion" article we introduced Win7/Win8 into WinRE Ways. Here we add a few more points:

1, for the Win8.1 system can enter the "advanced start" option in the position shown below (note: is the red box below "advanced start" & rdquo;) . After selecting a tool in the advanced startup options, the system will automatically reboot into the recovery environment and open the tool of your choice.
Figure 1 Win8.1 advanced startup option

2, for Win8 or WIn8.1 system, if the system can not start normally, it will automatically initiate failover and enter the recovery environment.

3. For Win8/Win8.1, we can also use the Shift+Resume shortcut to enter the advanced startup options.

4, in addition, we can also create a USB recovery drive, install WinRE into the U disk, boot from the U disk into WinRE. For details, see "Creating a USB Recovery USB Disk to Easily Eliminate System Abnormalities Caused by Updates, etc."

What are the recovery tools in the recovery environment?

WinRE includes the following recovery tools:

System Restore (Vista/Win7/Win8/Win8.1): System Restore uses the system restore point you created to restore the system, it will not Any document, image or other personal data that affects you. However, recently installed programs and drivers and your changes to the operating system settings will be uninstalled and undone. The WinRE environment is independent of the Windows operating system installed on the computer, so as to ensure that the system restore is not disturbed.

System Image Recovery (Vista/Win7/Win8, abolished in Win8.1): Restore the operating system using the Windows system image you created. The Windows system image is a full backup of the drives required to run Windows. In Win8 you can use the Control Panel – Windows 7 File Recovery & ndash; Create System Image feature to back up your operating system.

Recovering a computer (Win8/Win8.1): Using the recovery computer function, the following will happen: your files and personalization settings will not be changed; your computer settings will be restored to their default settings; Apps from the Windows Store; apps you install via CD or website will be deleted; a list of deleted apps will be saved on your desktop.

Initialize the computer (Win8/Win8.1): Initialize the computer. All personal files and applications on the specified partition on your computer will be deleted. The restored status depends on the recovery image you are using.

In addition to this, there is a command prompt and a tool to automatically start the repair.

Configure the recovery environment using the ReAgentc tool

We can use the ReAgentc command line tool to modify the configuration information of WinRE. Let's take a look at the most basic and the commands we will use later. More detailed introductions will be updated if you encounter them later.

1. View the WinRE configuration information command

Run the command prompt as administrator, enter recipec /info, and press Enter to see the WinREdeeming configuration information. As shown below:
Figure II WinRE configuration information

Windows RE wherein the status display Enabled represents an on state, display is disabled disabled means. The location of the restored image means telling the system which wim file I should use to restore the system if I perform the initialization operation. The recovery image index indicates that the system should restore the system from which image in the specified bit wim file if I perform the initialization operation.

The following describes the command to modify the above information:

2, disable or enable the Windows recovery environment command

Run reagentc /disable to disable the recovery environment; run reagentc /enable Enable the recovery environment.

3. Command to configure default recovery image for initialization function

Run the following command to specify image number 3 from the install.wim file stored in the E:\\sources folder. To restore the operating system: recipec /setosimage /path E:\\sources /index 3

The information displayed in the red box in Figure 2 is the result of running this command. Note here that the default name of the wim file is install.wim. We must specify the backup file name as install.wim when backing up the system. The path and image number are modified according to the actual situation. We can also specify the Microsoft original system image as the recovery image used to initialize the system, so initialization is equivalent to a new reload.

OK, we have already introduced the contents of the backup system and the configuration recovery image. If you have strong hands-on skills, you have the ability to back up and restore your system at this time. If you don't know how to do it, it doesn't matter, as long as you can understand the first two articles. We will also have a detailed tutorial
on system backup and restore. The reason why this part of the basic content is written is to let the reader better understand the whole production principle, not only know how to do it but also know why it is done. In short, I hope you can gain something after reading these articles.

Copyright © Windows knowledge All Rights Reserved