How-to Solve for Your Windows Update Hanging/Failing

Since this is IT, first things first: Have you tried turning it off and on again?


Filed under:

Since this is IT, first things first: Have you tried turning it off and on again?

Ok, if you’ve already tried the basics and your Windows 10 or Server 2016 is still failing to update, these next steps might help you close those patching tickets. I recently had a couple different looping/hanging/failing issues when running Windows Update and if it weren’t for the solutions listed below, I think I would still be struggling with wuauserv.

The first thing I tried was clearing out the update packages that the update services had already downloaded and cached, thinking that maybe something in there was corrupt or incomplete and the updater didn’t know how to handle it.
 
Follow these steps:

  1. Run command prompt as administrator.
  2. In CMD, run ‘net stop wuauserv’, then run ‘net stop bits’.
  3. Navigate to C:\Windows\SoftwareDistribution\Download.
  4. Either rename SoftwareDistribution\Download to retain its contents, or you delete all files and folders contained within SoftwareDistribution\Download.
  5. In CMD (again with admin privileges) run ‘net start wuauserv’, then run ‘net start bits’.

The next time you run Windows Update, the service will have to download new copies of any packages that were already cached. If any of the cached packages were causing the problem, the update should complete without further issue.

There are also files other cached files inside the SoftwareDistribution folder not in the Download folder. If clearing out the Download folder does not allow Windows Update to complete successfully, the next thing to try would be clearing out the entire SoftwareDistribution folder.
To do this, follow the same steps as above, but in step 4, rename or delete the contents of SoftwareDistribution rather than SoftwareDistribution\Download.

When I was having Windows Update issues, clearing the cached packages fixed the issue one some machines, but not others. What finally allowed the updates to complete on the rest of our Windows machines were standalone update installer packages.
If all else fails, these installers are standalone .exe files that are cumulative, meaning they contain all past updates. This means nothing to cache! It’s all in the .exe! 

Follow these steps:

  1. In IE navigate to https://www.catalog.update.microsoft.com/Home.aspx
  2. In the search box, enter “Cumulative Update” along with your Windows installation’s type/version. (10, Server 2016, etc.)
  3. From the search results, find the latest Cumulative Update for Windows <version>  and click the Download button.
  4. Reboot to run the standalone update installer from a clean environment and follow the prompts to reboot again in order to install all of the updates.

I recommend rebooting just before running the standalone update installer because most of the machines I ran the standalone update installer on completed first try, (after finding/trying standalone package) but one or two of them still looped/failed until trying again after a fresh reboot. I believe the previous attempts to update were somehow still getting in the way until I stopped everything and rebooted to a clean environment.

And there you have it. I hope these methods will allow you and anyone else reading to resolve any Windows Update issues and save as much time as they did for me.
 

Similar posts

Get notified on new marketing insights

Be the first to know about new B2B SaaS Marketing insights to build or refine your marketing function with the tools and knowledge of today’s industry.