Share via

How can I restore missing DLLs / fix windows update failing to retrieve updates

Anonymous
2021-09-03T00:34:47+00:00

I'm working with windows 10 on a laptop I've had for several years. For the better part of a year now, I've been struggling to get several windows updates to download to my computer. The updates that are failing to come through are:

As in the image, these seem to be stuck at 0% forever. Occasionally, one or two of them will fail with the hex code 0x80d02002, with the option to retry, but I get stuck in the same loop.

In my attempt to fix this, I've tried several things, I'll list as many as I can remember below:

  • restarting my computer (duh)
  • running virus scans
  • clicking "retry" several times (I read that it's possible to get the hex code above if the updates you're trying to download are too big to be retrieved in one download attempt, but if you retry a bunch it will download the update in chunks, but that doesn't seem to be working)
  • running the windows update troubleshooter (it tries a couple things, then says that it couldn't find a problem)
  • downloading the latest cumulative update from microsoft and running that installer (after the installation finishes, the same updates are listed as available and still don't download)
  • pausing and unpausing windows update / restarting the windows update service
  • checking for system file errors with "DISM.exe /Online /Cleanup-image /Restorehealth" and "sfc /scannow" (sometimes, sfc reports that it found and fixed some violations, but that doesn't seem to fix the issue at hand"
  • booting in a safe mode and attempting the updates in that environment
  • stopping the update services, emptying out the /SoftwareDistribution/ folder, and restarting the services (often, windows claims that it can't delete some files because they are being used by another process, but sometimes it has let me delete everything and this hasn't fixed the issue)
  • resetting windows with "Reset this PC" -> "Keep my files" (I do want to keep my files :) )
  • following the instructions here: https://docs.microsoft.com/en-us/windows/deployment/update/windows-update-resources

that last bullet is what finally brings me here to write this. I can follow the instructions up to the point where it's asking me to re-register all the relevant DLL files, but I've found that many of them throw an error when I attempt to register them, and this may be the key symptom that will help identify and solve my problem. For many of the DLLs, I get an error such as this one:

the list of DLLs that the instructions ask me to register that fail with this error are:

  • mshtml.dll
  • shdocvw.dll
  • browseui.dll
  • wuaueng.dll
  • qmgr.dll

and on top of that, some of the DLLs throw a different error that looks like this:

that list of failures includes:

  • msxml.dll
  • gpkcsp.dll
  • sccbase.dll
  • slbcsp.dll
  • initpki.dll
  • wuaueng1.dll
  • wucltui.dll
  • wuweb.dll
  • qmgrprxy.dll
  • wucltux.dll
  • muweb.dll
  • wuwebv.dll

It's possible that the instructions linked above are critically out of date: it also mentions navigating to a folder at "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat" to delete some files, but that path is wrong, the correct path is \ProgramData\Microsoft\Network..., and once you get there, I didn't actually have any qmgr*.dat files in that folder, I found file(s) named "qmgr.db" and "qmgr.jfm".

That aside, I'm really hoping all these broken or missing DLLs can help point to the underlying issue I'm having. I've been struggling with this for a while as I mentioned and am open to any ideas, diagnoses, and potential solutions. If you read this in full thanks, and thanks in advance for your advice.

Windows for home | Windows 10 | Windows update

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
Answer accepted by question author
  1. John DeV 162K Reputation points Independent Advisor
    2021-09-03T01:06:03+00:00

    Hello alvinmattallen,

    Good day! I'm John Dev a Windows user like you and I'll be happy to assist you today. I know this has been difficult for you, Rest assured, I'm going to do my best to help you.

    Please try the following methods below.

    **Run the Windows Update Troubleshooter

    **Make sure Windows Update and Background Intelligent Transfer services are available and running.

    Click Start, type services.msc in the Start Search text area, and then click services.msc in the programs list. If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

    Double-click Background Intelligent Transfer Service.

    If the Startup status lists Stopped, click Start and then click OK. If the status is Running, right click then select Restart

    Double-click Windows Update.

    If the Startup status lists Stopped, click Start and then click OK. If the status is Running, right click then select Restart

    **Reset Windows Update Components

    https://www.tenforums.com/tutorials/24742-reset...

    If the issue still persists, Please try performing a Repair Install of Windows 10 with an In-place Upgrade. It will definitely help in resolving update errors. Performing this can repair broken operating system files while your personal files, settings and installed applications will not be affected.

    **Few things to check on the PC

    1. Back up your personal data and files to an external hard drive, USB thumb drive.
    2. Ensure you are signed in or have administrator rights to do a repair install
    3. Unplug all external peripherals except for the Mouse, Keyboard, and LAN cable before starting
    4. Disable or uninstall any 3rd party Anti-Virus program to prevent it from interfering with the upgrade

    Download the media creation tool(Click Download tool now) and save it to your computer.

    https://www.microsoft.com/en-us/software-downlo...

    Open the tool and select Upgrade this PC now.

    Make sure to select Keep personal files and apps.

    It might take some time to install Windows 10. Your computer will restart a few times, Make sure you don’t turn off your PC

    Kindly let me know if this helps or if you have any further concerns.

    Kind regards,

    John DeV

    Independent Advisor

    Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    2 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-09-06T00:14:23+00:00

    Hi,

    I am pleased to report that Windows Update thinks I am now up to date! I had done the in-place upgrade tool at some point in the last several months, but it seems that the batch file in the first link you posted got windows update unstuck, and then the in-place upgrade was able to fully work and get all the patches. All seems well now, thanks for your kind advice!

    1 person found this answer helpful.
    0 comments No comments
  2. John DeV 162K Reputation points Independent Advisor
    2021-09-04T22:43:09+00:00

    Hello alvinmattallen,

    Thank you for updating me with that information. Since errors keep appearing, I would recommend to proceed performing an In-place upgrade. Please let me know how it goes.

    Kind regards,

    John DeV

    Independent Advisor

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-09-04T18:17:55+00:00

    Thanks for your suggestions!

    running the batch file in the instructions you linked has gotten me past the roadblock with 0% downloading on several updates. I think those updates have installed successfully, but now Windows Update is showing the following error when I attempt to check for updates again, and it persists after restarting the windows update service, or restarting my computer:

    Do I still need to run the in-place Windows Upgrade tool to fix this, or is there a different solution for this error code?

    0 comments No comments