Error Details
| Fact | Value | Source | Note |
|---|---|---|---|
| Error Code | 0x80240017 (WU_E_NOT_APPLICABLE) | Windows Update event log and CBS logs | Indicates an update is not applicable due to missing prerequisites. |
| Affected OS Builds | Windows 10 / Windows 11 | Microsoft Documentation | Applies to all supported versions requiring updates. |
| Registry Key | HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing | Registry Editor (Regedit) | Check for incomplete or corrupted entries. |
| Relevant Service/Endpoint URL | https://support.microsoft.com/help/4027580 | Microsoft Support | Provides details on Servicing Stack Updates (SSU). |
| Log Line Signature | Not applicable update detected in CBS.log or ScanAgent.log | Windows Logs | Search for specific error indicators. |
Log Files to Check
C:\Windows\Logs\CBS\CBS.logC:\Windows\SoftwareDistribution\Logs\ScanAgent.log
What This Error Actually Means
The error code0x80240017 (WU_E_NOT_APPLICABLE) indicates that a Windows Update operation was not performed because the update is not applicable to the system. This error is raised by the Windows Update client when it detects that a cumulative update, feature pack, or other update package lacks the necessary prerequisites for installation. Specifically, this occurs when the system is missing an earlier required update, service pack, or component that the target update depends on. The error is logged in multiple locations, including the Windows Update event log and Component-Based Servicing (CBS) logs.
Affected Versions and Scope
This error affects all supported builds ofWindows 10 and Windows 11. It is particularly common when attempting to install cumulative updates or feature packs on systems that have not installed the latest Servicing Stack Update (SSU) or other required prerequisites. The error does not occur on systems where all necessary prerequisites are already installed, ensuring smooth update installation.
Where To Look First: Logs and Event IDs
To diagnose this issue, examine the following logs: 1. **Windows Update event log**: Open Event Viewer (eventvwr.msc) and navigate to Applications and Services Logs > Microsoft > Windows > WindowsUpdateClient > Operational. Look for events with ID 20 that include the error code 0x80240017 and the specific KB number of the failed update.
2. **Component-Based Servicing (CBS) log**: Located at C:\Windows\Logs\CBS\CBS.log, search for entries containing 'Not applicable' or '0x80240017'. These entries detail the missing prerequisites.
3. **SoftwareDistribution download log**: Found at C:\Windows\SoftwareDistribution\Logs\ScanAgent.log, look for lines with 'NotApplicableRule' or 'PrerequirementMet=false'.
Root Causes
Missing Servicing Stack Update (SSU)
The SSU is a critical prerequisite for most cumulative updates. If the latest SSU is not installed before attempting to apply a cumulative update, this error occurs. Verify if the system has the latest SSU by checkingControl Panel > Update and Security > Windows Update or using PowerShell:
Get-InstalledUpdate -KBNumber 'KB5019468'
Outdated or End-of-Servicing OS Build
If the system runs an older version of Windows 10 that has reached end-of-support, updates targeting newer builds will fail. Check the current build version viawinver and ensure it matches supported versions.
Missing .NET Framework Components
Some updates require specific .NET Framework versions (e.g., .NET 3.5 or 4.8). Verify these are enabled inControl Panel > Programs > Turn Windows features on or off. Use PowerShell to check:
Get-WindowsFeature -Name NetFx3,NetFx4
Edition Mismatch
Updates may target a different edition (e.g., Enterprise) than the installed version (e.g., Home). Confirm the system's edition viawinver or PowerShell:
Get-ComputerInfo | Select-Object WindowsEditionId,WindowsEditionName
Fix Procedure
Follow these steps to resolve the issue: 1. **Install Missing Prerequisites**: - Install the latest SSU usingwinget install Microsoft.Windows.ServicingStack.Update.
- Enable required .NET Framework components via Control Panel or PowerShell.
2. **Repair Component-Based Servicing**:
Run the following commands to repair the servicing stack:
dism /online /cleanup-image /restorehealth
sfc /scannow
3. **Check for Updates Again**:
After installing prerequisites, attempt the update again via Windows Update.
4. **Force Update Installation**:
If updates are still skipped, download and install them manually from the Microsoft Update Catalog.
5. **Verify System Edition**:
Ensure the system's edition matches the target update's requirements.
Error Code Variants
| Code | Description |
|---|---|
| 0x80240017 | Update not applicable due to missing prerequisites. |
| 0x8024003D | Update already applied or installed. |
| 0x8024001F | Invalid update for system configuration. |
Verification
After applying fixes, check the following: - Windows Update history shows successful installation of previously skipped updates. - CBS.log and ScanAgent.log no longer contain'Not applicable' or 'PrerequirementMet=false'.
- Verify update installation via PowerShell:
Get-HotFix | Where-Object HotFixID -eq 'KBXXXXXXX'
Prevention
Implement these measures to avoid recurrence: 1. **Regular Maintenance**: Schedule regular updates and ensure the latest SSU is always installed before applying cumulative updates. 2. **Intune Policies**: Use Intune to enforce update policies, ensuring prerequisites are met before deployment. Navigate toIntune admin center > Devices > Configuration profiles.
3. **Monitoring**:
Continuously monitor CBS.log for early signs of prerequisite issues:
Get-Content -Path C:\Windows\Logs\CBS\CBS.log -Tail 100 | Select-String 'Not applicable'
Warning: When repairing the servicing stack, ensure backups are in place. Improper execution can affect enrolled devices.
Tip: Use
Get-WinEvent -LogName "Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin" -MaxEvents 50 to quickly identify update-related issues in the event log.