Updating windows update agent
Additionally, if Windows Update on the computer is in such a state that automatic self-updates are failing, you can't use the WUA API to recover from that state.
When necessary, to ensure that users have the latest WUA, prompt them to install KB949104 or the latest WUA.
But even if you know the version of WUA is out of date, you can't use the WUA API to force a self-update.
If the upgrade fails during the client installation, the installation is not attempted again and the Windows Update Agent must be upgraded using another method.