Follow these steps to solve the Windows update error:
1. Restart the computer, then turn Automatic Updates back on. Open Windows Update, select Change Settings.
2. Under Important updates, click the dropdown and select Install updates automatically (recommended).
3. Click OK to save your changes, and then select Check for updates to download and install any remaining updates.