Home › Windows Update › 0x80240034

Windows Update · 0x80240034 · Windows 11 23H2

Windows Update Error 0x80240034 - Windows 11 23H2 Download Failed

Root cause: BITS job failure due to network issues or insufficient disk space. Fix: Ensure sufficient disk space, check BITS service status and settings.

Error Details

FactValueSourceNote
Exact error string0x80240034 (WU_E_DOWNLOAD_FAILED)Windows Update Agent logs-> WindowsUpdate.log
Affected build rangeWindows 11 23H2Microsoft Docs
Registry key involvedHKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimizationGroup Policy Management Console-> Delivery Optimization settings
Relevant service/endpoint URLhttps://*.update.microsoft.comNetwork Monitor
Log line signatureError: 0x80240034 - BITS job failed during download.WindowsUpdate.etl-> Converted logs

Log Files to Check

What This Error Actually Means

The error code 0x80240034, also known as WU_E_DOWNLOAD_FAILED, is raised by the Windows Update Agent when a BITS (Background Intelligent Transfer Service) job fails to complete during the download phase of an update package. The BITS service plays a crucial role in managing background file transfers for various Microsoft services, including updates and patches. When this error occurs, it typically indicates that there was an issue with the transfer process itself, such as network interruptions or insufficient disk space on the target drive.

Affected Versions and Scope

This specific error is observed primarily in Windows 11 version 23H2, although it can also appear in other recent builds of Windows 10 and Windows 11. The scope of this issue is particularly relevant for enterprise environments where network policies or configurations might interfere with BITS operations. For instance, if Delivery Optimization (DO) is disabled or misconfigured, updates may fail due to bandwidth limitations or cache issues.

Where To Look First: Logs and Event IDs

To diagnose the root cause of 0x80240034 errors, start by examining the following logs: In the WindowsUpdate.log, you will find entries that describe the failure of a BITS job during download. Look for lines similar to: Error: 0x80240034 - BITS job failed during download. Additionally, review event logs using Event Viewer or PowerShell cmdlets like Get-WinEvent. Focus on events with IDs such as 1006 and 1007, which provide detailed information about the BITS job status.

Root Causes

There are several distinct causes for this error, each requiring a different approach to resolution:

BITS Service Throttling or Disabled Delivery Optimization

When BITS is throttled below its minimum required bandwidth (500 Kbps) due to network policies or group settings, updates may fail. Additionally, if Delivery Optimization is disabled, the system relies solely on direct connections to Microsoft servers, which can lead to download failures in high-latency environments.

Insufficient Disk Space

The SoftwareDistribution\Download folder requires at least twice the size of the update package being downloaded. If this space is insufficient, BITS jobs will fail mid-transfer due to lack of storage capacity.

Misconfigured Delivery Optimization Caches

In enterprise environments where multiple clients are configured for peer-to-peer delivery optimization, cache misconfigurations can lead to download failures. This often occurs when the DO client cache is too small or has been corrupted.

Fix Procedure

To resolve 0x80240034 errors, follow these steps:
  1. Check Disk Space: Ensure that there is sufficient disk space available on the system drive. The minimum requirement is twice the size of the update package.
  2. Verify BITS Service Status: Use PowerShell to check if the BITS service is running and not throttled below 500 Kbps.
    Get-Service -Name bits
    
  3. Review Delivery Optimization Settings: Check the registry key HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization. Ensure that DO is enabled and properly configured for your environment.
  4. Analyze BITS Transfer Status: Use PowerShell to list all active BITS transfers.
    Get-BitsTransfer -AllUsers
    
Note: Be cautious when terminating or modifying BITS jobs, as this can disrupt ongoing updates and potentially break enrolled devices.
  • Clear Stuck Transfers: If there are stuck BITS transfers, use the following cmdlet to remove them.
    Remove-BitsTransfer -AllUsers
    
  • Review Logs for Additional Insights: Use Get-WinEvent or Event Viewer to check logs for additional clues about why a particular transfer failed.
  • Error Code Variants

    Error Code Description Distinguishing Features
    0x80240035 WU_E_INSTALL_FAILED This error occurs when the installation of an update fails, not during download.
    0x80240017 WU_E_NOT_INITIALIZED Indicates that Windows Update is not properly initialized on the system.

    Verification

    After applying fixes, verify successful resolution by checking for the absence of error 0x80240034 in C:\Windows\Logs\WindowsUpdate\WindowsUpdate.log. Additionally, ensure that BITS jobs are completing successfully and that there are no stuck transfers listed when running Get-BitsTransfer -AllUsers.

    Prevention

    To prevent recurrence of this issue, implement the following measures:
    To quickly assess the status of BITS jobs, use Get-BitsTransfer -AllUsers | Format-Table Name,BytesTotal,BytesTransferred,PercentComplete. This cmdlet provides a concise overview of ongoing and completed transfers.

    Sources & References

    Related Guides

    Get new error code fixes by email

    Product-specific solutions for Intune, Autopilot, SCCM and Entra ID — straight to your inbox. No spam.