Today I came across a computer that would try to install Windows updates, then show an error message that the updates failed, and the changes would revert. It happened again and again every time the computer would shut down. I remembered using a hotfix for this once before and used it again. The Hotfix can be used for multiple issue's, but just choose the one that says windows update. It repairs the registry and allows the download and install of the updates again. Here is the link.