Run Windows Update Troubleshooter from Settings → Update & Security → Troubleshoot, then execute sfc /scannow in Command Prompt as administrator to repair corrupted system files preventing KB5004945 installation.

Fix Windows KB5004945 Update Error – Windows 10, Windows 11 2026
KB5004945 update installation fails due to corrupted system files, insufficient disk space, or Windows Update service conflicts. Primary fix involves running SFC scan and resetting Windows Update components.
Last updated 11 Mar 2026
Symptoms
- KB5004945 update fails to install with generic error messages
- Windows Update shows 'Installation failed' or 'Download failed' status
- System restarts but update rollback occurs automatically
- Error codes 0x80070005, 0x800f0922, or 0x80240034 appear during installation
- Windows Update service becomes unresponsive or crashes
- System performance degradation after failed installation attempts
Possible Causes
- Corrupted Windows Update components or system files
- Insufficient disk space on system drive (less than 10GB free)
- Third-party antivirus software blocking update installation
- Windows Update service dependencies not running properly
- Registry corruption affecting update mechanisms
- Conflicting pending updates or incomplete previous installations
- Group Policy restrictions preventing automatic updates
1Run Windows Update Troubleshooter and SFC Scan
Run Windows Update Troubleshooter and SFC Scan
Start with the built-in troubleshooter to automatically detect and fix common update issues:
- Press Windows + I to open Settings
- Navigate to Update & Security → Troubleshoot → Additional troubleshooters
- Click Windows Update and select Run the troubleshooter
- Follow the on-screen prompts and apply any recommended fixes
- After completion, open Command Prompt as administrator
- Run the System File Checker scan:
sfc /scannowWait for the scan to complete (typically 15-30 minutes). If corrupted files are found and repaired, restart your computer.
Verification: Go to Settings → Update & Security → Windows Update and click Check for updates. KB5004945 should now install successfully.
2Reset Windows Update Components
Reset Windows Update Components
Manually reset all Windows Update services and clear the update cache:
- Open Command Prompt as administrator
- Stop Windows Update services:
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- Restart the Windows Update services:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver- Clear the Windows Update cache completely:
dism /online /cleanup-image /startcomponentcleanupVerification: Restart your computer and check Windows Update. The KB5004945 update should appear and install without errors.
3Use DISM Tool to Repair Windows Image
Use DISM Tool to Repair Windows Image
Repair the Windows system image using the Deployment Image Servicing and Management tool:
- Open Command Prompt as administrator
- Check the current image health:
dism /online /cleanup-image /checkhealth- Scan for component store corruption:
dism /online /cleanup-image /scanhealth- If corruption is detected, repair the image:
dism /online /cleanup-image /restorehealth- After DISM completes successfully, run SFC again:
sfc /scannow- Clear the Windows Update cache:
wsreset.exeVerification: Restart the system and attempt to install KB5004945 through Windows Update. The update should now proceed without component-related errors.
4Manual Download and Installation
Manual Download and Installation
Download and install KB5004945 manually when automatic installation fails:
- Visit the Microsoft Update Catalog website
- Search for "KB5004945" in the search box
- Identify the correct version for your system architecture (x64, x86, or ARM64)
- Download the appropriate .msu file to your Downloads folder
- Before installation, ensure sufficient disk space (at least 10GB free)
- Right-click the downloaded .msu file and select Install
- Alternatively, install via Command Prompt:
wusa.exe "C:\Users\%USERNAME%\Downloads\windows10.0-kb5004945-x64.msu" /quiet /norestart- Monitor the installation progress in the Command Prompt window
- If installation fails, try the standalone installer method:
dism /online /add-package /packagepath:"C:\Users\%USERNAME%\Downloads\windows10.0-kb5004945-x64.msu"Verification: Check installed updates in Settings → Update & Security → View update history. KB5004945 should appear in the successfully installed updates list.
5Registry Cleanup and Advanced Troubleshooting
Registry Cleanup and Advanced Troubleshooting
Perform advanced registry cleanup and service configuration when other methods fail:
- Create a system restore point before proceeding
- Open Registry Editor (regedit.exe) as administrator
- Navigate to the Windows Update registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
- Delete the following subkeys if they exist:
Auto UpdateRebootRequiredPostRebootReporting
- Navigate to the AU registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update
- Delete the entire
Auto Updatekey if present - Reset Windows Update Agent using PowerShell:
Get-Service -Name wuauserv | Stop-Service -Force
Remove-Item -Path "C:\Windows\SoftwareDistribution" -Recurse -Force
Get-Service -Name wuauserv | Start-Service- Re-register Windows Update DLL files:
regsvr32 /s atl.dll
regsvr32 /s urlmon.dll
regsvr32 /s mshtml.dll
regsvr32 /s shdocvw.dll
regsvr32 /s browseui.dll
regsvr32 /s jscript.dll
regsvr32 /s vbscript.dll
regsvr32 /s scrrun.dll
regsvr32 /s msxml.dll
regsvr32 /s msxml3.dll
regsvr32 /s msxml6.dll
regsvr32 /s actxprxy.dll
regsvr32 /s softpub.dll
regsvr32 /s wintrust.dll
regsvr32 /s dssenh.dll
regsvr32 /s rsaenh.dll
regsvr32 /s gpkcsp.dll
regsvr32 /s sccbase.dll
regsvr32 /s slbcsp.dll
regsvr32 /s cryptdlg.dllVerification: Restart the computer and run Windows Update. KB5004945 should install successfully after the comprehensive cleanup and re-registration process.
Verification
To confirm KB5004945 has been successfully installed:
- Open Settings → Update & Security → Windows Update
- Click View update history and verify KB5004945 appears in the list
- Run the following PowerShell command to check installed updates:
Get-HotFix | Where-Object {$_.HotFixID -eq "KB5004945"}If the command returns update details including installation date, the update is successfully installed. Additionally, check system stability by running sfc /verifyonly to ensure no new corruption was introduced.
Still Having Issues?
If KB5004945 still fails to install after trying all methods above, consider these advanced alternatives:
- Clean Boot Installation: Restart in clean boot mode to eliminate third-party software conflicts. Run
msconfig, select Selective startup, and disable all startup items and non-Microsoft services. - Windows Update Medic Service: Ensure the Windows Update Medic Service is running by executing
sc config WaaSMedicSvc start=autoandsc start WaaSMedicSvcin Command Prompt. - Group Policy Reset: If domain-joined, check Group Policy restrictions by running
gpupdate /forceand reviewing Windows Update policies ingpedit.msc. - System File Replacement: For persistent corruption, consider using
sfc /scannowfrom Windows Recovery Environment or performing an in-place upgrade installation. - Windows Update Assistant: Download and run the Windows 10/11 Update Assistant tool directly from Microsoft to force the update installation.
If none of these solutions work, the issue may require a complete Windows reset or professional technical support, as it could indicate deeper system corruption or hardware-related problems.
Frequently Asked Questions
What is KB5004945 and why is it important?
Why does KB5004945 keep failing to install on my system?
Can I skip KB5004945 if it keeps failing to install?
How long does it take to install KB5004945 successfully?
What should I do if my system becomes unstable after installing KB5004945?
Which method worked?
Vote to help others
Official Resources
Discussion
Share your thoughts and insights
You must be logged in to comment.
Related Fix Guides

Fix Windows Error 0x8024402c – Windows 10/11 2026
Windows Update error 0x8024402c occurs when the update service cannot connect to Microsoft servers due to network issues, proxy settings, or corrupted update components.

Fix Windows Error 0x8024000C – Windows 10, Windows 11 2026
Windows error 0x8024000C indicates a Windows Update service communication failure. This comprehensive guide provides step-by-step solutions to resolve update download and installation issues on Windows 10 and Windows 11 systems.

Fix Windows Update Error 0x80070005 – Access Denied 2026
Windows Update error 0x80070005 occurs when the system lacks proper permissions to access update files or registry keys. This comprehensive guide provides five proven methods to resolve access denied errors during Windows updates.

Fix Windows Update Error 0x80070005 – Access Denied 2026
Windows Update error 0x80070005 indicates insufficient permissions or corrupted system files preventing update installation. This comprehensive guide provides proven solutions to restore update functionality.