Windows 11 Update KB5051987 Not Installing Error 0x800f0838/0x800f0993 FIX
The Windows 11 Update KB5051987 failing to install with errors 0x800f0838 and 0x800f0993 suggests issues related to update dependencies, corrupted system files, or Windows Update component failures. Here’s what these errors typically mean and their causes:
Causes of Windows Update Error 0x800f0838
This error generally appears when the update process encounters missing dependencies or when Windows cannot validate the update files.
Corrupted or Incomplete Update Files
The update files stored in SoftwareDistribution or Catroot2 may be damaged, preventing Windows from installing the update properly.
Outdated or Missing Required Updates
KB5051987 may depend on a previous update that is either missing or not properly installed.
System File Corruption
If critical Windows system files are missing or damaged, Windows Update may fail to apply the update.
Windows Update Services Not Running
Services like Windows Update (wuauserv), Background Intelligent Transfer Service (BITS), or Cryptographic Services might be stopped or malfunctioning.
Causes of Windows Update Error 0x800f0993
This error is closely related to Windows Update component failures and often appears when there’s an issue with update installation or dependency handling.
Windows Update Components Are Corrupted
If Windows Update components are not functioning correctly, updates may fail to install.
Insufficient Disk Space
If the system drive lacks sufficient space, the update process might fail.
Network Connectivity Issues
If the update process is interrupted due to a weak or unstable internet connection, Windows might fail to verify or download the update.
Third-Party Software Interference
Antivirus or firewall programs might block update processes, causing installation errors.
Link: https://www.microsoft.com/en-us/software-download/windows11
This troubleshooting guide will work Windows 11 operating systems (Home, Professional, Enterprise, Education) and desktops, laptops, tables and computers manufactured by the following brands: Asus, Dell, HP, MSI, Alienware, MSI, Toshiba, Acer, Lenovo, razer, huawei, dynabook, LG , vaio, Microsoft Surface among others.
Copy and paste this:
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
cd /d %windir%\system32
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll
netsh winsock reset
netsh winsock reset proxy
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
》 CHAPTERS 《
00:00 Intro
00:15 Solution 1
03:49 Solution 2
05:27 Solution 3
06:35 Solution 4
07:59 Outro