error 0x80004005 when installing 24h2 and 25h2

Ringfoto focus 0 Reputation points
2025-12-04T09:47:56.3833333+00:00

hi! I keep getting error 0x80004005 when installing 24h2 and 25h2 which I didn't get when updating to 23H2.
After some digging I think it might be due to the startup partition not being on the primary (SSD) disk, but rather on an old HDD which is only used for storage.
When I try to do a clean install from USB I do not have the option to keep files and apps.
Is there a safe way to move the EFI system partition from the old HDD to disk C: (SSD with windows)?
Thank you.

Windows for home | Windows 11 | Install and upgrade
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Ramesh Srinivasan 68,715 Reputation points Independent Advisor
    2025-12-04T11:19:57.11+00:00

    Please run:

    bcdboot C:\Windows /s Y: /f UEFI
    

    Post the output.

    Post the latest Disk Management screenshot.


  2. Ramesh Srinivasan 68,715 Reputation points Independent Advisor
    2025-12-04T11:30:06.59+00:00

    Run:

    diskpart
    
    select disk 0
    
    select part 2
    
    set id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
    
    gpt attributes=0x0000000000000000
    
    select volume Y
    
    remove
    
    exit
    

    Restart Windows. See if you can boot from Disk 2.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.