KB5034441 update is reporting 0x80070643 error, how to increase recovery partition to fix the error

Discussion in 'Windows 10' started by jineso, Jan 20, 2024.

  1. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    289
    54
    10
    #1 jineso, Jan 20, 2024
    Last edited: Feb 26, 2024
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. 12 lb Turkey

    12 lb Turkey MDL Member

    Nov 24, 2022
    120
    64
    10
    Code:
    shrink minimum=1000
    
    What they're doing is first create a System partition (extended to end of disk), then shrink it to allow Recovery to exist in the unassigned space.
     
  3. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    289
    54
    10
    If your time allows, and sorry if it is not inappropriate to ask, is it possible to tell me about each line?
    I am still learning, and this will help me a lot.
    I do understand few of them:
    Code:
    01. DiskPart................................................................ [Start DiskPart tool]
    02. select disk 0...........................................................[Select the 1st disk in the previous result]
    03. clean......................................................................[Format it]
    04. convert gpt.............................................................[convert it to GPT]
    05. create partition efi size=260...................................[create the 1st partition in the drive using the EFI, for boot]
    06. format quick fs=fat32 label="System" ....................... ?????
    07. assign letter="S" ....................................................[assign a drive letter for the previous step]
    08. create partition msr size=16...................................?????
    09. create partition primary...........................................??? this mean to set a partition as a primary, but which one? I do not know
    10. shrink minimum=500..............................................[you mean disk 0 will be shrinked by 500?
    11. format quick fs=ntfs label="Windows"....................[no idea?????]
    12. assign letter="W"....................................................[ seems to assign a letter W to a drive].
    13. create partition primary...........................................[which one!? I mean set which one?]
    14. format quick fs=ntfs label="Recovery"....................[seems related to the recovery partition, but not sure].
    15. assign letter="R".....................................................[ no idea???? but maybe assign a letter to the recovery partition?]
    16. set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"......................?????
    17. gpt attributes=0x8000000000000001.............................................?????
    18. remove ...........................................................................................?????
    19. list volume..............................................................[list all partitions].
    20. exit
    21. exit
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. 12 lb Turkey

    12 lb Turkey MDL Member

    Nov 24, 2022
    120
    64
    10
    It's better to move the diskpart commands to a separate commands file.

    commands.txt
    Code:
    select disk 0
    clean
    convert gpt
    create partition efi size=260
    format quick fs=fat32 label="System"
    assign letter="S"
    create partition msr size=16
    create partition primary
    shrink minimum=500
    format quick fs=ntfs label="Windows"
    assign letter="W"
    create partition primary
    format quick fs=ntfs label="Recovery"
    assign letter="R"
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    gpt attributes=0x8000000000000001
    exit
    
    Code:
    diskpart /s commands.txt
    
    select disk 0 # Select disk
    clean # Wipe partition data (but doesn't erase disk), by default the disk is MBR style
    convert gpt # Force to GPT style

    create partition efi size=260 # Make EFI partition type
    format quick fs=fat32 label="System" # Quick format as FAT32, make the volume label "System"
    assign letter="S" # Drive letter S:

    create partition msr size=16 # Make MSR partition type, MSR doesn't get a drive letter

    create partition primary # Make Primary partition type, no size= means extend to end of disk (use all unassigned space)
    shrink minimum=500 # Return 500 to unassigned space, so Recovery can use leftover storage
    format quick fs=ntfs label="Windows" # Quick format "Windows" volume as NTFS
    assign letter="W" # Drive letter W:

    create partition primary # Make another Primary partition, no size= means extend to end disk (500 remaining from previous shrink)
    format quick fs=ntfs label="Recovery" # Quick format "Recovery" volume as NTFS
    assign letter="R" # Drive letter R:
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac" # Special attributes for Recovery
    gpt attributes=0x8000000000000001 # Special attributes for Recovery
     
  5. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,006
    955
    90
    Those are really old sample scripts where Microsoft set recovery to 500mb. I saw somewhere else they'd increased it to 650mb. If you install the latest win11 ISO, it's now 768mb.
    I gave in and have set mine to create a 1024mb partition. Microsoft is meant to be working on an automated fix for this...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,302
    450
  7. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,919
    150
    The recovery partitions just a useless waste of space.

    Delete it altogether and enlarge your main partition to recover the wasted space.

    Then, for emergency purposes, just rely on WinPE media, or (better) install a second OS in a native VHD
     
  8. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,006
    955
    90
    Yeah that's fine for us but if we get a call from a friend/family that can't boot into the os but boots into winre, at least then we can get them to perform a pc reset.
    I've also been including MS DaRT which has been helpful too...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,919
    150
    A family member/friend is supposed to have the recovery image or partition, until someone replaces it with something better, so where's the problem?
     
  10. 12 lb Turkey

    12 lb Turkey MDL Member

    Nov 24, 2022
    120
    64
    10
    Especially if your family member/friend has BitLocker enabled...
     
  11. windsman

    windsman MDL Expert

    Jan 11, 2010
    1,501
    1,370
    60
    :worthy: Couldn't agree anymore, always used "diskpart" to manually partionning windows before install, and of course never created the WinRe one, just the efi, msr and the primary, so KB5034441 installed successfully on several machines.
     
  12. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,446
    1,340
    120
    #12 kaljukass, Jan 21, 2024
    Last edited: Feb 17, 2024
    You're looking in the wrong place the problem reason and none of the suggestions here will fix it.
    But of course you can continue if you think that's what you have a problem with and this is the correct way to fix it.
    It is your choice and your decision.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,919
    150
    For bitlocker you need to have the separate boot partition, here people are talking about the recovery, it's another thing.
     
  14. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    289
    54
    10
    I've just edit the size to 1000 and reinstalled and updated and it worked as fine.
    Thank you all.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    289
    54
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. lynchknot

    lynchknot MDL Junior Member

    Jun 12, 2013
    54
    5
    0
    #19 lynchknot, Apr 12, 2024
    Last edited: Apr 13, 2024
    I tried the script but there was an error so I tried manually. I screwed up so my laptop won't boot now. I noticed the OS is now the last partition.

    Is there an easy fix? I tried most of the repairs from the install disk but none seem to work. I get a couple error codes at different times such as 0xc0000225 and..

    **Edit - Hiren's bootCD worked.
     
  17. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    289
    54
    10
    Which one?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...