Skip to content

KB5120240 not installing or stuck in Windows 11

Affects
  • Windows 11 version 23H2
  • Build 22631.7517
Daniel Okafor5 min read

Quick answer

If KB5120240 is stuck downloading or failing to install on Windows 11, running the built-in Windows Update troubleshooter or clearing the local update cache will usually fix the block. This cumulative release updates Windows 11 version 23H2 systems to OS Build 22631.7517. Resetting your update components or manually installing the package ensures your system finishes updating without restarting in an endless loop.

When Windows 11 updates refuse to finish, it can feel like your computer is stuck in limbo. KB5120240 is an update released on August 11, 2026, designed specifically for Windows 11 version 23H2 to bring systems up to OS Build 22631.7517. While it includes important underlying quality improvements, many users report that the download gets stuck at arbitrary percentages like 0%, 20%, or 99%, or fails during the reboot phase with a message stating that changes are being undone.

Update installation failures usually happen because temporary cache files became corrupted during the download, background update services stopped responding, or existing system files are preventing the installer from replacing operating system files. Regardless of why the process stalled on your machine, you can follow these step-by-step methods to clear the blockage and get your computer updated safely.

Method 1: Run the Windows Update troubleshooter

Illustration: the Troubleshoot > Other troubleshooters page under Settings > System

Illustration: the Troubleshoot > Other troubleshooters page under Settings > System

Use this method first because it is the quickest, completely safe, and automatically detects common glitches such as broken update flags or disabled background services. Afterwards, your system will clear transient error logs and attempt to fetch a fresh download.

  1. Click the Start button on your taskbar and select the gear icon to open Settings.
  2. In the left sidebar, click System, then scroll down the right panel and click Troubleshoot.
  3. Click Other trouble-shooters to open the list of automated diagnostic tools.
  4. Locate Windows Update near the top of the list and click the Run button right next to it.
  5. Wait while the window shows "Detecting problems." If the tool finds an issue, it will display a summary such as "Resolving problems" or "Check for pending updates."
  6. Follow any on-screen prompts, then click Close once the status shows "Troubleshooting has completed."
  7. Return to Settings > Windows Update and click Check for updates to retry installing KB5120240.

Method 2: Restart the core Windows Update services

Illustration: the Windows Update page in Windows 11 Settings

Illustration: the Windows Update page in Windows 11 Settings

Use this method if the update process remains frozen at a specific percentage. Windows relies on background services to fetch and stage updates; if one of these services hangs, the entire queue stops. Restarting them forces Windows to re-establish a clean network session.

  1. Press the Windows Key + R on your keyboard to open the Run dialog box.
  2. Type services.msc into the text box and press Enter or click OK.
  3. In the Services window, scroll down the central list to locate Windows Update.
  4. Right-click Windows Update and select Restart. If the service is not currently running, click Start instead.
  5. Scroll up and locate Background Intelligent Transfer Service (BITS).
  6. Right-click Background Intelligent Transfer Service and select Restart.
  7. Locate Cryptographic Services, right-click it, and select Restart.
  8. Close the Services window, open Settings > Windows Update, and click Check for updates.

Method 3: Clear the SoftwareDistribution cache folder

Use this method if the update download repeatedly fails or gets corrupt halfway through. Clearing this folder deletes already-downloaded installation files so Windows 11 can redownload KB5120240 cleanly. Expect your next update check to take a couple of extra minutes while Windows rebuilds the update index.

  1. Click the Start button, type cmd into the search bar, right-click Command Prompt, and choose Run as administrator.
  2. Click Yes when the User Account Control prompt appears on your screen.
  3. Type the command net stop wuauserv and press Enter to pause the update service. You should see a message confirming the service stopped successfully.
  4. Type net stop bits and press Enter to stop the transfer service.
  5. Press Windows Key + E to open File Explorer, then navigate to C:\Windows\SoftwareDistribution.
  6. Select everything inside the SoftwareDistribution folder by pressing Ctrl + A, right-click the selected items, and click the trash can icon (Delete).
  7. Return to your administrator Command Prompt window.
  8. Type net start wuauserv and press Enter to re-enable the update service.
  9. Type net start bits and press Enter to re-enable the transfer service.
  10. Open Settings > Windows Update and click Check for updates to download KB5120240 from scratch.

Method 4: Repair system files with SFC and DISM

Warning: This step modifies core Windows system files to repair corruption. Ensure you do not turn off your PC while these tools are actively scanning. Use this method if updates fail during the restart phase when system files are being overwritten. Running these tools ensures your existing Windows 11 image is healthy before applying OS Build 22631.7517.

  1. Click the Start button, type cmd, right-click Command Prompt, and select Run as administrator.
  2. In the black command window, type sfc /scannow and press Enter.
  3. Wait for the verification scan to reach 100%. The screen will report whether it found corrupt files and if it successfully repaired them.
  4. Next, type dism /online /cleanup-image /restorehealth and press Enter.
  5. Allow the DISM tool to complete its operations. This process connects to Windows servers to replace damaged system files and can take up to 15 minutes.
  6. Once you see "The restore operation completed successfully," close the Command Prompt.
  7. Restart your computer, navigate to Settings > Windows Update, and attempt to install KB5120240 again.

Method 5: Manually install KB5120240 offline

Use this method if the automatic Windows Update center repeatedly throws errors despite clearing cache folders. Downloading the update package directly bypasses the Windows Update delivery engine entirely, ensuring a direct installation.

  1. Open your web browser and go to the official Microsoft Update Catalog website.
  2. Type KB5120240 into the search bar at the top right corner and press Enter.
  3. Look for the file version that matches your system architecture for Windows 11 version 23H2.
  4. Click the Download button on the right side of the row corresponding to your machine.
  5. A popup window will appear showing a link to a .msu file. Click the link to download the file to your computer.
  6. Once the download completes, open your Downloads folder and double-click the downloaded .msu installer file.
  7. Follow the on-screen installer wizard prompts. When prompted, restart your system to complete the update to OS Build 22631.7517.

If nothing worked

If KB5120240 still refuses to install after following these methods, you have a few practical options remaining. First, you can temporarily pause updates by going to Settings > Windows Update and choosing Pause for 1 week. This allows Microsoft time to address potential server-side bottlenecks or release a revised update package.

Alternatively, you can perform an in-place repair upgrade using the official Windows 11 ISO or Media Creation Tool for version 23H2. Running the installer from within your current desktop and selecting "Keep personal files and apps" refreshes all underlying system files while preserving your settings, bringing your operating system current without needing a full system wipe.

Sources

Frequently asked questions

What is KB5120240?

KB5120240 is a cumulative update released on August 11, 2026, for Windows 11 version 23H2, updating systems to OS Build 22631.7517.

Why is KB5120240 stuck downloading at 0% or 99%?

Updates usually get stuck when temporary files in the SoftwareDistribution folder become corrupted or background update services stall during download.

Is it safe to clear the SoftwareDistribution folder to fix KB5120240?

Yes, it is safe. Stopping update services and clearing that folder simply removes cached download files so Windows 11 can fetch a fresh copy of KB5120240.

Checked against Microsoft's release notes on ; re-checked when a new build ships.

Written by

Daniel Okafor

Writes Thea's error-code and app-breakage guides. Each fix is checked against Microsoft's documentation and community reports, and updated when a new Windows 11 build changes the steps.

More from Daniel Okafor

Related guides

  • Update ProblemsWindows 11, version 25H2 (OS Build 26200.9278)

    KB5120998 Not Installing or Stuck in Windows 11

    KB5120998 is an optional preview update for Windows 11 versions 24H2 and 25H2. If it becomes stuck during download or fails to install, you can resolve the issue by running the Windows Update troubleshooter, clearing the SoftwareDistribution cache folder, or running SFC and DISM scans. Because KB5120998 is a non-security preview release, you can also safely pause or skip the update until next month.

    Maya Reyes

  • Update ProblemsWindows 11, version 23H2

    KB5087420 not installing or stuck in Windows 11

    If KB5087420 fails to install or gets stuck during download, first run the built-in Windows Update troubleshooter in Settings. If that does not resolve the issue, clear the temporary update cache inside the SoftwareDistribution folder using Command Prompt. Finally, run the DISM and SFC repair tools to fix any corrupted system files preventing the update from completing.

    Daniel Okafor

  • Update ProblemsWindows 11, version 23H2

    KB5093998 not installing or stuck in Windows 11

    If KB5093998 fails to install or gets stuck during the download process on Windows 11, running the Windows Update troubleshooter or clearing the update cache usually resolves the issue. Restarting essential update background services and running system file repair tools will fix corrupted components preventing the installation. If automatic updates continue to hang, you can manually install the standalone package for OS Build 22631.7219.

    Daniel Okafor

  • Windows UpdatesWindows 11 version 23H2

    What's new in KB5136483 (Windows 11 build 22631.7714)

    KB5136483 is an out-of-band update released on November 13, 2026, for Windows 11 version 23H2. It updates your system build from 22631.7711 to 22631.7714 to deliver servicing fixes outside the standard monthly schedule. You can download and install it via Settings > Windows Update or from the Microsoft Update Catalog.

    Priya Natarajan

  • Update ProblemsWindows 11 version 23H2

    KB5099414 not installing or stuck in Windows 11

    If update KB5099414 fails to install or gets stuck during download on Windows 11, running the Windows Update troubleshooter or clearing the update cache usually resolves the hang. You can also manually install the update package directly from the Microsoft Update Catalog or reset the Windows Update components. These steps refresh the servicing client and allow Build 22631.7376 to complete successfully.

    Maya Reyes