Troubleshooting update errors for Microsoft 365 Apps

This article provides troubleshooting guidance for issues that may occur while updating Microsoft 365 Apps. A reported update failure rarely indicates a final or permanent problem. Updates retry automatically and generally succeed over time without intervention. As a result, further action is generally not required. However, if devices in your environment are repeatedly failing to update and create compliance or servicing concerns, use the guidance in this article to investigate further.

General guidance for resolving update errors

Many update errors for Microsoft 365 Apps are due to temporary system or environmental conditions, such as loss of network connectivity or insufficient disk space. In these cases, the error occurs in the background with no impact to the end-user. Click-to-Run automatically retries within 24 hours. The following actions will resolve most update issues:

  1. Restart the device
    A device restart isn't required to apply updates to Microsoft 365 Apps. However, restarting the device can help clear up most transient conditions that prevent updates from installing successfully. These conditions include:

    • Applications holding files open
    • In‑progress system operations
    • Temporary access or file‑locking issues
    • Incomplete shutdown or restart states
  2. Verify network connectivity
    Devices that update using the Office Content Delivery Network (CDN) require a reliable internet connection.

  3. Verify disk space
    Ensure devices have sufficient free disk space for updates to download and apply.

    • Target a minimum of 1 GB of free disk space, up to 5 GB if Microsoft 365 Apps has not been updated for several months
  4. Verify endpoint security software
    Ensure antivirus or other endpoint security software isn't aggressively scanning or blocking Office file paths.

    • C:\Program Files\Common Files\Microsoft Shared\ClickToRun\
    • C:\Program Files\Microsoft Office\
    • C:\Program Files (x86)\Microsoft Office\
    • C:\ProgramData\Microsoft\ClickToRun\
    • C:\ProgramData\Microsoft\Office\
  5. Repair or reinstall
    For persistent updates issues that aren't resolved using steps 1-4:

    • Try repairing the Office applications using the built-in repair tool.
    • As a last resort, try reinstalling Microsoft 365 Apps using your preferred method.

Update errors

This section lists common update error codes for Microsoft 365 Apps. For devices managed by Cloud Update, error codes are reported in the Microsoft 365 Apps admin center as part of update status and reporting. Error codes can also appear directly in the application when an update is applied in the foreground on a device.

Error code Source Description
5 Click-to-Run Access Denied
• Multiple possible causes
• Expected to resolve with a retry
32 Click-to-Run Error sharing violation
• File operation failed
• Expected to resolve with a retry
112 Click-to-Run Insufficient disk space
• Free up a minimum of 1 GB of disk space and retry
30029 Click-to-Run Invalid argument
• Multiple possible causes
• Expected to resolve with a retry
30033 Click-to-Run Invalid data
• Possible corrupted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration
• If the issue persists, run a full online repair
30038 Click-to-Run Invalid operation
• Expected to resolve with a retry
• If the issue persists, run a full online repair
30045 Click-to-Run Invalid Metadata File
• Expected to resolve with a retry
• If the issue persists, run a full online repair
30088 Click-to-Run Unexpected Error
• Expected to resolve with a retry
• If the issue persists, run a full online repair
30094 Click-to-Run Invalid Signature
• Signature validation failed
• Expected to resolve with a retry
• If the issue persists, run a full online repair
30117 Click-to-Run Registration Failure
• Failed to write registry
• Expected to resolve with a retry
• If the issue persists, run a full online repair
30156 Click-to-Run Operation Canceled
• Update canceled by user or system restart
• Expected to resolve with a retry
30177 Click-to-Run Process Pool Shutdown
• Process shutdown
• Expected to resolve with a retry
30179 Click-to-Run Pipeline Insufficient Disk Space
30182 Click-to-Run FileTransportError
• File operation failed
• Expected to resolve with a retry
• If the issue persists, run a full online repair
30183 Click-to-Run HttpTransportError
• Download error
• Expected to resolve with a retry
• If the issue persists, verify network connectivity
30198 Click-to-Run ConfigUnavailable
• Office config unavailable
• Expected to resolve with a retry
• If the issue persists, run a full online repair
50004 Click-to-Run EFAILED_STOP_C2RSERVICE
• Failed to stop the Microsoft Office Click-to-Run Service
• Expected to resolve with a retry
• If the issue persists, run a full online repair
50006 Click-to-Run EFAILED_LOCK_PACKAGE_TO_UPDATE
• Blocked by running apps
• Expected to resolve with a retry
2147942512 HRESULT, external dependency ERROR_DISK_FULL
• Insufficient disk space
2147942974 HRESULT, external dependency ERROR_UNHANDLED_EXCEPTION
• Unhandled exception occurred in the application
2147943515 HRESULT, external dependency ERROR_SHUTDOWN_IN_PROGRESS
• A system shutdown is in progress
2147954407 HRESULT, external dependency WININET_E_NAME_NOT_RESOLVED
• The server name or address could not be resolved
2147954429 HRESULT, external dependency WININET_E_CANNOT_CONNECT
• A connection with the server could not be established
2147954430 HRESULT, external dependency WININET_E_CONNECTION_ABORTED
• The connection with the server was terminated abnormally
2149122451 HRESULT, external dependency HTTP_E_STATUS_FORBIDDEN
• Forbidden (403)
• Expected to resolve with a retry
• If the issue persists, verify network connectivity
2149122551 HRESULT, external dependency HTTP_E_STATUS_SERVICE_UNAVAIL
• Service unavailable (503)
• Expected to resolve with a retry
• If the issue persists, verify network connectivity
2149580816 HRESULT, external dependency BG_E_NETWORK_DISCONNECTED
• The network adapter is inactive or disconnected
• Expected to resolve with a retry
• If the issue persists, verify network connectivity
2149580884 HRESULT, external dependency BG_E_MAXDOWNLOAD_TIMEOUT
• BITS job timed out
• Expected to resolve with a retry
• If the issue persists, verify network connectivity
2161123330 HRESULT, external dependency DO_E_DOWNLOAD_NO_PROGRESS
• Delivery Optimization - download of a file saw no progress within the defined period
• Expected to resolve with a retry
• If the issue persists, verify network connectivity
2161129477 HRESULT, external dependency DO_E_BLOCKED_BY_NO_NETWORK
• Delivery Optimization - core paused the job due to loss of network connectivity
• Expected to resolve with a retry
• If the issue persists, verify network connectivity

HRESULT Values
Microsoft 365 URLs and IP address ranges
Repair an Office application