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. 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]...
  3. Fix Windows Update Error 0x80004005 on Windows 10

    in Windows 10 News
    Fix Windows Update Error 0x80004005 on Windows 10: [ATTACH] [ATTACH]Microsoft regularly keeps on pushing updates to its supported versions of Windows operating systems to make it better and defend it against various types of vulnerabilities. Pushing fixes to billions of active Windows devices every then and now is not [...]...
  4. 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!!!...
  5. Upgrade to 1809 fails with error 0x80004005-0x1000A

    in Windows 10 Installation and Upgrade
    Upgrade to 1809 fails with error 0x80004005-0x1000A: Running 1803 with dual boot with SSD as main partition and hard disc as 2nd partition. I have tried all of the possible "fixes" to no avail. Had similar problem going to 1803 and ended up doing a clean install. Do not want to do that again. Error message says Downlevel...
  6. windows 10 update error code 0x80004005

    in Windows 10 Installation and Upgrade
    windows 10 update error code 0x80004005: windows 10 update error code 0x80004005 https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-10-update-error-code-0x80004005/88215c00-034a-4b75-8ee5-ad1823cccd60
  7. Creators update - error 0x80004005

    in Windows 10 Updates and Activation
    Creators update - error 0x80004005: Everytime I try and update Windows to the Creators update I get the error code: 0x80004005 I have tried a few solutions online such as SFC scan, renaming/deleting Software Distribution folder, and Windows troubleshooter. All my Software including Windows is genuine and...
  8. 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...
  9. Error 0x80004005 after installing lame_enc.dll

    in Windows 10 Support
    Error 0x80004005 after installing lame_enc.dll: Information redacted....found out it was nothing to do with LAME, and everything to do with the latest iTunes update. Until Apple fixes it, there's nothing anybody can do. Please delete this. 101451
  10. Update to Windows 10, version 1709 - Error 0x80004005

    in Windows 10 Installation and Upgrade
    Update to Windows 10, version 1709 - Error 0x80004005: Hi,I'm trying to update my HP Pavilion running Windows 10.It ends with:Feature update to Windows 10, version 1709 - Error 0x80004005I've tried everything suggested in the following article:FIX: Windows 10 Update Error 0x80004005 The system logs have the following:...
Tags:

Users found this page by searching for:

  1. 800004005-0x1000a

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

    ,
  3. 0*80004005 - 0*1000A

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