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.
About 5 days ago, I found that Kaspersky isn’t updating the virus database automatically, and decided to find a fix for this issue.
If you’re also having trouble in automatically updating Kaspersky Antivirus or Kaspersky Internet Security, you could try out the following solutions.
NOTE: We assume that your PC is connected to the internet and you haven’t blocked Kaspersky in any way.
Follow these steps in your app to determine whether or not the running version of WUA is the most recent one (or at least a current one).
If the running version of WUA is too old or if WUA isn't running at all, install the most recent version of WUA (or at least a current version of WUA).