Open the Settings app using Win & I hotkey.
Select Start > Settings > Update & Security > Troubleshoot. Next, under Get up and running, select Windows Update > Run the troubleshooter.
Log in as Administrator,
Open Command Prompt.
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Navigate to the C:/Windows/SoftwareDistribution folder, and rename this to softwareDistribution.old.
Next, browse to the C:/Windows/System32/Catroot2 Folder, and rename this to catroot2.old.
After you rename both these folders, restart the services that you have stopped earlier.
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
Restart Windows to confirm the recent changes.