#Microsoft #Windows Update failed? Here are 10 fixes you can try...

Don't you just hate it when Windows Update fails? Fortunately, there are ways to fix the problem. Le me show you 10 tricks you can try that should get your Windows Update updating.

You can try a bunch of tricks to fix updates when they fail. Fortunately, in my case, the very first tactic I used succeeded. I'll show you that, then I'll share with you some of the additional steps I would have taken if the update still hadn't worked.

Make a backup

I know this should go without saying, but I'm going to say it anyway. Make a backup. Before you go rummaging around in your system's innards, it's always good to make sure you can recover your data.

Yes, I've skipped this step. Yes, it's hurt my soul. Learn from my mistakes. Make a backup. Here are three great articles by our own Windows sensei, Ed Bott, that should help you backup before you go forward.

1. For VM users: Replace with a newer VM

I often have older VMs pre-configured with a lot of custom tweaks, installed applications, and other elements. As such, it's often rather time-consuming to start from a fresh Windows image. But if you're able to, rather than going through the effort to update a version of Windows that was originally installed in 2016 or 2017, start with a fresh Windows image that has the October 2018 update already installed.

2. Restart and try running Windows Update again

In reviewing this post with Ed, he told me that the most common cause of those "Update failed" messages is that there are two updates waiting. If one is a servicing stack update, it has to install first, and the machine has to restart before it can install the next update. Problem solved.  A good read on this is Liam Tung's piece, Windows update problems: Microsoft reveals why recent patches broke some PCs. Even though it talks about some Windows 7 update issues, the underlying principle is the same.

3. Try Windows Update Troubleshooter

Microsoft actually ships Windows 10 with a Windows Update troubleshooting tool. I find the easiest way to reach it is simply type "troubleshoot" in the search box. Because I'm working on an older revision of Windows 10, the screen above is shown. If your Windows 10 is from a more recent update, you'll see the following screen, which you can also reach by going to Settings > Update & Security > Troubleshooting.

This will bring up the full Troubleshooting panel. You'll want to select "Fix problems with Windows Update." This will bring up the Windows Update troubleshooter. I didn't feel I needed to use Advanced options, so I just hit Next. That said, Ed recommends taking the extra minute and using Advanced Options. He says, "That runs the troubleshooter as an admin and allows it to fix a wider range of problems." After a relatively short time, Windows reported it had found and fixed the problem. Of course, it's never a good idea to simply take Windows' word for anything like this, so I went back into Windows Update and ran it again. After a few hours, I had my result. The update that previously failed had completed properly and my system was fully up to date.

4. Pause updates

Here's an interesting trick that's a big counter-intuitive. Go to Settings > Update & Security > Windows Update and hit the Advanced Options button. Assuming you're at a relatively recent version of Windows 10, you'll see this screen: Slide the Pause Updates switch on. Restart your machine. Then, once the machine is booted up fully, go back to that screen and slide the Pause Updates switch back to Off. 

 If you tell Windows to pause updates, you'll clear all of the downloaded updates. Go ahead and try Windows Update again. Hopefully it will work. This is way easier (and less stressful) than deleting the SoftwareDistribution directory from your Windows directory, which is my next suggestion.

5. Delete the SoftwareDistribution directory

I have to say that this was a surprise. Most of the time, when I've had difficulty getting Windows Update to work, it's taken hours or days, and I've had to jump through a bunch of hoops to get it done.

If the troubleshooter doesn't work, a good first start is to simply clear away the old update files. To do this, first restart your machine in Safe Mode. It is possible to clear the Windows Update files by stopping the Windows Update service, but I've found it's just a much more reliable experience to make sure nothing's running in the background, so I go straight for Safe Mode.

From there, open File Explorer, navigate to the Windows folder, and delete the folder called SoftwareDistribution. Alternatively, you can type RMDIR /S/Q at a command prompt, which recurses throughout the entire subdirectory and deletes the appropriate update files without requiring additional confirming prompts. At this point, go ahead and restart your machine and try the update again. If you disabled the Windows Update service, remember to turn it on before attempting your update.

6. Download the latest feature update from Microsoft

If Windows Update is still failing, you might want to consider going to Microsoft to download the update directly. It's probably not a bad idea to bookmark the Download Windows 10 page on the Microsoft site. If you're using Edge, you'll be able to download the update: Go ahead and completely download the update. I'd recommend hitting Save rather than Run, so that you have the update and can reapply it if you run into any snags. Once it's downloaded, run the update image, and hopefully you'll be all set.

7. Download the cumulative quality/security updates

The tactic above may work if there's a recent feature update (as there was in my case). But there are really two kinds of updates: feature and quality/security updates. Ed has a great explanation of the differences in this article. Ed explains that most "Update failed" messages are related to security/reliability updates. 

For those, you have to go to the Microsoft Update Catalog, search using the KB number of the failed update, and download the correct standalone distribution package, then double-click to run it.

8. Run the Windows System File Checker

If all that fails, it might be time to run the Windows System File Checker. Here's a key tip for those of you familiar with using SFC (System File Checker) in Windows 7 and earlier. Now, since Windows 8, you'll need to run a tool called DISM (Deployment Image Servicing and Management) first.

So let's begin with that. First, open a command shell. Make sure you right-click on the Command menu and run in elevated privilege mode. DISM is a pretty neat tool with a lot of capabilities. Issue the command DISM /online /cleanup-image /restorehealth. This should help clean corruption among your system components. Give it a few minutes to run. Hopefully you'll have a successful result. Once you've completed your DISM run, it's time to fire off SFC. In that same elevated privilege command window, go ahead and run SFC /scannow. As it turned out, SFC did find some errors, which it repaired and then wrote to the CBS (Component Based Servicing) log. Once you've run DISM and SFC, it's time to reboot. Then, once again, try Windows Update.

9. If all else fails, repair your Windows installation

Hopefully, you're happily updating Windows by now. But if not, I have one more hammer left in my toolbox: repairing your Windows installation itself. Windows offers an in-place repair and upgrade as part of the installation process.

To take this final step, read Ed Bott's quick tip on how to make it happen.

10. Skip the update

Finally, it's worth mentioning that sometimes Microsoft ships problematic updates. You might just need to skip that update. I know, after all that pain, right? But it happens. Here's an Ed tip on hiding problematic updates and moving on with your life.

Hopefully, one of these procedures is getting you back on the way to an updated Windows.

For more tips like this, please follow me on Twitter @johnniefellix




要查看或添加评论,请登录

John Felix Odhiambo的更多文章

社区洞察

其他会员也浏览了