Run the Windows Update Troubleshooter.
Open Settings > Navigate to Update & Security > Troubleshoot.
Select Windows Update and click Run the troubleshooter.
Lack of adequate disk space can prevent updates from installing.
Open Command Prompt as Admin and copy-paste the following commands:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
Resetting Windows Update components can resolve issues:
Open Command Prompt as Admin and run these commands:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Rename the SoftwareDistribution and Catroot2 folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
Alternatively:
- Visit the Microsoft Update Catalog.
- Search for KB5051974.