How to Fix Windows Update Error 0x80240034

Work through error 0x80240034 in this order: restart and check your connection, free up drive space, run the Windows Update troubleshooter, clear the download cache, repair system files, and only then install the update by hand or reinstall Windows in place. The code means the update failed to download, so most fixes target the download path rather than Windows itself. Steps are for Windows 11, with Windows 10 differences in their own section.

What 0x80240034 tells you

Microsoft’s Windows Update error code list names 0x80240034 as WU_E_DOWNLOAD_FAILED, with the description “Update failed to download.” It is a broad result code. Windows Update reports it when the files for an update could not be fetched or could not be used once they arrived, and it does not say why.

You will usually see it in Settings > Windows Update next to a cumulative update (the monthly bundle of security and quality fixes) or a feature update (a new yearly version of Windows), often after the progress bar stalls. Downloaded update files wait in a folder called SoftwareDistribution (C:\Windows\SoftwareDistribution). If something in that folder is damaged or half-finished, Windows can keep failing on the same file until the folder is cleared.

Likely causeFix to try
Dropped Wi-Fi, VPN or sleep during the downloadRestart, reconnect, retry (Fix 1)
Not enough free space on drive CFree up storage (Fix 2)
Wrong date, time or time zoneSync the clock (Fix 2)
A stuck service or bad settingWindows Update troubleshooter (Fix 3)
Damaged files in the update cacheRename SoftwareDistribution and catroot2 (Fix 4)
Corrupted Windows system filesDISM and SFC (Fix 5)
Proxy or company network blocking downloadsWinHTTP proxy check, or ask IT (managed PCs section)
One update that never downloadsMicrosoft Update Catalog (Fix 6)

Fix 1: Restart and give the download a clean connection

  1. Save your work and restart the PC from Start > Power. If you see Update and restart, choose it.
  2. Plug a laptop into power so it does not sleep mid-download.
  3. Open Settings > Network & internet and confirm you are connected. Disconnect any VPN for now.
  4. If the network is set as metered, some updates will not download automatically, so switch to an unmetered network or turn the setting off for this connection.
  5. Go to Settings > Windows Update and select Check for updates.

If the update now downloads past the point where it stalled before, you are done. If it fails at the same spot with the same code, move on.

Fix 2: Check storage space and the clock

Microsoft’s update troubleshooting page asks for at least 20 GB free on a 64-bit system (16 GB for 32-bit). Feature updates in particular need that room.

  1. Open Settings > System > Storage and check how much space drive C has left. Remove large files or apps you no longer need if it is short.
  2. Open Settings > Time & language > Date & time.
  3. Turn on Set time automatically and Set time zone automatically, then select Sync now.
  4. Unplug external drives and docks you do not need, then check for updates again.

Fix 3: Run the Windows Update troubleshooter

  1. Open Start > Settings > System > Troubleshoot > Other troubleshooters.
  2. Next to Windows Update, select Run. On current Windows 11 builds this may open the Get Help app instead of the old troubleshooter window; follow its prompts either way.
  3. Restart when it finishes and try the update again.

Fix 4: Clear the update download cache

Because this code is about a failed download, clearing out the stored update files is the fix most likely to work. Renaming the folders keeps the old copies as a backup, and Windows builds fresh ones the next time it checks for updates.

  1. Right-click Start, choose Terminal (Admin) (or search for Command Prompt and select Run as administrator), and select Yes at the User Account Control prompt. In Terminal, Command Prompt and PowerShell both accept these commands.
  2. Stop the update services, one line at a time:
net stop bits
net stop wuauserv
net stop cryptsvc
  1. Rename the download folder and the catalog folder:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.bak
ren C:\Windows\System32\catroot2 catroot2.bak
  1. Start the services again:
net start bits
net start wuauserv
net start cryptsvc
  1. Restart the PC and select Check for updates. Expect the first check to take longer while Windows downloads everything again.

If a rename fails with “Access is denied” or “The process cannot access the file,” a service is still running. Run the matching net stop line again, wait a few seconds, and retry, or restart and run the whole sequence before opening any other apps. A full walkthrough with extra services is in the guide to resetting Windows Update components in Windows 11.

Fix 5: Repair Windows files with DISM and SFC

If a clean cache still fails, damaged system files may be getting in the way. DISM repairs the component store (the folder of parts Windows uses to install and repair itself), and System File Checker then fixes protected files using that store.

  1. Open Terminal (Admin) again.
  2. Run DISM first and wait for it to reach 100 percent. It can pause for several minutes, which is normal:
DISM.exe /Online /Cleanup-image /Restorehealth
  1. Then run:
sfc /scannow
  1. Restart and try Windows Update again.

If DISM itself reports that it cannot find source files, the component store may be in worse shape; the steps for error 0x800f081f, where repair source files are missing, cover that case.

Fix 6: Download the update yourself from the Microsoft Update Catalog

When one cumulative update keeps failing, you can skip the Windows Update download entirely.

  1. In Settings > Windows Update > Update history, note the KB number of the failed update.
  2. Open the Microsoft Update Catalog and search for that KB number.
  3. Pick the entry that matches your Windows version and system type (shown under Settings > System > About) and select Download.
  4. Double-click the downloaded .msu file, follow the prompts, and restart.

Fix 7: Reinstall Windows 11 in place through Windows Update

This is the last resort before a clean install. It reinstalls the version you already have and, according to Microsoft, keeps your apps, files and settings. Back up important files anyway, and if BitLocker is on, make sure you know where your recovery key is saved before you start.

  1. Open Start > Settings > System > Recovery.
  2. Under Fix problems using Windows Update, select Reinstall now.
  3. Choose whether to restart automatically after the install, then select OK.
  4. Keep the PC on power and online until it finishes.

The option does not appear on every PC. Microsoft’s page on reinstalling the current version of Windows notes it can be missing on work or school devices and needs a recent Windows 11 release.

On Windows 10

The commands in Fixes 4 and 5 are the same on Windows 10; open Command Prompt or Windows PowerShell as administrator if Terminal is not installed. The menus differ:

  1. Windows Update lives at Settings > Update & Security > Windows Update.
  2. In most Windows 10 versions the troubleshooter is at Settings > Update & Security > Troubleshoot, then the additional troubleshooters link, then Windows Update; the exact labels can vary by version.
  3. There is no “Fix problems using Windows Update” button. If a feature update keeps failing, Microsoft’s installation media is the in-place route; back up first.

Work or school PCs, proxies and WSUS

On a managed PC, updates may come from a company WSUS server rather than Microsoft, and a download failure there is often a server or network policy issue you cannot fix locally. Note the KB number and the time it failed and send them to your IT team.

On a home or small-office PC that uses a proxy, Microsoft’s Windows Update troubleshooting article explains that Windows Update uses the system-level WinHTTP proxy, not the one set for your browser. You can view the current setting from an admin prompt (the Microsoft article documents setting and importing the proxy; the show command is the standard way to read it):

netsh winhttp show proxy

If your browser uses a proxy and WinHTTP shows “Direct access,” netsh winhttp import proxy source=ie copies the browser setting across. Only change this if you know your network needs a proxy.

When the error keeps coming back

  • Third-party antivirus or firewall: Microsoft says third-party security software can cause update errors and suggests temporarily uninstalling it. Download a fresh copy of the installer first, reinstall it right after the update, and do not browse in between.
  • Disk errors: from an admin prompt, run chkdsk /f C:, type Y to schedule it, and restart.
  • A different code appears after these fixes: that is progress, because it narrows the cause. For example, 0x80073712 points to a damaged component store rather than a download problem.

Confirm the fix, or roll it back

Open Settings > Windows Update > Update history. The update should show as successfully installed with today’s date. You can also press Windows + R, type winver, and press Enter to see your current version and build.

If a new update causes trouble, go to Settings > Windows Update > Update history > Uninstall updates, select it, and choose Uninstall, as described in Microsoft’s uninstall instructions. Once updates work again, you can delete the SoftwareDistribution.bak and catroot2.bak folders, or rename them back (after stopping the services) if you need the old copies.

Questions readers ask next

Is 0x80240034 a sign of a virus or failing hardware?

Not usually. The code only records that a download failed. A full scan with Windows Security is reasonable, but a full drive or a damaged cache are far more common explanations.

Will clearing SoftwareDistribution delete my files?

No. That folder holds update downloads and related data only. Your documents, photos and apps are not stored there.

Can I just pause updates and ignore it?

Only briefly. Pausing has a limit, and once you reach it Windows requires the latest updates before you can pause again. Security fixes in the missing update stay missing until it installs.

Why does the error show on one update but not others?

Each update downloads separately, so one damaged or interrupted file can block a single update while others succeed. That pattern is a good fit for Fix 4 or Fix 6. If many codes appear together, such as 0x80070002 for missing update files, clearing the cache usually covers them too.

Start with a restart and a free-space check today. If that does not clear it, the cache reset in Fix 4 is the step to try next.

Matthew Burleigh

Matthew Burleigh has been writing technology tutorials online since 2008. He holds Bachelor's and Master's degrees in Computer Science from Arizona State University and has worked in IT since 2003. At Update Error Code he writes step-by-step fixes for Windows Update errors on Windows 11 and Windows 10.