Keeping Windows updated is essential for security patch compliance and overall system performance. However, Windows Update isn’t perfect. It can hang at “0% downloaded,” loop indefinitely, or crash out with cryptic hexadecimal error sequences like 0x80240020.
If your operating system is refusing to process updates, don’t worry. Use this step-by-step diagnostic guide to repair Windows Update and get your system protected.
Method 1: Deploy the Native Windows Update Troubleshooter
Windows features an automated self-repair utility built natively into the settings menu that can diagnose and patch minor caching errors instantly.
- Press Windows Key + I to open your Settings application.
- Navigate to System > Troubleshoot > Other troubleshooters (or Update & Security > Troubleshoot on Windows 10).
- Find Windows Update on the list of tools and click the Run button.
- Let the scanning routine check your system services. If it detects a broken background file link, click Apply this fix and restart your computer.
Method 2: Manually Purge the Windows Update Cache
If updates get stuck midway through downloading, the temporary setup files inside your Windows folder may have become corrupted. Wiping out this cache forces Windows to download completely fresh copies of the updates.
- Press your Windows key, search for cmd, right-click on Command Prompt, and select Run as administrator.
- Stop the core background update delivery services by typing these commands sequentially, pressing Enter after each:
net stop wuauservnet stop bitsnet stop cryptsvc
- Leave that window open. Now press Windows Key + R, type
C:\Windows\SoftwareDistribution\into the box, and press Enter. - A folder window will open. Select all files and folders inside this directory (Ctrl + A), right-click, and select Delete. (These are temporary installation files; deleting them is completely safe).
- Return to your administrator Command Prompt window and restart the background update services by executing these commands:
net start wuauservnet start bitsnet start cryptsvc
- Close the window, head back to your Update menu, and hit Check for updates.
Method 3: Run SFC and DISM System Scans
If Windows Update fails due to damaged system components deep within your core operating system files, you can repair them using these built-in command utilities.
- Open Command Prompt as an Administrator again.
- Type the following command to deploy the Deployment Image Servicing and Management tool, then hit Enter:
DISM.exe /Online /Cleanup-image /Restorehealth- Note: This tool uses Windows Update online resources to fetch clean system files, and it can take up to 15 minutes to reach 100%.
- Once the DISM scan completes, type this command to trigger the System File Checker tool, then press Enter:
sfc /scannow
- Once the checker finishes, restart your machine and attempt your Windows update once more.
