Fix just about any Windows Update issue
I’ve seen a lot of Windows Updates issues, and no I’m not talking about updates breaking your system, I’m talking about Windows Updates not working at all. I’m sure you’ve probably seen it at least once before. I know I have, when ever I fix someones computer I always check Windows Updates to make sure it’s working properly and I typically run into an error that the user has been ignoring.
Well I made a script for that, this one I made in Batch because you never know what version of Windows or PowerShell they are running, and it’s faster than doing a “powershell set-executionpolicy unrestricted” and then running my script. PowerShell is also a bit slower with runtime, Batch is old and fast :-).
I made this thing years ago, back when I graduated high school when Windows XP was out, it’s worked on Windows all the way up to a recent Windows 10 (10041) issue I had. Any who here’s my script, I commented as much of it as I could, it says it’s for a certain error but really it works for almost every Windows Updates error I’ve had.
All you have to do is copy this, open Notepad (or what ever text editor like Sublime), then save it as a .bat file, then just double-click the file
Share with who ever you want, it’s free to share or reuse how ever you want.
Let me know what you think of this article on twitter @martinoj2009!