Skip to content

How to Fix Error 0x80070643 on Windows 10

Table of Contents

The update applies Safe OS Dynamic Update (KB5034232) to Windows Recovery Environment (WinRE).

It addresses a security vulnerability (CVE-2024-20666) that could bypass BitLocker encryption.

Do note that the update requires 250 MB of free space in the recovery partition.

Failure due to insufficient space will result in an incomplete installation.

In this guide, you’ll learn how to fix error code 0x80070643 on Windows 10 (security update failed; there were some problems installing updates).

How to fix error 0x80070643 on Windows 10

To fix error code 0x80070643 on Windows 10, you need to manually resize your partition.

To do so, you need to open the command prompt as an administrator and run multiple commands.

Search for “Command Prompt” using Windows Search and select “Run as administrator” and run these commands (in bold), one after the other:

  1. reagentc /info (confirm “Windows RE location” path (the number after “harddisk” and “partition” is the index and partition of WinRE)
  2. reagentc /disable (disable WinRE)
  3. diskpart
  4. list disk
  5. sel disk<OS disk index>
  6. list part
  7. sel part<OS partition index>
  8. shrink desired=250 minimum=250
  9. sel part <WinRE partition index>
  10. delete partition override
  11. list disk (check partition style—(*) on GPT means GPT, (*) on MBR means MBR)
    • For GPT: create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac, gpt attributes=0x8000000000000001
    • For MBR: create partition primary id=27
  12. format quick fs=ntfs label=”Windows RE tools” (format partition)
  13. list vol (confirm that the Windows Recovery partition is successfully created)
  14. exit
  15. reagentc /enable (re-enable WinRE)
  16. reagentc /info (confirm WinRE location)
  17. Try installing the KB5034441 update again


After running the command in step 1, you’ll see a Windows RE location like this: \?\GLOBALROOT\device\harddisk1\partition4\Recovery\WindowsRE.

harddisk1 = index of WinRE while partition4 = recovery index of the partition of WinRE.

Replace <OS disk index> with the number after “harddisk” in step 1 (e.g. sel disk 1).

Replace <OS partition index> with the number after “partition” and “primary” type in step 4 (e.g. sel part 3).

Replace <WinRE partition index> with the number after “partition” and “recovery” type in step 1 (e.g. sel part 4).

Further reading

How to Fix KB5034441 Update Not Installing on Windows 10

How to Fix KB5034123 or KB5033920 Update Not Installing on Windows 11

How to Fix KB5029351 Update Not Installing on Windows 11