Windows includes a built-in troubleshooter that can diagnose and fix common update installation issues. Here's how to run it:
Open Settings.
Go to Update & Security.
Select Troubleshoot from the left pane.
Click on Additional troubleshooters.
Choose Windows Update and click "Run the troubleshooter."
=========================
Open the Command Prompt as administrator.
Type the following commands one by one, pressing Enter after each:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
net start wuauserv
net start cryptSvc
net start bits
net start msiserver