Share via

Windows 11 22h2 fails with 0x80004005 code. Please help.

Anonymous
2022-10-09T02:15:56+00:00

First know that I am pretty tech savvy having done PC support since well let's just say anyone knew what DOS was. ;) Yes I am retired and could really use some help. Things have changed a bit. I am only slightly rusty.

As stated in the title my upgrade to Windows 11 22h2 is failing with a pretty much generic error code. I really don't think anyone seriously knows what any of these 0x___________ codes mean because the troubleshooting is nearly always the same. So, what have I tried.

  1. Yes, far more than enough space on the M.2 NVME 1Tb C drive.
  2. The only antivirus software is MS Defender.
  3. Ran the Update Troubleshooter multiple times.
  4. Tried the MS Install Assistant
  5. Tried the ISO update (both connected and disconnected from the Internet.
  6. Tried clearing the update files, stopping services and restarting them. NOTE: Did get some odd errors trying to regserv recommended files. And yes I restored my install after this method failed not that it seemed to cause a problem.
  7. Ran the DOS command SFC ScanNow and Repair. No errors found. DISM... all returned normal.
  8. In Device manager showed hidden files and removed any drivers not being used or drivers for devices that were no longer on the system.
  9. Tried a clean install of Windows 11 22h2 from a thumb drive and YES it works but I have software (3D Max 2011) I really need and can no longer get an auth code for as well as an old version of ASUS Armory Crate which I cannot upgrade as the current version messes up my system. Working with ASUS on that. So I need this install to work. But at least this confirmed the hardware is not the problem. AND, I have it backed up so we can try anything no matter how drastic.

Symptoms seem to be that the install continues normally and even finishes and tells me I need to reboot. Reboot shows 50% pretty quickly then enters into Windows where depending on how I tried to install I ether get a simple messaging say Windows Installed Failed or it looks normal and I see the 0x80004005 code in the Windows update telling me I can try again. So it seems it fails at the very end. Perhaps some files are failing to update at the very end and it reverts back though I never see any sign that it's failing till I get in Windows and see the problem. Sorry not much to go on.

I know how to use the Event Viewer but am not great at interpreting the contents. I would love to know what to look for but in the event that the list for this error is too long I can upload a clean set of the files (cleared then run the update so only the update and log on are recorded.)

Oh, some things to know about the system.
ASUS 590-E, Intel i9 11900k but not overclocked.
64 Gigs RAM
GeForce 3060 12GB OC V2
1TB WD SN-850 NVMe C-Drive
Many assorted other drives but have disconnected all of them except a secondary NVMe that acts as my Windows DATA drive. Things such as software downloads, PST files for Outlook and such, music....

Do wish MS would not make the install so neat and clean you can't even tell at what point it fails. Users are so protected from the data of an install you no longer can see where it fails. I much preferred where you could see all the lines of code doing the install and go AHHHA!!! there is the problem! Ah the good ol days.

Thanks in advance and let me know if I can provide any further info. Much appreciate any help.

Windows for home | Windows 11 | Install and upgrade

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

8 answers

Sort by: Most helpful
  1. TekkieBoy 12,541 Reputation points Volunteer Moderator
    2022-10-12T05:37:35+00:00

    Hello

    From my own experience I know that to fix the error you need to delete and recreate the EFI partition and then recreate the boot files on it.

    With dual boot systems that have Linux as the second operating system, for example, this is unfortunately problematic.

    Greetings

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-10-11T00:02:21+00:00

    Still no luck and I believe I have tried everything on the list. It seems the standard System update comes the closest to finishing as it prompts me to reboot and even tells me to wait. Boots back up as if it worked but the Update clearly shows a fail.

    I am not sure if a SetupDiag will help?

    Matching Profile found: FindAbruptDownlevelFailure - 55882B1A-DA3E-408A-9076-23B22A0472BD

    SetupDiag version: 1.6.2107.27002

    System Information:

                    Machine Name = DARKSTAR

                    Manufacturer = ASUS

                    Model = System Product Name

                    HostOSArchitecture = x64

                    FirmwareType = UEFI

                    BiosReleaseDate = 20220127000000.000000+000

                    BiosVendor = 1402

                    BiosVersion = 1402

                    HostOSVersion =

                    HostOSBuildString = 22000.1.amd64fre.co_release.210604-1628

                    TargetOSBuildString = 10.0.22621.521 (ni_release_svc_prod1.220908-2241)

                    HostOSLanguageId =

                    HostOSEdition = Professional

                    RegisteredAV = Windows Defender

                    FilterDrivers = FileInfo

                    UpgradeStartTime = 10/10/2022 2:57:34 PM

                    UpgradeEndTime = 10/10/2022 3:28:56 PM

                    UpgradeElapsedTime = 00:31:22

                    CV = UEQZWNZo10CzIRgz

                    ReportId = 8E409263-45B4-438D-AD01-6E9674AB032A

    Error: SetupDiag reports abrupt down-level failure.

    Last Operation: Finalize

    Error: 0x80004005 - 0x60016

    LogEntry: 2022-10-10 15:28:20,
    Error                 SP     Operation failed: Update Boot Code. Error: 0x80004005[gle=0x000000b7]

    Refer to "https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes" for error information.

    Last Setup Phase:

    Phase Name: Finalize

                    Phase Started: 10/10/2022 3:28:11 PM

                    Phase Ended: 1/1/0001 12:00:00 AM

                    Phase Time Delta: 00:00:00

                    Completed Successfully? False

    Last Setup Operation:

    Operation Name: Update Boot Code

                    Operation Started: 10/10/2022 3:28:19 PM

                    Operation Ended: 1/1/0001 12:00:00 AM

                    Operation Time Delta: 0:00:00:00.0000000

                    Completed Successfully? False ______________________________________________________________________________________________________

    I highlighted what I think might be important. As you can tell each attempt takes up to 30 minutes and I have spent several days at this. I tried to export my 3DS Max license but they shut that down too. Just not supporting my old version with new or exported auth codes.

    I hate to be stuck on this version of Windows 11 as the reason for the new system was to keep up to date. Thanks for all your help. Hopefully you have a few more tricks up your sleeve.

    Oh, I didn't post an image of Disk Manager because I had it down where it ONLY showed the single NVMe drive. I also scanned the drive for errors. None found. Malware bytes only reported software I had downloaded to try and fix the problem as potentially unwanted software in my download folder. No Root Kit found.

    Darv

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-10-09T23:18:20+00:00

    Darv -

    X is almost always installation media, it appears to be pointing to Sources folder in the mounted ISO.

    AMD64 is only listed to satisfy AMD's copyright on 64 bit architecture. It misleads many people, but still they insist.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-10-09T23:08:20+00:00

    Hey Greg,

    Thanks for the reply. I haven't gotten through the entire list of items you gave me. Many of them I had already checked such as the BIOS. I am still working to get through your list but I found some interesting things in the Panther folder.

    One note of interest is that I went into the Panther directory and looked at the very basic setuperr.log which has only 4 lines.
    2022-04-09 18:27:41, Error [0x060126] IBS CallBack_ImageWasSelectedInUi: An error occurred while removing the MultiEdition key from the blackboard.[gle=0x00000490]2022-04-09 18:33:33, Error [setup.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x12022-04-09 18:33:34, Error [setup.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x12022-04-09 18:33:39, Error CBS Failed to load Session:5580_28591000 [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

    Note the 0x8007002 Error of File Not Found.

    Based on this I went to the cbs.log which is far longer but a couple of lines stood out as really strange. Just after starting the Dism.exe it reports a path

    X:\Sources\dism.exe

    I have no X drive. So this must be something makes?
    Second and most disturbing is this line:
    022-04-09 18:32:13, Info DISM DISM.EXE: Host machine information: OS Version=10.0.22000, Running architecture=amd64, Number of processors=16

    amd64? This is an Intel i9 11900k. How could it possibly detect AMD64? Unless I am just misunderstanding what amd64 architecture means and I don't think I do. Following that line is where all kinds of 0x___________ errors start popping up. I checked and the SysInfo clearly shows an i9.

    I am going to go through the process of disconnecting all my external and internal drives and try again. But the AMD thing definitely has me stumped.

    Thanks
    Darv

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-10-09T03:06:12+00:00

    Hi Darvin. I'm Greg, 10 years awarded Windows MVP, here to help you.

    1. Here's how to read the Windows 11 Panther log:

    https://www.anoopcnair.com/windows-upgrade-proc...

    1. Here are fixes for the error you got:

    https://10scopes.com/fix-update-error-code-0x80...

    https://www.howto-connect.com/error-code-0x8000...

    https://superuser.com/questions/1729642/how-to-...

    https://www.youtube.com/watch?v=DUkzUpoEkQA

    1. Try install by the most stable method using ISO image file. Follow the steps under Download Windows 11 DIsk Image ISO, by clicking the link "Before you Start" at https://www.microsoft.com/en-in/software-downlo... to install the 22H2 update using ISO. Guide here:

    https://www.ghacks.net/2022/09/21/how-to-update...

    1. If it fails again try these fixes for the most common 22H2 Upgrade problems:

    https://pureinfotech.com/windows-11-22h2-known-...

    https://learn.microsoft.com/en-us/windows/relea...

    https://piunikaweb.com/2022/09/22/windows-11-22...

    https://windows101tricks.com/windows-11-upgrade...

    1. Update your drivers and BIOS/UEFI firmware from the PC or motherboard maker's Support Downloads web page, using the full model number, Serial Number or Dell Service Tag on sticker. Compare the latest drivers available for download with the ones presently installed in Device Manager reached by right clicking the Start button. Make sure you have the latest BIOS or UEFI firmware, Chipset, Display (Video), Sound, USB3, Bluetooth, Network and all other drivers, or else download and install the latest now.

    Updating drivers from the Device Manager or Windows Update is rarely enough. The most basic thing we need to learn to maintain a PC is keep the latest manufacturer's drivers installed from their Support Downloads web page. Everything else depends on this.

    1. Expedite install of all Windows Updates (including Optional) in Settings > Update & Security > Windows Update > Check for Updates, watching for needed restarts, then go back to check again until no more are offered.

    Then go into Microsoft Store app > My Library > Get Updates and expedite all Store app Updates, too, until no more are offered.

    1. Run a full Windows 11 Disk Check: https://allthings.how/how-to-run-chkdsk-in-wind.... This is to check the disk and file system condition which can factor into any case, and sometimes later proves to be the cause if it's left out.
    2. Establish a Clean Boot to turn off Startup Freeloaders that can conflict and cause issues:

    https://www.makeuseof.com/clean-boot-windows-11/

    1. Test for account corruption by creating a new Local Admin account to see if the problem goes away:

    https://pureinfotech.com/create-local-administr...

    Sign into the new account, test it works correctly, if so move files over, test all apps work or reinstall any that don't. Then when ready delete the old account in Settings > Accounts > Family & Other Users.

    You can change it to your Microsoft account if desired in Settings > Accounts > Your Info > Sign in with a Microsoft Account Instead.

    1. Download, install and run a full scan with free Malwarebyes from https://www.malwarebytes.com/mwb-download/ after enabling Root Kit scan in Scan Settings. Clean Up anything it finds and then run again. Turn off Real Time trial in Control panel to keep as on-demand scanner.
    2. Run System File Checker/DISM in WIndows 11 to find and fix any broken System files:

    https://www.elevenforum.com/t/use-system-file-c...

    1. If that fails you can do the superior Clean Install following this guide:

    https://pureinfotech.com/clean-install-windows-...

    Create bootable media following the steps under Create Installation Media, clicking to read the link "Before you Start" at https://www.microsoft.com/en-in/software-downlo....

    Make sure during the booted install to unplug all other drives, boot the media as a UEFI Device, choose Custom Install, delete all partitions down to Unallocated Space to get it cleanest, choose the Unallocated Space, click Next to auto-create and -format the needed partitions and begin install - this makes it foolproof.

    After install expedite all Windows Updates including Optional until no more are offered. Then import any drivers from the PC maker's Support Downloads web page for your model that are newer, or branded instead of generic. The most basic thing we need to learn to maintain a PC is how to keep the latest manufacturer's drivers current. Windows drivers are rarely enough.

    1. If failure persists post a screenshot of Disk Management, which I read like a doctor reads X-rays. Follow the steps here so I can see everything needed to advise you: http://answers.microsoft.com/en-us/windows/foru...

    Please report back results for each step in every link, so I know what else to suggest. I will keep working with you until it's resolved.

    ______________________________________________

    Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.

    Was this answer helpful?

    0 comments No comments