如果当您尝试在 Windows 10 设备上访问Windows 恢复环境 (WinRE)时,在空白屏幕上遇到错误消息Invalid Recovery Area ,那么这篇文章将帮助您成功解决此问题。(Invalid Recovery Area)
此错误的原因主要是您的 PC 上装有Windows RE(Windows RE)的恢复分区不完整,因为它已被删除或由于某些未知原因而无法访问。其他原因可能如下:
- WinRE在(WinRE)Windows设置中被禁用。
- 引导配置数据存储(Boot Configuration Data Store)( BCD ) 不包含在恢复模式下引导的条目。
- 文件 winre.wim(WinRE环境映像)丢失或移动。
- WinRE配置文件ReAgent.xml丢失或包含不正确的设置。
修复无效恢复区错误
如果您遇到此问题,您可以尝试以下我们推荐的解决方案(不分先后顺序),看看是否有助于解决问题。
- 启用 Windows RE
- 检查 WinRE 的 BCD 条目
- (Reset WinRE)在ReAgent.xml(ReAgent.xml)文件中重置 WinRE设置
- 手动查找(Find)并复制Winre.wim文件
- 执行(Perform)Windows 10 就地升级修复(Upgrade Repair)
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
1]启用Windows RE
如果Windows恢复环境被禁用,您将遇到错误。在这种情况下,您可以启用Windows RE。方法如下:
首先,您需要检查WinRE的状态。
- 按Windows key + R调用“运行”对话框。
- 在“运行”对话框中,键入cmd,然后按CTRL + SHIFT + ENTER以在管理员/提升模式下打开命令提示符。(Command Prompt)
- 在命令提示符窗口中,键入以下命令并按 Enter 键(Enter)。
reagent /info
如果 Windows RE 状态显示为Disabled,请输入以下命令并按Enter  以打开WinRE。
reagentc /enable
启用此选项后,您仍然无法访问Windows 10中的(Windows 10)恢复(Recovery)环境,请尝试下一个解决方案。
2]检查WinRE的BCD条目
Windows Boot Loader确定它是否必须加载Windows RE。加载程序可能指向错误的位置。
以管理员权限打开 PowerShell(Open PowerShell),然后执行以下命令:
bcdedit /enum all
(Look)在设置为Current的(Current)Windows Boot Loader标识符中查找条目。
在该部分中,找到“recoverysequence”并记下GUID。
同样,在结果中,搜索Windows Boot Loader identifier set as the note GUID。
确保 device 和 osdevice 项显示 Winre.wim(Winre.wim)文件 的 (device )路径并且(osdevice)它们是相同的。如果不是,我们将不得不将当前标识符指向具有相同标识符的标识符。
找到新的GUID后,运行以下命令:
bcdedit /set {current} recoverysequence {GUID_which_has_same_path_of_device_and_device}
看看这是否能解决问题。
3]在ReAgent.xml文件中重置 WinRE(Reset WinRE)设置
此解决方案需要您重置ReAgent.xml文件中的恢复环境设置(提前备份此文件)。
在 Windows 10 上,只需删除ReAgent.xml文件,它将在您下次启用WinRE时自动创建。
ReAgent.xml文件应位于以下目录路径中 - 假设 C 是安装 Windows 10 的驱动(ReAgent.xml)器(Windows 10)。
C:\Recovery\WindowsRE
注意(Note):您可能需要显示隐藏文件和文件夹才能查找和删除文件。
4]手动查找(Find)并复制Winre.wim文件
请执行下列操作:
- 在管理员模式下打开命令提示符。
- 在CMD提示窗口中,键入下面的命令并按Enter。
dir /a /s c:\winre.wim
如果您找到了该文件,请通过依次运行以下命令将其复制到默认位置:
attrib -h -s c:\Recovery\3b09be7c-2b1f-11e0-b06a-be7a471d71d6\winre.wim
xcopy /h c:\Recovery\3b09be7c-2b1f-11e0-b06a-be7a471d71d6\winre.wim c:\Windows\System32\Recovery
如果您在本地驱动器上找不到该文件,您可以从类似的Windows 10安装实例(操作系统版本和系统架构必须匹配)或从安装媒体/可启动USB闪存驱动器复制它。
为此,请使用 7-Zip 打开DVD/ ISO映像上的\sources\install.wim(或 install.esd),然后将\Windows\System32\Recovery\Winre.wim和ReAgent.xml 解压缩(ReAgent.xml)到 C :\Windows\System32\Recovery文件夹。
必须从\Windows\Boot\DVD文件夹复制原始 boot.sdi 文件。
复制健康的 winre.wim 文件后,尝试访问恢复环境,如果问题仍然存在,请尝试下一个解决方案。
5]执行(Perform)Windows 10就地升级修复(Upgrade Repair)
此解决方案要求您执行Windows 10 就地升级修复。修复升级是使用安装DVD或ISO文件在硬盘上现有Windows 10安装的基础上安装(Windows 10)Windows 10的过程。(Windows 10)
执行此操作可以修复损坏的操作系统文件,同时保留您的个人文件、设置和已安装的应用程序。
希望这可以帮助!
Fix Invalid Recovery Area error on Windows 10 computer
If when you try to acсess the Windows Recovery Environment (WinRE) on your Windows 10 device, you encounter the error message Invalid Recovery Area on a blank screen, then this post will help you successfully resolve this issue.
The cause of this error is mainly that the recovery partition on your PC that houses the Windows RE is not intact, either because it has been deleted or just inaccessible due to some unknown reasons. Other reasons could be the following:
- The WinRE is disabled in Windows settings.
- The Boot Configuration Data Store (BCD) doesn’t contain entries to boot in recovery mode.
- The file winre.wim (WinRE environment image) is missing or moved.
- The WinRE configuration file ReAgent.xml is missing or contains incorrect settings.
Fix Invalid Recovery Area error
If you’re faced with this issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Enable Windows RE
- Check BCD Entries for WinRE
- Reset WinRE settings in ReAgent.xml file
- Find and copy the Winre.wim file manually
- Perform Windows 10 In-Place Upgrade Repair
Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Enable Windows RE
If the Windows recovery environment is disabled, you’ll encounter the error. In this case, you can enable Windows RE. Here’s how:
First you need to check the status of WinRE.
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type cmd and then press CTRL + SHIFT + ENTER to open Command Prompt in admin/elevated mode.
- In the command prompt window, type the command below and hit Enter.
reagent /info
If the Windows RE status shows Disabled, input the command below and hit Enter to turn on the WinRE.
reagentc /enable
After enabling this option, and you still could not access the Recovery environment in Windows 10, try the next solution.
2] Check BCD Entries for WinRE
Windows Boot Loader determines if it has to load Windows RE. It is possible that the loader is pointing to an incorrect location.
Open PowerShell with admin privileges, and execute this command:
bcdedit /enum all
Look for an entry in Windows Boot Loader identifier set as Current.
In that section, find “recoverysequence” and note the GUID.
Again, in the result, search for Windows Boot Loader identifier set as the noted GUID.
Make sure that the device and osdevice items show the path for the Winre.wim file and they are the same. If not, we will have to point the current identifier to one which has the same.
Once you find the new GUID, run the command:
bcdedit /set {current} recoverysequence {GUID_which_has_same_path_of_device_and_device}
See if this resolves the issue.
3] Reset WinRE settings in ReAgent.xml file
This solution requires you to reset the recovery environment settings in ReAgent.xml file (backup this file in advance).
On Windows 10, just delete the ReAgent.xml file and it will be automatically created the next time you enable WinRE.
The ReAgent.xml file should be located in the dirctory path below – assuming C is the drive housing the Windows 10 installation.
C:\Recovery\WindowsRE
Note: You may need to show hidden files and folders to find and delete the file.
4] Find and copy the Winre.wim file manually
Do the following:
- Open Command Prompt in admin mode.
- In the CMD prompt window, type the command below and hit Enter.
dir /a /s c:\winre.wim
If you have found the file, copy it into a default location by running the commands below one after the other:
attrib -h -s c:\Recovery\3b09be7c-2b1f-11e0-b06a-be7a471d71d6\winre.wim
xcopy /h c:\Recovery\3b09be7c-2b1f-11e0-b06a-be7a471d71d6\winre.wim c:\Windows\System32\Recovery
If you couldn’t find the file on your local drive, you can copy it from a similar Windows 10 installation instance(the OS version and the system architecture must match), or from the install media/bootable USB flash drive.
To do it, open the \sources\install.wim (or install.esd) on the DVD/ ISO image using 7-Zip and extract the \Windows\System32\Recovery\Winre.wim and ReAgent.xml to the C:\Windows\System32\Recovery folder.
The original boot.sdi file must be copied from the \Windows\Boot\DVD folder.
Once you have copied a healthy winre.wim file, try accessing the recovery environment and if the issue persists, try the next solution.
5] Perform Windows 10 In-Place Upgrade Repair
This solution requires you to perform a Windows 10 in-place upgrade repair. A repair upgrade is a process of installing Windows 10 over the existing installation of Windows 10 on your hard disk, using your installation DVD or ISO file.
Performing this can repair broken operating system files while preserving your personal files, settings, and installed applications.
Hope this helps!