Some of you may want to consider a Refresh or Reset operation. This will allow Windows Update to delete pending tasks and build a fresh new update check.
Installing Windows updates in a clean boot state prevents them being blocked by some Windows Services and software - including security software. Now restart your computer and run Windows Update. Although Windows includes a built-in troubleshooter, download one from there as it includes more fixes.
Here are a few steps you may want to try and see if it helps resolve your problem. If you are facing this issue, your computer will normally take minutes to revert the changes.
This is a generic error that might appear any time a Windows update fails.