Independent technical referenceOfficial site
  • Software and digital services
  • Operating system

0x80240008

Microsoft Windows Update 0x80240008: queried item key missing

Verified with sources1 sourceReviewed Oct 19, 2026
Technician coming? See the 2 steps they must show you

Risk level

Medium

Proceed carefully and stop if the check is unclear.

Urgency

Medium

Quick answer

Error 0x80240008 (WU_E_ITEMNOTFOUND) means the Windows Update Agent could not find the key for a queried item during an internal operation. Run the Windows Update troubleshooter, check for updates again, and clear the SoftwareDistribution cache if the error persists.

Safety first

Stop and check this first

  • Do not attempt manual edits under HKEY_LOCAL_MACHINE\Components or HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing; use DISM.exe /Online /Cleanup-image /Restorehealth so Windows replaces corrupted servicing data safely.

Safe checks you can perform

  • Run the Windows Update troubleshooter from Windows Settings
  • Run a fresh Check for updates scan and verify Update history
  • Stop the Windows Update service and clear C:\Windows\SoftwareDistribution

Leave these tasks to a qualified professional

  • Do not attempt this professional task: Rename SoftwareDistribution and catroot2 and repair the component store with DISM and SFC
  • Do not attempt this professional task: Install the affected KB manually from the Microsoft Update Catalog or audit WUA scripts

What a technician must be able to justify

Technician visit

These are the steps they must carry out and show you. Tick them as they work: if steps are skipped, do not accept a part swap.

These are not instructions for opening or handling the equipment yourself. They are the checks that should support a technical conclusion.

  1. Rename SoftwareDistribution and catroot2 and repair the component store with DISM and SFC

    What they doIf basic cache clearing does not resolve 0x80240008, have an IT administrator open an elevated Command Prompt, stop bits and wuauserv, rename %systemroot%\softwaredistribution and %systemroot%\system32\catroot2 to .bak, restart both services, and run DISM.exe /Online /Cleanup-image /Restorehealth followed by sfc /scannow.

    They must show youthe DISM message 'The restore operation completed successfully', the 100% SFC verification result, and the summary section in CBS.log.

    In writingthe commands executed, the Total Detected Corruption and Total Repaired Corruption counts in CBS.log, and the post-repair update status.

  2. Install the affected KB manually from the Microsoft Update Catalog or audit WUA scripts

    What they doIn managed environments, have the IT administrator either download and install the specific KB package directly from the Microsoft Update Catalog or audit custom WUA API scripts (such as those calling IUpdateCollection) to ensure they only query items returned by the current search result.

    They must show youthe standalone package installation result or the corrected WUA script output completing without 0x80240008.

    In writingthe KB package installed, any WUA script parameter or collection index fix applied, and the verification timestamp.

Before accepting a part or repair

Nothing has been shown yet. Do not accept a part swap based on the code alone.

Follow these steps

Note: Follow the documented order. An error code identifies the affected system, but it does not prove by itself which part has failed.

  1. Run the Windows Update troubleshooter from Windows Settings

    No special tools

    Who:
    You can run this built-in diagnostic on your Windows 10 or Windows 11 PC.
    How:
    Go to Start > Settings > System > Troubleshoot > Other troubleshooters, locate Windows Update, and select Run.
    Result that matters:
    The automated troubleshooter inspects the Windows Update service and repairs inconsistent local cache state.
    If the troubleshooter repairs the update cache and the next scan succeeds without 0x80240008, that confirms a stale local cache reference caused the missing key.
    If 0x80240008 persists after the troubleshooter finishes, that indicates the SoftwareDistribution folder needs to be cleared manually.
    Evidence to keep:
    Save a screenshot of the troubleshooter result window.

    Evidence: Microsoft Windows Update troubleshooting

  2. Run a fresh Check for updates scan and verify Update history

    No special tools

    Who:
    You can check this in Start > Settings > Windows Update.
    How:
    Review Update history to see whether the target KB was already installed or superseded by a newer cumulative update, then select Check for updates to trigger a fresh online scan.
    Result that matters:
    A new scan refreshes the list of applicable updates against the current system state.
    If the fresh scan updates the queue and no longer reports 0x80240008, that confirms the missing key belonged to an update revision that was already installed or superseded.
    If the same scan fails repeatedly with 0x80240008, that points to corrupted index files inside C:
    \Windows\SoftwareDistribution.
    Evidence to keep:
    Note the KB number and timestamp recorded in Update history.

    Evidence: Microsoft Windows Update troubleshooting · Guidance for troubleshooting Windows Update issues

  3. Stop the Windows Update service and clear C:\Windows\SoftwareDistribution

    Tools required

    Who:
    A local administrator on the PC can perform this cache reset after backing up personal files.
    How:
    Press Win + R, type services.msc, right-click the Windows Update service and select Stop, delete all files and folders inside C:\Windows\SoftwareDistribution, and then right-click Windows Update in Services and select Start.
    Result that matters:
    Emptying C:\Windows\SoftwareDistribution removes corrupt cached update files and forces WUA to rebuild its local index on the next scan.
    If updates download and install cleanly after restarting the Windows Update service, that confirms corrupt cached files in SoftwareDistribution caused 0x80240008.
    If 0x80240008 returns even with a newly rebuilt SoftwareDistribution folder, that rules out the local update cache and points to component store corruption or an external WUA script.
    Evidence to keep:
    Record the time C:\Windows\SoftwareDistribution was cleared and the result of the subsequent Check for updates scan.

    Never delete files outside C:\Windows\SoftwareDistribution, and always back up personal files before clearing the update cache.

    Evidence: Microsoft Windows Update troubleshooting

Still not solved

If the error persists, stop here. See what the technician must do and show you.

Where this code applies

A code is meaningful only inside the right product and version context.

Primary scope

System
Software and digital services
Brand
Microsoft Windows
Product type
Operating system

Known code variants

  • 0x80240008
  • Windows Update 0x80240008
  • WU_E_ITEMNOTFOUND

What it means

In Microsoft's Windows Update error reference and the Wuerror.h header for the Windows Update Agent (WUA) API, 0x80240008 is WU_E_ITEMNOTFOUND for non-network operations: the key for the item queried could not be found. During update scans, downloads, or installations, WUA indexes update collections (such as IUpdateCollection), categories, and cached revision records inside C:\Windows\SoftwareDistribution; when a component or WUA API caller queries an item key that is absent from the active collection or local cache, WUA returns 0x80240008. By itself, this code never indicates a hardware fault or physical disk failure.

Warnings and stop conditions

  • Mediumsource verified

    Do not attempt manual edits under HKEY_LOCAL_MACHINE\Components or HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing; use DISM.exe /Online /Cleanup-image /Restorehealth so Windows replaces corrupted servicing data safely.

    Evidence: Microsoft Windows Update troubleshooting · Fix Windows Update corruptions and installation failures

Symptoms and causes

Probable causes · in order

  • Queried item key is absent from the Windows Update Agent collection or local indexConfirmed

    Both the Windows Update error reference and the WUA API error table (Wuerror.h) define 0x80240008 (WU_E_ITEMNOTFOUND) as a non-network condition where the key for the item queried could not be found.

    Evidence: Windows Update error reference · WUA Success and Error Codes (Wuerror.h)

  • Stale or corrupted update cache files in C:\Windows\SoftwareDistributionCommon

    Corrupt or outdated cached files in C:\Windows\SoftwareDistribution can leave WUA referencing an update or category key that is no longer present in the current scan result.

    Evidence: Microsoft Windows Update troubleshooting

  • WUA API script or management tool querying an item not present in the search collectionPossible

    When a script or management caller iterates over WUA collections such as IUpdateCollection (wuapi.h) and requests an item or key that was not returned by the current IUpdateSearcher::Search call, the lookup fails.

    Evidence: WUA Success and Error Codes (Wuerror.h) · Searching, Downloading, and Installing Updates · IUpdateCollection::get_Item method (wuapi.h)

Virtual technician

Does 0x80240008 still appear after these checks?

Answer a few questions to narrow down the likely cause and the safest next action. Guidance only - it never replaces a professional.

Sources and technical references

  1. 1

    Windows Update error reference

    Microsoft · 2026 · official_doc

Sources: Windows Update error referencereviewed 2026-10-19 · verified

Was this entry useful?