How to Fix KB5037768 Update Fails to Install in Windows?
When users attempt to install Windows update KB5037768, they either encounter the error code 0x800f0922, or the installation process gets stuck at 20%. This error indicates a problem with the system’s ability to access the necessary installation files or services, mostly occurring due to insufficient disk space on the system reserved partition.
Other issues, such as network problems or corrupted Windows update components, can also cause this issue.
1. Run SFC and DISM
The problem can occur due to corrupted system files; running SFC (System File Checker) and DISM (Deployment Image Servicing and Management) utilities will scan for corrupted files, perform repairs, and restore system integrity.
- Open the Search menu, type cmd, and run the Command Prompt as an Administrator.
- Enter the following commands:
sfc /scannow Dism /Online /Cleanup-Image /RestoreHealth
- Restart your PC once the processes are completed.
2. Run Windows Update Troubleshooter
Windows includes a built-in Windows Update Troubleshooter that can scan and fix potential issues within the update components.
- Press Windows + I to open Settings.
- Navigate to the System > Troubleshoot > Other troubleshooters section.
- Click on the Windows Update troubleshooter and wait for it to complete the process.
3. Reset Windows Update Components
If the components required for the update process malfunction, the process may not complete correctly.
- Right-click on the Desktop, choose New, and click on Text Document.
- Open the newly created text document.
- Enter the following commands into the document:
SC config trustedinstaller start=auto net stop bits net stop wuauserv net stop msiserver net stop cryptsvc net stop appidsvc Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.old Ren %Systemroot%\System32\catroot2 catroot2.old regsvr32.exe /s atl.dll regsvr32.exe /s urlmon.dll regsvr32.exe /s mshtml.dll netsh winsock reset netsh winsock reset proxy rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN net start bits net start wuauserv net start msiserver net start cryptsvc net start appidsvc
- Go to File > Save As…
- Name the file ‘Wufix.bat‘, change the Save as type to All Files, and save it on the Desktop.
- Right-click on the file and select Run as Administrator.
- All commands will execute, resetting the Windows Update Components.
4. Delete the $WinREAgent folder
WinREAgent is a folder in the Windows operating system that is automatically created during updates or upgrades. This folder corresponds to the Windows Recovery Environment and contains temporary files that can be used to load the last version or checkpoint in case of an emergency during the update process. Sometimes it can contain corrupted data which can lead to problems. Deleting this folder might fix your issue.
If your hidden files are not shown, follow these steps.
- Press Windows + R, type “C:/” and hit Enter.
- Right-click on the $WinREAgent folder and hit the delete button.
5. Enable App Readiness Service
App Readiness is a service in Windows that gets apps ready for use when users sign into Windows. If it fails to load, it can cause issues with the Windows update process. Changing its Startup mode to automatic will start it every time, which can help in solving this issue.
- Press Windows + R, type “services.msc” and press Enter.
- Locate the “App Readiness” service, right-click on it, and hit Properties.
- Change the startup type to Automatic and press OK.
- Restart your PC afterward.
5. Use Media Creation Tool
Sometimes, the default Windows updater may encounter bugs that prevent updates from installing correctly. In these cases, the Microsoft Windows 10 Update Assistant is a reliable alternative. This tool is specifically designed to download and install Windows updates.
You can read our article on how to use the Windows 10 Update Assistant.
If the Update Assistant does not resolve your issue, you can use the Media Creation Tool to install updates. This tool bypasses the normal update installation process, forcing the installation process without interruptions.
To learn how to use the Media Creation Tool, check out our detailed article.