GuideIssuesWindows Update KB50344441: KB5028997 - Expand the size of Windows Recovery Partition Updated September 08 2024
Download Error (0x80070643) There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070643
https://learn.microsoft.com/en-us/windows/release-health/status-windows-10-21H2#3231msgdesc

Powershell script to do this all automatically is available here:
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-update-to-winre?view=windows-11#extend-the-windows-re-partition


https://support.microsoft.com/en-us/topic/kb5028997-instructions-to-manually-resize-your-partition-to-install-the-winre-update-400faa27-9343-461c-ada9-24c8229763bf
Manually resize your partition by 250 MB
Open a Command Prompt window (cmd) as admin.

To check the WinRE status, run

Copy to Clipboardreagentc /info


If the WinRE is installed, there should be a "Windows RE location" with a path to the WinRE directory. An example is, "Windows RE location: [file://%3f/GLOBALROOT/device/harddisk0/partition4/Recovery/WindowsRE]\\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE." Here, the number after "harddisk" and "partition" is the index of the disk and partition WinRE is on, which will be used below.

To disable the WinRE, run
Copy to Clipboardreagentc /disable


Shrink the OS partition and prepare the disk for a new recovery partition.

Copy to Clipboarddiskpart


List all drives:
Copy to Clipboardlist disk


Note the index number of the drive. Also note if it has a * in the GPT column, if so then you are using UEFI/GPT, if there is no * then you are using MBR/Legacy. Replace 99 with the disk # you found, usually 0, 1, or 2.
Copy to Clipboardsel disk 99


List all partitions on that disk
Copy to Clipboardlist par


Find the number of the partition before the Recovery partition, this is usually your OS partition. Replace 99 with the partition number. Usually 3.
Copy to Clipboardsel par 99


Run this to free up 500MB of space on it:
Copy to Clipboardshrink desired=500 minimum=250


To select the WinRE partition, replace 99 with the Recovery partition number (1 more than the one you did before). Usually 4.
Copy to Clipboardsel par 99


To delete the WinRE partition, run
Copy to Clipboarddelete partition override


If your drive is using UEFI/GPT (Not for MBR/Legacy!), run this:
Copy to Clipboardcreate partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac gpt attributes =0x8000000000000001


If your drive is using MBR/Legacy (Not for UEFI/GPT!), run this:
Copy to Clipboardcreate partition primary id=27


Format the partition, use:
Copy to Clipboardformat quick fs=ntfs label="Windows RE tools"


To confirm that the WinRE partition is created, run:
Copy to Clipboardlist vol


To exit from diskpart, run
Copy to Clipboardexit


To re-enable WinRE, run
Copy to Clipboardreagentc /enable


To confirm where WinRE is installed, run
Copy to Clipboardreagentc /info


You can now run Windows Update again, a reboot is not needed.


If you get an error like:
The specified shrink size is too big and will cause the volume to be...
This means there is an unmovable file at the end of that partition. Try disabling the page file and restarting. You can use the free program Defraggler to see what file is there and defrag it (moving it elsewhere).

If you get an error:
REAGENTC.EXE: The Windows RE image was not found.
Delete the file "C:\Windows\System32\Recovery\ReAgent.xml" and try again
If you still get the same error, then the file Winre.wim is missing from that folder, copy it from another machine and try again. You can also get it from a Win10 install, open install.esd in 7zip and extract that file. Copy it to this folder: C:\Windows\System32\Recovery

Here is an example transcript of me doing this:
Copy to Clipboard Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Windows\system32> reagentc /info Windows Recovery Environment (Windows RE) and system reset configuration Information: Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE Boot Configuration Data (BCD) identifier: 1f5693a5-f0a6-11ee-a847-9c6ec0b036aa Recovery image location: Recovery image index: 0 Custom image location: Custom image index: 0 REAGENTC.EXE: Operation Successful. PS C:\Windows\system32> reagentc /disable REAGENTC.EXE: Operation Successful. PS C:\Windows\system32> diskpart Microsoft DiskPart version 10.0.19041.3636 Copyright (C) Microsoft Corporation. On computer: DESKTOP-KV2QRLC DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 238 GB 1024 KB * DISKPART> sel disk 0 Disk 0 is now the selected disk. DISKPART> list par Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 System 100 MB 1024 KB Partition 2 Reserved 16 MB 101 MB Partition 3 Primary 237 GB 117 MB Partition 4 Recovery 522 MB 237 GB DISKPART> sel par 3 Partition 3 is now the selected partition. DISKPART> shrink desired=500 minimum=250 DiskPart successfully shrunk the volume by: 500 MB DISKPART> sel par 4 Partition 4 is now the selected partition. DISKPART> delete partition override DiskPart successfully deleted the selected partition. DISKPART> create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac DiskPart succeeded in creating the specified partition. DISKPART> gpt attributes =0x8000000000000001 DiskPart successfully assigned the attributes to the selected GPT partition. DISKPART> format quick fs=ntfs label="Windows RE tools" 100 percent completed DiskPart successfully formatted the volume. DISKPART> exit Leaving DiskPart... PS C:\Windows\system32> reagentc /enable REAGENTC.EXE: Operation Successful. PS C:\Windows\system32> reagentc /info Windows Recovery Environment (Windows RE) and system reset configuration Information: Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE Boot Configuration Data (BCD) identifier: 1f5693a7-f0a6-11ee-a847-9c6ec0b036aa Recovery image location: Recovery image index: 0 Custom image location: Custom image index: 0 REAGENTC.EXE: Operation Successful. PS C:\Windows\system32>



Keywords: Bitlocker Security Update, Failed, Failure




©2024 - Some portions of this website are Copyrighted.
Your IP: 3.149.245.245     Referring URL:
Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy