Hope you doing well Wajd Mariam. A few things you can try:
Check Prerequisites and Environment
- .NET Framework Version: Make sure the exact version(s) required by the patch are installed and correctly registered.
- Windows Update Service: Ensure that the Windows Update service and its dependencies are running properly.
- Disk Space: Confirm you have enough disk space on the system drive.
Run the System Update Readiness Tool (CheckSUR)
On Windows Server 2012 R2, run the System Update Readiness Tool or use the DISM tool to scan and fix component store corruption:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
This can repair corrupted files that might be blocking the update.
Manually Reset Windows Update Components
Sometimes the Windows Update agent gets stuck or corrupted:
- Stop services:
wuauserv
,cryptSvc
,bits
,msiserver
- Rename or delete these folders:
-
%windir%\SoftwareDistribution
-
%windir%\System32\catroot2
-
- Restart the services and try the patch again.
Since CBS logs didn’t help, check:
-
C:\Windows\Logs\DISM\dism.log
-
C:\Windows\WindowsUpdate.log
(useGet-WindowsUpdateLog
cmdlet to generate readable logs on Server 2012 R2)
Just check if any of those solve your issue, or if you find additional messages. There are a few other things to try if none of the above work, or if you've already tried them.