Error 0x80240034 on Windows 11 is the update that will not download properly. It starts, stalls or fails, and Windows hands you this code with no further explanation. Like its Windows 10 twin, it is a delivery problem: the update itself is fine, but something between Microsoft’s servers and your laptop is corrupting or interrupting the download.
The defining trait is the loop — the same update failing the same way every time — because Windows keeps reusing damaged cached files. The fixes below break that cycle, starting with connection checks and moving to the cache reset that fixes most cases. On Windows 11 the update stack is otherwise the same machinery as Windows 10, so the same cure applies: clear the damaged downloads, confirm the network path is clean, and let the update download fresh. Give it about half an hour including the re-download. If you have already retried the update several times, do not be surprised that the cache is thoroughly corrupted by now — each failed attempt can add more damaged fragments, which is exactly why repeated retries never work and the full reset in Fix 4 does.
Why this happens
- Corrupted SoftwareDistribution cache. Partial downloads poison every subsequent attempt, and each failed retry can add more damaged fragments to the pile.
- Unstable Wi-Fi or internet. Interruptions during large downloads corrupt staged files, particularly on the multi-gigabyte cumulative updates Windows 11 ships monthly.
- VPN or proxy interference. Rerouted traffic fails download validation.
- Antivirus blocking update traffic. Security software quarantining components mid-download.
- Corrupted BITS or update services. Damaged download-handling components.
- Insufficient disk space. No room to stage the downloaded files.
- Delivery Optimization corruption. The peer-to-peer update cache can hold damaged chunks that fail validation, and these persist independently of the main SoftwareDistribution folder.
- Third-party firewall rules. Overly strict firewall software blocking the update endpoints, sometimes silently — the update fails with no indication the firewall was involved.
How to fix it
Work through these in order, retrying the update after each step.
Fix 1: Stabilize the connection and free space
- Run a speed test to confirm your connection is stable; switch to wired or move closer to the router if Wi-Fi is flaky.
- Open Settings > System > Storage and verify at least 10-15 GB free on the system drive.
- Run Disk Cleanup as admin (
cleanmgr.exe): click Clean up system files and remove Windows Update Cleanup and Delivery Optimization Files. - Retry the update from Settings > Windows Update.
Fix 2: Fully exit VPN and disable proxy
- Quit the VPN application entirely from the system tray — not just disconnect.
- Go to Settings > Network & Internet > Proxy and disable Use a proxy server unless your network requires it.
- In Terminal (Admin), run
ipconfig /flushdns. - Restart and retry.
Fix 3: Run the Windows Update troubleshooter
Let Windows diagnose its own update pipeline before you intervene manually.
- Go to Settings > System > Troubleshoot > Other troubleshooters.
- Run Windows Update, apply any recommended fixes, and let it complete fully.
- Restart and check for updates — the troubleshooter resolves service registration issues that the cache reset alone does not touch.
Fix 4: Reset the update cache
The fix that breaks the retry loop.
- Open Terminal (Admin) from
Win + X. - Stop services:
net stop wuauservnet stop bitsnet stop cryptSvc - Rename cache folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.oldren C:\Windows\System32\catroot2 catroot2.old - Restart services:
net start wuauservnet start bitsnet start cryptSvc - Check for updates — everything downloads fresh.
- If the same update fails again immediately with no download progress, skip ahead to Fix 7 and install it manually — there is no prize for repeating a broken download.
Fix 5: Pause and resume updates to reset the queue
Sometimes a softer reset unsticks the queue.
- In Settings > Windows Update, click Pause for 1 week.
- Restart the laptop.
- Return and click Resume updates, then Check for updates.
Fix 6: Temporarily disable third-party antivirus
- Turn off real-time protection briefly.
- Retry the update.
- If successful, add Windows Update exclusions; re-enable protection immediately.
Fix 7: Repair system files, then install manually if needed
- In Terminal (Admin), run
sfc /scannowthenDISM /Online /Cleanup-Image /RestoreHealth. - Restart.
- If the automatic update still fails, get the KB number from Update history, download it from the Microsoft Update Catalog , and install the .msu directly.
The Windows 10 version of this error is covered in our 0x80240034 on Windows 10 guide , and the related download failure 0x8024402f uses similar fixes. For install-phase (rather than download-phase) failures, see Windows 11 install error 0x80070002 .
Fix 8: Clear Delivery Optimization cache and reset its settings
Windows 11’s peer-to-peer update sharing can cache damaged chunks.
- Go to Settings > Windows Update > Advanced options > Delivery Optimization.
- Click Advanced options, then under Download settings note your configuration.
- Go to Settings > System > Storage > Temporary files and check Delivery Optimization Files, then click Remove files.
- Back in Delivery Optimization settings, toggle Allow downloads from other PCs off and back on to reset its state.
- Check for updates again — the update now downloads directly from Microsoft with a clean cache.
Closing
Error 0x80240034 is Windows Update tripping over its own damaged downloads. Clear the cache, confirm the connection is solid with the VPN fully out of the picture, and the update downloads cleanly in nearly every case. If the automatic updater keeps fighting you on one specific update, the manual Catalog install is a perfectly legitimate way to get patched — fix the pipeline at your leisure afterward. And once updates flow again, let them install promptly rather than pausing for weeks; a healthy update history means smaller, faster downloads next time.
