Windows 10: Solution for Failed Windows 10 Update Installation Error 0x80004005

Discus and support Solution for Failed Windows 10 Update Installation Error 0x80004005 in Windows 10 Installation and Upgrade to solve the problem; I've finally solved the problem preventing me from updating my Dell Inspiron 7537 laptop from Windows 8.1 Home to Windows 10 as described in... Discussion in 'Windows 10 Installation and Upgrade' started by Steve C, Dec 4, 2015.

  1. Steve C Win User

    Solution for Failed Windows 10 Update Installation Error 0x80004005


    I've finally solved the problem preventing me from updating my Dell Inspiron 7537 laptop from Windows 8.1 Home to Windows 10 as described in https://www.tenforums.com/installatio...at-next-2.html.

    The installation was consistently failing at the point where Windows is about to restart for the first time with a grey information window titled "Something has happened" with the information "Windows 10 installation has failed".

    I've posted below how to diagnose and repair your PC to enable the Windows 10 installation to proceed. The installation should proceed smoothly once the error is corrected.

    Symptoms
    • You are booting in UEFI mode i.e. you have a separate EFI System Partition (ESP) on your system disk.
    • You are updating from Windows 8.1 to Windows 10 using the USB install disk, a mounted ISO update image or Windows Update.
    • The installation consistently fails at the point where Windows is about to restart for the first time with a grey information window titled "Something has happened" with the information "Windows 10 installation has failed".
    • The setuperr.log installation error logging file contains error 0x80004005 towards the end of the file and there is an error message referring to "Failed to backup BCD database".
    • The command bcdedit /export <yourfilename> fails with the error "The store export operation has failed. The handle is invalid".

    Diagnosis
    • The ESP partition has become corrupted causing the failure to export the boot configuration data and failure of the Windows 10 installer. Note your PC may boot to Windows 8.1 normally despite the corruption.
    • The boot configuration data on the ESP partition needs to be repaired to enable the installation to proceed.

    Solution
    The successful solution I implemented is shown below.


    • Perform a full backup of your Windows system (I recommend Macrium Reflect). Your PC may be unbootable if the repair is not implemented correctly.
    • Boot the computer using the Windows 8 installation bootable DVD. Make sure you boot the media in the same configuration as your UEFI installation.
    • On the ‘Windows Setup’ wizard click on ‘Next’ and click on ‘Repair your computer’.
    • You will then see a blue screen and an option to choose.
    • Click on ‘Troubleshoot’ then click on ‘Advanced Option’ and then click on ‘Command Prompt’.
    • Type these commands on the Command Prompt for UEFI configuration:

    • diskpart (opens Disk Partitioning tool)
    • select disk 0 (or whichever disk is your system disk)
    • list volume (please note the number of the volume that has no drive letter assigned and has FAT32 listed in the FS column, usually the only FAT32 volume/partition)
    • select volume x <where x is the number of 100-500 MB FAT32 volume with no drive letter, or with label ESP, EFI or SYSTEM>
    • assign letter=Z: (gives drive letter Z: to EFI System Partition)
    • list volume (to check drive letter Z: is correctly assigned)
    • exit (closes Disk Partitioning tool)
    • cd /d Z:\EFI\Microsoft\Boot\ (changes current folder in Command Prompt window)
    • attrib Z:\EFI\Microsoft\Boot\BCD -h -r -s (removes hidden, read-only and system attributes from BCD folder)
    • bootrec /fixboot (writes a new boot sector to the system partition)
    • ren Z:\EFI\Microsoft\Boot\BCD BCD.old (renames BCD folder to BCD.old)
    • bcdboot c:\Windows /l en-gb /s z: /f ALL (en-gb is for the UK - use your own locale)


    Installation Checking

    Your boot configuration is probably correctly configured if the following commands report correctly.


    • Confirm the PC boots
    • Run bcdedit and confirm boot configuration is correct. You can use bcdedit /enum all for the full details,
    • Run reagentc /info and check recovery configuration is correct. In my case, Windows RE was not configured and I had to run regaentc /enable to enable it.
    • Run bcdedit /export <yourfilename> and confirm the command works
    • Minitool Partition Wizard may be used to explore the EFI system partition and confirm the correct files have been copied

    Your Windows 10 installation should proceed correctly once the above error is fixed. I only wish Microsoft would use more informative error messages which would have saved me significant time and effort trying to solve this problem.

    :)
     
    Steve C, Dec 4, 2015
    #1
  2. In-HoYi Win User
    In-HoYi, Dec 4, 2015
    #2
  3. 0x80004005 error after failed windows 10 update

    0x80004005 error after failed windows 10 update
     
    nitebeatdisco, Dec 4, 2015
    #3
  4. ivygda Win User

    Solution for Failed Windows 10 Update Installation Error 0x80004005

     
    ivygda, Jun 18, 2016
    #4
  5. I considered posting in a separate thread but on consideration realised that it was this thread that pointed me in the right direction. I too was receiving the 80004005 error.

    After multiple attempts to upgrade from Win7 the upgrade process was failing consistently just at the point of the first boot. My system is BIOS not UEFI based. To get into the Windows recovery environment I found that I could use the recovery environment from the Media Creation Tool - although it is better to used the DVD rather than USB for this purpose ( the USB recovery environment assigned different letters to the hidden system and other recovery partitions).

    I could not though get Bootrec /fixboot to run correctly . I kept getting a message saying that there was no recognised file system on the volume/partition . Some Googling about this suggested corruptions on the partition. What then worked for me was to run
    CHKDSK X: /f /r on each drive replacing X with the drive/partition letter concerned

    Sure enough the system partition showed bad sectors and repairs on BOOT.DAT. Checked all the other drives and then re-ran the upgrade to Win10 . Upgraded successfully on the first attempt.
    @Steve C , @ivygda - thank you both for your posts - wish I had found them a couple of weeks ago *chuckle
     
    Eireannach, Jul 17, 2016
    #5
  6. simrick Win User
    Thanks for creating an account and posting your results! Hopefully it will help others in the future. Cheers! *Smile
     
    simrick, Jul 17, 2016
    #6
  7. deklerkt Win User
    • The setuperr.log installation error logging file contains error 0x80004005 towards the end of the file and there is an error message referring to "Failed to backup BCD database".
    Solution
    The successful solution I implemented is shown below.


    I've tried for months to get the Anniversary Update to work after the dreaded 0x80004005 error without success. I did start to suspect the UEFI as root cause and searching for the error and UEFI came back with this note. And it worked first time!
    At last. Thanks so much - and indeed: if Microsoft would have given a more informative message, it would have saved you (and me) a lot of time! Thanks again.
     
    deklerkt, Jan 8, 2017
    #7
  8. Steve C Win User

    Solution for Failed Windows 10 Update Installation Error 0x80004005

    I'm pleased my fix worked for you. My laptop still had some issues after upgrading to Windows 10 so I eventually did a clean install & upgraded to a SSD at the same time. However, the fix was useful to get Windows 10 working on the laptop and get the activation / digital entitlement allowing future installations.
     
    Steve C, Jan 9, 2017
    #8
  9. deklerkt Win User
    Your description was for updating 8.1 to 10. That worked for me. My system failed going to the 1511 build last year (with finally clean installing it) but I was surprised that it also did not want to update to the Anniversary edition for - again - unclear reasons. The only change made was copying the entire system disc from 100 GB SSD to 200 GB. Maybe the UEFI partition wasn't copied correctly causing the less than informative error. But fortunately your fix works for many updates where the BCD file got corrupted.

    I had tried Paragon Hard Disc Manager's "Bootmanager" feature to replace the BCD but that did not do the trick - your manual procedure did. I'm very happy with that, so thanks again!
     
    deklerkt, Jan 9, 2017
    #9
  10. Avocado Win User
    How to recreate the system partition boot files

    GPT partition style

    BCDBoot copies the boot files from the Windows 10 partition to the EFI system partition and creates the Boot Configuration Data (BCD) store in the same partition.


    Solution for Failed Windows 10 Update Installation Error 0x80004005 [​IMG]


    MBR partition style

    BCDBoot copies the boot files from the Windows 10 partition to the system partition (active partition) on the primary hard drive and creates the Boot Configuration Data (BCD) store in the same partition. If the System Reserved partition exists, it is the system partition, if not, the Windows 10 partition is the system partition.


    Solution for Failed Windows 10 Update Installation Error 0x80004005 [​IMG]


    For more info look at post #24 in this thread: https://www.tenforums.com/installati...tml#post901772
     
    Avocado, Apr 4, 2018
    #10
Thema:

Solution for Failed Windows 10 Update Installation Error 0x80004005

Loading...
  1. Solution for Failed Windows 10 Update Installation Error 0x80004005 - Similar Threads - Solution Failed Update

  2. Windows 10 failed to upgrade to 21H2 - error 0x80004005-0x1000A The installation failed in...

    in Windows 10 Gaming
    Windows 10 failed to upgrade to 21H2 - error 0x80004005-0x1000A The installation failed in...: Hi,I have been trying using Windows Upgrade Assistant to upgrade my Windows 10 to 21H2. It failed with the following error:The error code is 0x80004005 - 0x1000AThe installation failed in the DOWNLEVEL phase with an error during PREPARE_FIRST_BOOT operation.I have visited...
  3. Windows 10 failed to upgrade to 21H2 - error 0x80004005-0x1000A The installation failed in...

    in Windows 10 Installation and Upgrade
    Windows 10 failed to upgrade to 21H2 - error 0x80004005-0x1000A The installation failed in...: Hi,I have been trying using Windows Upgrade Assistant to upgrade my Windows 10 to 21H2. It failed with the following error:The error code is 0x80004005 - 0x1000AThe installation failed in the DOWNLEVEL phase with an error during PREPARE_FIRST_BOOT operation.I have visited...
  4. Windows 10 Update failed: error 0x80004005

    in Windows 10 Installation and Upgrade
    Windows 10 Update failed: error 0x80004005: I have Windows 10 OS build 19041.630 and I'm trying to install the 20H2 version. Every time it tries to do it automatically it fails with error code 0x80004005. I've investigated and tried many different options including but not limited to the steps in here...
  5. Windows 10 2004 update fail 0x80004005

    in Windows 10 Ask Insider
    Windows 10 2004 update fail 0x80004005: I tried to update to 2004 it failed with error code 0x80004005. I tried again and again but result is the same. I am not super good with computers so any help would be appreciated. submitted by /u/Beck_s [link] [comments]...
  6. Windows 10 Stuck at 1809. Update to 1909 failed with error code 0x80004005.

    in Windows 10 Installation and Upgrade
    Windows 10 Stuck at 1809. Update to 1909 failed with error code 0x80004005.: Hi, I have had this problem since about the past 4 months or so now. Whenever I try to update my PC, it restarts then shows update failed. The error code is 0x80004005. I have tried renaming the SoftwareDistribution folder and the steps associated with that process. I have...
  7. 1903 update fails with Update Boot Code Error: 0x80004005

    in Windows 10 Installation and Upgrade
    1903 update fails with Update Boot Code Error: 0x80004005: I'm struggling with 1903 update (from 1809) as it always fails with Operation failed: Update Boot Code. Error: 0x80004005[gle=0x000000b7] error message, whatever I try - windows update, update assistant, ISO image on pendrive. I did sfc scannow and dism cleanups many times,...
  8. WslRegisterDistribution failed with error: 0x80004005

    in Microsoft Windows 10 Store
    WslRegisterDistribution failed with error: 0x80004005: Launching Ubuntu (or any other wsl system) i get such error: "WslRegisterDistribution failed with error: 0x80004005". Tried googling it, but nothing helps. I tried to restart Lxss, tried sfc, dism, etc., but no errors were found. And i still get this. [ATTACH]...
  9. windows 10 update error 0X80004005.

    in Windows 10 Installation and Upgrade
    windows 10 update error 0X80004005.: I have been trying to update to version 1803 from version 1607 but nothing is working keep getting an error 0X80004005. I have tried all of the work around, I can not even do a reinstall or restore back to factory settings. I am really at a lost. I really need some help!!!...
  10. Windows couldn't finish installing updates, 0x80004005 Error

    in Windows 10 Updates and Activation
    Windows couldn't finish installing updates, 0x80004005 Error: I've been trying to install the anniversary update but it keeps failing. When I attempt through "Check for updates" in settings it finishes downloading/installing then restarts my PC, when it turns back on I get the notification that updates couldn't finish installing. I have...
Tags:

Users found this page by searching for:

  1. 800004005-0x1000a

    ,
  2. Bootrec /rebuildbcd System device cannot be found

    ,
  3. Windows 10 version 1903 update error 0x80004005 - 0x1000A The installation failed in the DOWNLEVEL phase with an error during PRPARE_FIRST_BOOT operation

    ,
  4. 0*80004005 - 0*1000A,
  5. 0x80004005 - 0x10000aの意味,
  6. wondows phone 10 update needs update first 80004005,
  7. how to fix 0x80004005 - 0x1000a in windows 10 for free,
  8. 0x80004005-0x10000A error,
  9. windows phone currently unable to check for updates 800004005,
  10. 0x80004005 0x1000A,
  11. 0x80004005 - 0x1000A Windows 10 Installation Failed build 1803