Skip to main content

Windows KB5034439 and error “0x80070643”

Windows 10 January 2024

Recently, Microsoft released a KB update that has installation issues on Windows.
We noticed this on a Windows Server 2019 where it was impossible to install KB5034439 because it reported an error during installation: 0x80070643.

To solve the problem, we expanded the WinRE partition (the recovery one, to be precise, to 1.5 GB) and the installation worked immediately and without any issues.

If you need a practical, safe, and fast tool to expand the partition, you can use AOMEI Partition Assistant. We used this very easily.

You can find it here: https://www.goline.ch/solutions/aomei/ and download the trial version.

UPDATE! IF THE PREVIOUS PROCEDURE DOES NOT WORK FOLLOW ALL THESE STEPS (Run a CMD.EXE with elevated privileges)

#
#Expand recovery partion with AOMEI Partition Assistant
#

#Assign a letter (R) to Recovery Partition
diskpart
select disk 0
select partion 3
#usually 3 is the recovery partition, but you can do a list partion to be sure
assign letter=R

#
#Format recovery partition with defaults and then copy install.win from DVD to GOLINE folder)
#
mkdir c:GOLINE
mkdir c:mount
Copy install.wim from DVD (D:sources to C:GOLINE or whatever)
#

#Mount the Recovery Media to a mount point (c:mount)
dism /Mount-Wim /WimFile:C:GOLINEinstall.wim /index:1 /MountDir:C:mount

#Copy all recovery needed files to the blank partition
Robocopy C:mountWindowsSystem32Recovery R:RecoveryWindowsRE winre.wim /copyall /z

#Active and enable the recovery image on R:
reagentc /setreimage /path R:RecoveryWindowsRE /target C:Windows
reagentc /enable
reagentc /info

#Remove the R: letter from Recovery Partition
diskpart
select disk 0
select partion 3
remove letter=R

#Dismount recovery media
dism /Unmount-Wim /MountDir:C:mount /Commit
rmdir c:mount

Perform a Windows Update and this time it will be successufully

### Expand recovery partition using Windows DISKPART tool ###

  1. Run CMD.exe as ADMINISTRATOR
  2. Run reagentc /info
    If you have the same case in this picture below, the partition is active and just only needs to be expanded

    Windows KB5034439 and error "0x80070643" 1

 

  1. Run reagentc /disable

  2. Run DISKPART

  3. Too see the list of disks, run:
    list disk

    Windows KB5034439 and error "0x80070643" 2

  4. Select the operating system disk with the commands
    sel disk
    #

    Windows KB5034439 and error "0x80070643" 3

  5. To see the list of partitions of the selected disk run:
    list part

    Windows KB5034439 and error "0x80070643" 4

  6. Select the operating system partition (usually it is the primary, verify the size of disk C:)
    sel part #

  7. Run the following command to remove space from the selected disk/partition (The command removes 2GB from the selected disk/partition)
    shrink desired=2000
    The value is in MB
    A similar situation will be obtained (an unallocated space about 2GB)
    Windows KB5034439 and error "0x80070643" 5
  8. Select the recovery partition
    list part
    sel part #

    Windows KB5034439 and error "0x80070643" 6

  9. Delete the recovery partition
    delete partition override

    Windows KB5034439 and error "0x80070643" 7
    Windows KB5034439 and error "0x80070643" 8

  10. Check if the disk where the partition needs to be created, is formatted in GPT or MBR
    Open Disk Management
    Right click on disk as showed

    Windows KB5034439 and error "0x80070643" 9

    On Volume tab, check Style partition:

    Windows KB5034439 and error "0x80070643" 10

    Based on the result obtained above run:

    GPT
    create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    and then
    gpt attributes =0x8000000000000001

    MBR
    create partition primary id=27

    Windows KB5034439 and error "0x80070643" 11

  11. Format the newly created partition
    format quick fs=ntfs

    Windows KB5034439 and error "0x80070643" 12

  12. exit DISKPART
    exit

  13. Re-enable reagentc
    reagent /enable
  14. See reagent information
    reagentc /info

 

UPDATE! IF ALL PREVIOUS PROCEDURES DOES NOT WORK FOLLOW ALL THESE STEPS

First of all, mount the Windows Server ISO and restart the computer.
Select “Repair your computer,” then “Troubleshoot,” and then “Command Prompt.”

Execute the following commands:

1- bootsect /nt60 sys
2- bootrec /fixboot
3- bootrec /fixmbr

diskpart
select disk 0 (the disk with the Windows installation)
list vol
select vol 1 (the volume typically with the C: drive)
assign letter=P
select vol 2 (the volume partitioned in FAT32)
assign letter=Q
exit

Q:
CD EFIMicrosoftBoot
attrib bcd -h -r -s
ren BCD BCD.old
P:
bootrec /rebuildbcd (Select A (All))
bcdboot P:Windows /s Q: /f uefi

EXIT and restart the server…
When the server has restarted, enter the command prompt with administrator privileges and run reagentc /enable

Voilà!
To verify: reagentc /info

0 0 votes
Article Rating
Subscribe
Notify of

0 Comments
Oldest
Newest Most Voted
Goline It Services Logo

News

  • GOLINE is pleased to announce that it has achieved ESET Gold Partner status for 2027. The recognition follows the successful completion of ESET’s partner certification requirements and confirms GOLINE’s continued investment in cybersecurity expertise and professional development. ESET’s partner programme is designed to support companies working with its cybersecurity solutions through dedicated technical and sales resources, training and other partner services. For GOLINE, the achievement further strengthens its collaboration with ESET and its ability to integrate ESET security technologies into the cybersecurity solutions and services it provides to businesses. ESET solutions are already part of GOLINE’s cybersecurity portfolio, alongside technologies...
  • GOLINE SA is excited to announce a new partnership with NetApp, a global leader in cloud data services and storage solutions. This collaboration aims to help organizations modernize their IT infrastructure, streamline data management, and enhance performance across cloud and hybrid environments. Modern Data Solutions for Businesses Through this partnership, GOLINE integrates advanced data management solutions, enabling businesses to securely store, manage, and access critical information across cloud, on-premises, or hybrid setups. Clients can benefit from: Flexible and scalable storage solutions to meet growing data needs Simplified management of cloud and on-premises environments Enterprise-grade security for sensitive and mission-critical data...
  • GOLINE SA is proud to announce a new strategic partnership with Omnissa, a global leader in digital workspace platforms and Horizon Cloud Service solutions. This collaboration marks a significant step forward in helping organizations embrace secure, flexible, and high-performance work environments. Why Choose Omnissa for Your Business? The platform enables virtual desktops, applications, and unified endpoint management. Organizations can deploy scalable workspaces across cloud, hybrid, or on-premises setups. Key benefits include: Easy access to desktops and apps on any device Centralized management for Windows, macOS, iOS, Android, and ChromeOS Strong security with access controls and multi-factor authentication Automated scaling to...
  • Hosting Services
  • +41 (0)91 260 76 50
0
Would love your thoughts, please comment.x
()
x
| Reply