From the myITforum TipLine:
One of the first things Microsoft support will recommend to troubleshoot Windows Update problems on a single PC is to reset the Windows Update agent – which essentially means shutting down the services, removing certain cached files, registering system files, and then restarting the services. The following script from Manuel F. Gil performs this process so you can automate it.
Download: Reset Windows Update Agent – This Script allow reset the Windows Update Agent resolving issues with Windows Update
Looking for an awesome, no-nonsense technical conference for IT Pros, Developers, and DevOps? IT/Dev Connections kicks off in San Francisco in 2017!