On many Windows 10 systems, the update KB5034441 (Windows Recovery Environment update for Windows 10 21H2 and 22H2) failed with the error code 0x80070643.
0x80070643 (“ERROR_INSTALL_FAILURE”) is a generic error code which means “Fatal error during installation.”
The DISM log may show the following entries:
[16088] ImageUnmarshallHandle: Reconstituting wim at C:\$WinREAgent\Scratch\update.wim. [15624] Received unmount request for image with guid 73116ee5-7bf5-4e92-90a7-f25f8b714eb8. [15624] Unmount for image at C:\$WinREAgent\Scratch\Mount complete. [16088] [0x8007000e] StateStoreGetMountedImageWimbootEntries:(1285): Not enough memory resources are available to complete this operation.
Update: Microsoft has acknowledged the issue, and the only fix is to extend the recovery partition. To apply this update successfully, the PC must have 250 MB of free space in the recovery partition.
Automatic resolution of this issue won’t be available in a future Windows update. Manual steps are necessary to complete the installation of this update on devices which are experiencing this error.
Source: Windows 10, version 22H2 | Known Issues
The January 2024 Windows RE update might fail to install
Status | Originating update | History |
---|---|---|
Resolved | N/A KB5034441 2024-01-09 |
Resolved: 2024-04-30, 14:07 PT Opened: 2024-01-12, 14:10 PT |
Devices attempting to install the January 2024 Windows Recovery Environment update ( KB5034441) might display an error related to the size of the Recovery Environment’s partition. The Windows Recovery Environment (WinRE) is used to repair or recover from issues affecting Windows.
Resulting from this error, the following message might be displayed.
- ”0x80070643 – ERROR_INSTALL_FAILURE”
Affected platforms:
- Client: Windows 11, version 21H2; Windows 10, version 22H2; Windows 10, version 21H2
- Server: Windows Server 2022
Cause
The problem occurs due to a lack of free space in the Windows RE partition. The update failed to stage the WinRE servicing operation due to insufficient disk space in the WinRE partition.
Other causes include the following:
- The Winre.wim image is outdated.
- WinRE is disabled on the computer.
Resolution
The KB5034441 update services your Winre.wim image and it required approximately 55 MB of free disk space on our test systems. If you’re using the Windows-default winre.wim, ensure that the Recovery partition is at least 750 MB. If your Recovery partition is smaller (e.g., 550 MB or something), please resize it to 750 MB.
Note: For OEM-supplied winre.wim (which has additional drivers and packages), ensure the Recovery partition is at least 100 MB larger than the size of the custom wim.
Option 1: Extend the Recovery partition using a PowerShell script
Microsoft has released a PowerShell script that automatically extends the Recovery partition, such that 250 MB of free space is available in that partition.
Please follow the steps in the following article to run the script.
(Credits to Microsoft for the .PS1 script. See Extend the Windows RE Partition on this Microsoft webpage.)
Option 2: Extend the Recovery partition manually using DiskPart
The instructions for resizing your Recovery partition are mentioned in the Microsoft article below.
KB5028997: Instructions to manually resize your partition to install the WinRE update
Note: The above MS article works only if your Recovery partition is situated next to (i.e., right side) the OS partition. You can check the disk layout by opening Disk Management.
Option 3: Extend the Recovery partition using a third-party app
Alternatively, you can try MiniTool Partition Wizard or EaseUS software to increase the size of the Recovery partition.
Option 4: Hide the KB5034441 Update
If you don’t use Bitlocker and want to skip the KB5034441 security update, you can temporarily hide it using Microsoft’s Show/Hide Updates tool.
The tool can be downloaded from the following link:
https://download.microsoft.com/download/f/2/2/f22d5fdb-59cd-4275-8c95-1be17bf70b21/wushowhide.diagcab
Select the KB5034441 update and hide it.
More Information
This update addresses a security vulnerability that could allow attackers to bypass BitLocker encryption by using Windows Recovery Environment (WinRE). For more information, see CVE-2024-20666.
IMPORTANT
Some computers might not have a recovery partition that is large enough to complete this update. Because of this, the update for WinRE might fail. In this case, you will receive the following error message:
Windows Recovery Environment servicing failed.
(CBS_E_INSUFFICIENT_DISK_SPACE)
To help you recover from this failure, please follow Instructions to manually resize your partition to install the WinRE update.
Known issue: Because of an issue in the error code handling routine, you might receive the following error message instead of the expected error message when there is insufficient disk space:
0x80070643 – ERROR_INSTALL_FAILURE
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!