Home › Knowledgebase › KB-166

How to fix Windows Update 'Failed to Install' errors

Summary

This guide helps you troubleshoot and resolve: How to fix Windows Update 'Failed to Install' errors. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

It can be frustrating when Windows Update fails to install a critical security patch or feature update. These errors are often caused by corrupted update files, conflicting third-party software, interrupted network connections, or incorrect system date and time settings. Before beginning these steps, ensure you are logged into an account with administrator privileges, as several commands require elevated access to modify system files and services.

Quick Fix Steps

Before attempting more advanced technical solutions, try these basic troubleshooting steps to resolve the majority of installation failures:

Detailed Instructions

Method 1: Run the Windows Update Troubleshooter

Windows includes a built-in diagnostic tool designed to automatically detect and fix common update errors. The navigation path differs slightly depending on your version of Windows.

Windows 11

  1. Click the Start button and select Settings.
  2. Navigate to System > Troubleshoot > Other troubleshooters.
  3. Find Windows Update in the list and click the Run button.
  4. Follow the on-screen prompts and apply any suggested fixes.
  5. Restart your PC and attempt to update again.

Windows 10

  1. Click the Start button and select Settings.
  2. Navigate to Update & Security > Troubleshoot > Additional troubleshooters.
  3. Select Windows Update and click Run the troubleshooter.
  4. Follow the on-screen prompts and apply any suggested fixes.
  5. Restart your PC and attempt to update again.

Method 2: Check Windows Update Service Status

If the troubleshooter does not resolve the issue, verify that the Windows Update service is actually running.

  1. Press Windows Key + R on your keyboard.
  2. Type services.msc and press Enter.
  3. In the Services list, locate Windows Update.
  4. Check the Status column. If it is not Running, right-click Windows Update and select Start.
  5. Right-click Windows Update again, select Properties, and ensure Startup type is set to Automatic.
  6. Click Apply and OK, then restart your computer.

Method 3: Reset the SoftwareDistribution Folder

If the troubleshooter fails, the local cache of update files may be corrupted. Resetting the SoftwareDistribution folder forces Windows to download a fresh copy of the update.

Warning: Resetting update components can cause temporary system instability if not performed correctly. Ensure you follow the exact order of commands below. You must restart your computer after renaming the folders and before attempting further updates.
  1. Type cmd in the Windows Search bar.
  2. Right-click Command Prompt and select Run as administrator.
  3. Stop the update services by typing the following commands one by one, pressing Enter after each:
    • net stop wuauserv
    • net stop cryptSvc
    • net stop bits
    • net stop msiserver
  4. Rename the update folders to create a backup by entering:
    • ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    • ren C:\Windows\System32\catroot2 catroot2.old
  5. Restart your computer now. Do not restart the services yet; a reboot is required to clear file locks.
  6. After rebooting, open Command Prompt as an administrator again.
  7. Restart the services you stopped previously:
    • net start wuauserv
    • net start cryptSvc
    • net start bits
    • net start msiserver
  8. Close the Command Prompt and attempt to run Windows Update again.

Advanced Troubleshooting

Run System File Checker (SFC) and DISM

Corrupted system files can prevent Windows from installing updates. You can analyse and repair these using the SFC tool. If SFC finds corrupt files it cannot repair, use the Deployment Image Servicing and Management (DISM) tool to repair the system image.

  1. Open Command Prompt as an administrator.
  2. Type sfc /scannow and press Enter.
  3. Wait for the scan to complete. If it reports that it found corrupt files but was unable to fix some of them, proceed to the DISM step.
  4. Type the following command and press Enter:
    • DISM /Online /Cleanup-Image /RestoreHealth
  5. Wait for DISM to complete. This process may take several minutes depending on your internet connection and system speed.
  6. Run sfc /scannow again to ensure all system files are now healthy.
  7. Restart your PC and attempt to update again.

Handling Specific Windows Update Error Codes

Certain error codes indicate specific issues. Use the following guidance if you see these codes during installation:

Manual Update Installation

If a specific update continues to fail, you can download it manually from the Microsoft Update Catalog.

  1. Go to Settings > Windows Update and note the KB number of the failing update (e.g., KB5034765).
  2. Visit the official Microsoft Update Catalog website.
  3. Search for the KB number and download the version that matches your system architecture (x64 for most modern PCs).
  4. Run the downloaded .msu file to install the update manually.
If you are consistently experiencing stability issues or update failures across multiple devices in your organisation, it may be time to consider a fresh start. See our guide on How to Perform a Clean Installation of Windows 11.

If these steps do not resolve the issue, or if you encounter a specific error code that persists, please Open a Ticket for further assistance from our technical team.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket