Unable to update (KB5034441) using below links

Anonymous
2024-01-10T05:14:55+00:00

https://support.microsoft.com/en-us/topic/kb5034441-windows-recovery-environment-update-for-windows-10-version-21h2-and-22h2-january-9-2024-62c04204-aaa5-4fee-a02a-2fdea17075a8

https://support.microsoft.com/en-us/topic/kb5028997-instructions-to-manually-resize-your-partition-to-install-the-winre-update-400faa27-9343-461c-ada9-24c8229763bf  (I was following steps from this link. I saw that I have 520MB of Healthy Recovery Partition in which I failed to shrink and the error was "you may not shrink OEM, ESPY or recovery partitions, or, offline volumes. The volume you have selected may not be shrunk. Please select another volume and try again.".) (Also when I shrink from C: and then I do not see new partition which suppose to be seen).

So kindly help.

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

68 answers

Sort by: Newest
  1. Anonymous
    2024-02-24T19:14:02+00:00

    Tried everything that everyone else suggested and nothing worked until I came across this. Thank you whoever you are and God bless you.

    You are welcomed. Glad it helped.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-02-24T01:13:45+00:00

    FYI -

    Here are the exact steps I used on many Windows 10 Pro x64 systems to correct this KB5034441 error.

    Open CMD as Administrator:

    Press Windows Key

    Type in "CMD" (without the quotes)

    Click on 'Run as administrator'

    C:>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: 35a5023d-a860-11ee-96cd-f84def5fa1af

    Recovery image location:

    Recovery image index: 0

    Custom image location:

    Custom image index: 0

    REAGENTC.EXE: Operation Successful.

    Note: partition 4 in WinRE.

    C:>reagentc /disable

    REAGENTC.EXE: Operation Successful.

    C:>diskpart

    DISKPART> list disk

    DISKPART> select disk 0

    DISKPART> list partition

    Partition ### Type Size Offset


    Partition 1 System 100 MB 1024 KB

    Partition 2 Reserved 16 MB 101 MB

    Partition 3 Primary 464 GB 117 MB

    Partition 4 Recovery 1007 MB 464 GB

    DISKPART> sel partition 3

    DISKPART> shrink desired=250 minimum=250

    DiskPart successfully shrunk the volume by: 250 MB

    DISKPART> select partition 4

    DISKPART> delete partition override

    DISKPART> create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac

    DISKPART> gpt attributes =0x8000000000000001

    DISKPART> format quick fs=ntfs label=”Windows RE tools”

    DISKPART> list vol

    DISKPART> exit

    C:>reagentc /enable

    REAGENTC.EXE: Operation Successful.

    C:>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: 35a5023f-a860-11ee-96cd-f84def5fa1af

    Recovery image location:

    Recovery image index: 0

    Custom image location:

    Custom image index: 0

    REAGENTC.EXE: Operation Successful.

    Restart Windows 10. Install KB5034441 through Windows Update without error.

    Tried everything that everyone else suggested and nothing worked until I came across this. Thank you whoever you are and God bless you.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-02-21T14:00:51+00:00

    The only logical true answer that worked for me, cheers man, how can i did not guess myself that you should resize your primary part, not the recovery one, so that the recover will get enlarged :), best answer, and the update went through like just for few seconds. It appeard in the history of updates so it is installed! Thanks again!

    Also I foget to mention that I did this on virtual machine! (VMWare). All is fine and working perfect. Thank you.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-02-19T23:34:41+00:00

    In my case id did not work.

    My recovery partition is Partition 1

    (My OS is in Spanish)

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-02-08T19:52:59+00:00

    We automated this in our deployment console via powershell code and also a diskpart script executed via powershell. I noticed that alot of our systems we had to decrypt bitlocker to get this to work, especially the reagentc.exe /enable command. Time consuming, but it seems to work alot better. Once the update installs, I re-enable bitlocker and let in encrypt. I also automated that in the console.

    reagentc.exe /disable 
    
    get-partition | where-object {$_.type -eq 'recovery'} | Remove-Partition -confirm:$false 
    
    diskpart.exe /s c:\newpartre.txt 
    
    reagentc.exe /enable 
    

    Here is the diskpart script getting called above:

    select disk 0 
    
    create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac 
    
    gpt attributes =0x8000000000000001 
    
    format quick fs=ntfs label=”Windows RE tools”
    

    For the bitlocker part I mostly used the manage-bde command, so for example to turn off bitlocker I used manage-bde -off c:

    When I turn it back on I used :

    manage-bde -on c: -s
    Get-BitLockerVolume | Add-BitLockerKeyProtector -RecoveryPasswordProtector
    Get-BitLockerVolume | Add-BitLockerKeyProtector -TpmProtector
    

    This seemed to work well and alleviated alot of manual work, the only downside is you have to wait for full decryption before you can apply the update.

    Was this answer helpful?

    0 comments No comments