Blog

How to troubleshoot and reset Windows Update – Computerworld

Figure 6: The filename is so long you need to open Properties to see it on the desktop.

Ed Tittel / Foundry

Cut and paste the filename into the command line, and then hit the Enter key to run it. That’s all there is to it.

This batch file takes a while to run and involves checking and stopping WU services (bits, wuauserv, and cryptsvc). It then flushes the DNS cache, clears pending update requests, deletes temporary files and folders related to WU downloads, and resets Windows Update policies in the Windows Registry. Then it restarts the services it stopped, and finally ends by offering a Restart button. Use it, because the PC must restart for all these changes to take effect.

I’ve used this batch file on most of my Windows 10 and 11 PCs (and 7, 8, and 8.1 PCs before that), and it’s worked in every case except two to put WU back in action. On the machines where it failed, it turned out I had a hardware problem (a failing SSD) on one of them. On the other, Microsoft’s update was later documented to pose problems for certain PCs.


Source link

Related Articles

Back to top button
close