OSBORNEPRO DOCUMENTATION
Windows Update error reference
Look up the exact error or symptom, identify the next check, and use the linked Microsoft guidance to confirm the repair.
Open the Windows Update troubleshooting guide for copyable DISM, SFC, update cache reset, and WMI verification commands.
Error codes and symptoms
| Error or symptom | What to check first | Next step and documentation |
|---|---|---|
0x800f081fSource files could not be found | Match the failure time in %WINDIR%\Logs\CBS\CBS.log and check whether the device can reach its configured repair source. | Find an appropriate DISM repair source. See Microsoft's common update errors. |
0x800f0831CBS_E_STORE_CORRUPTION | Find the package identity CBS reports as missing or unresolved at the time of the failure. | Identify the missing package. See Microsoft's 0x800f0831 guidance. |
| The update is not applicable to your computer | Check the Windows release, build, and CPU architecture. Verify whether the package is installed, superseded, or requires an earlier update. | Run the applicability checks. See Microsoft's applicability guidance. |
| Windows Update finds no applicable updates on a device that is behind | Check whether the target cumulative update requires a separate servicing stack update (SSU) that the device is missing, especially on older Windows releases or servicing baselines. | Check for missing SSU prerequisites with the Prerequisite Checker. |
| Software Center never opens, or opens to a blank white window that never loads | Note the time you launched Software Center. Check SCClient_*.log for startup errors and CcmEval.log for client-health findings at that time. | Troubleshoot Software Center startup. If the logs point to WMI, verify repository consistency before considering repair. |
| Software Center reports an update failure | Identify whether the failure occurred during scan, content download, or installation. | Choose the Configuration Manager log by stage. See Microsoft's deployment trace. |
0x80072EE2Update scan timed out | Identify the configured update source. For a managed client, check the WSUS server address and port. For Microsoft Update, check the client’s network and proxy path to Microsoft. | Check the proxy and WSUS port, restore connectivity to the configured source, run a new scan, and verify that it completes. Microsoft guidance for 0x80072EE2. |
0x80070005Access denied during installation | Match the failure time in %WINDIR%\Logs\CBS\CBS.log and identify the file or registry key that denied access. | Find the access-denied entry in CBS. Compare that object’s permissions with the expected configuration. Correct the specific discrepancy and retry the KB. Microsoft guidance for 0x80070005. |
0x80070422A required service is disabled | Check the startup configuration and status of the Windows Update service (wuauserv). On managed devices, review the policy that controls it. | Check the service start mode. If the service was disabled unintentionally, restore the approved configuration and retry the scan. Microsoft guidance for 0x80070422. |
0x8007000DInvalid update data | Record the failed installation event, then download the update again and retry installation. Record the KB and error if the fresh download also fails. | If repeated failures point to cached update data, follow the update-cache reset procedure. Microsoft guidance for 0x8007000D. |
0x80070020A file needed by the installer is in use | Find the affected file path in CBS.log at the failure time. Filter Process Monitor by that path while retrying the installation to identify the process holding the file. | Once the process is identified, coordinate a safe way to release the file and retry during the maintenance window. Microsoft guidance for 0x80070020. |
0x80073701A referenced Windows component is missing | Search CBS.log for the missing assembly at the installation failure time. | Follow the DISM and SFC repair steps, then retry the KB and verify installation. Microsoft guidance for 0x80073701. |
Find the failed attempt
Run the checks in an elevated PowerShell window on the affected Windows device. If you already have the KB and local failure time, go straight to its error below. Otherwise, find the matching installation event and record its time, update title, and error code.
$Filter = @{
LogName = 'System'
ProviderName = 'Microsoft-Windows-WindowsUpdateClient'
Id = 20
}
Try {
Get-WinEvent -FilterHashtable $Filter -MaxEvents 20 -ErrorAction Stop |
Format-List -Property TimeCreated, Message
} Catch {
if ($_.FullyQualifiedErrorId -like 'NoMatchingEventsFound*') {
Write-Output 'No matching installation failure was found in the retained System log.'
} else {
throw "Could not read Windows Update events. $($_.Exception.Message)"
}
}The CBS searches show the matching line and up to four lines on either side. To narrow a search, set $FailureHour to the local date and hour as written in CBS. Leave it blank to search the whole file. If the search returns no lines, clear the time filter and check the dates in the log. If CBS.log starts after the failure, point $CbsLog at the corresponding CbsPersist*.log. If the log was archived in a CAB, extract a copy first.
Find a DISM repair source for 0x800f081f
- Record the failed KB and local timestamp and the full Windows build. Search
CBS.logaround that timestamp for0x800f081forCBS_E_SOURCE_MISSING. Look for the file or component named near the matching line.Find the missing repair source in CBS.log$CbsLog = Join-Path -Path $env:windir -ChildPath 'Logs/CBS/CBS.log' $FailureHour = '' # Optional local time prefix: yyyy-MM-dd HH $Patterns = '0x800f081f', 'CBS_E_SOURCE_MISSING' Try { Select-String -LiteralPath $CbsLog -Pattern $Patterns -SimpleMatch -Context 4, 4 -ErrorAction Stop | Where-Object { $_.Line.StartsWith($FailureHour) } } Catch { throw "Could not search '$CbsLog'. $($_.Exception.Message)" } - Check your organization's repair-source policy and whether the configured source is reachable. For an offline source, verify compatibility with the installed Windows release, architecture, languages, and servicing level. If you use a WIM, use the listing below to find the index for the installed edition. Replace the example path with your approved WIM. A successful listing confirms the file is readable from this session. Check the source against the target before using it for repair.
List editions and image indexes in the approved WIM
$WimPath = 'D:\sources\install.wim' # Replace with your mounted media or approved share Dism.exe /Get-ImageInfo "/ImageFile:$WimPath" if ($LASTEXITCODE -ne 0) { throw "DISM could not read '$WimPath' (exit $LASTEXITCODE)." } - During the maintenance window, use the matching source approved by your organization. For a WIM, set the file path and edition index below.
/LimitAccessprevents DISM from contacting Windows Update for repair files. See Microsoft’s repair-source guidance for other source types. After DISM succeeds and any required restart completes, run SFC, retry the original KB, and record the installation result.Repair Windows with the approved WIM and index$WimPath = 'D:\sources\install.wim' # Replace with the approved WIM $ImageIndex = 0 # Replace with the matching index from the listing if ($ImageIndex -lt 1) { throw 'Set the image index for the installed edition before running the repair.' } $Source = 'WIM:{0}:{1}' -f $WimPath, $ImageIndex Dism.exe /Online /Cleanup-Image /RestoreHealth "/Source:$Source" /LimitAccess if ($LASTEXITCODE -eq 3010) { Write-Output 'Repair succeeded. Restart during the maintenance window before running SFC.' } elseif ($LASTEXITCODE -ne 0) { throw "DISM repair failed (exit $LASTEXITCODE). Review the DISM and CBS logs before continuing." }
Identify the missing package for 0x800f0831
- Search
CBS.logaround the failed install for0x800f0831and package resolution errors. Copy the full package identity from the resolution or missing-manifest line, including the architecture and version. Record any KB it names.Find the unresolved package or missing manifest in CBS.log$CbsLog = Join-Path -Path $env:windir -ChildPath 'Logs/CBS/CBS.log' $FailureHour = '' # Optional local time prefix: yyyy-MM-dd HH $Patterns = '0x800f0831', 'CBS_E_STORE_CORRUPTION', 'Failed to resolve package', 'manifest missing for package' Try { Select-String -LiteralPath $CbsLog -Pattern $Patterns -SimpleMatch -Context 4, 4 -ErrorAction Stop | Where-Object { $_.Line.StartsWith($FailureHour) } } Catch { throw "Could not search '$CbsLog'. $($_.Exception.Message)" } - Compare the CBS evidence with the update's Microsoft KB, catalog entry, and prerequisites. The KB that failed and the package it depends on can be different. Use the Prerequisite Checker guide to review dependency evidence. Paste the identity from CBS below and record the package state if DISM recognizes it. If DISM cannot find the identity, keep its message with the original CBS lines.
Look up the exact CBS package in the running Windows image
$PackageName = 'PASTE_FULL_PACKAGE_IDENTITY_FROM_CBS_HERE' Dism.exe /Online /Get-PackageInfo "/PackageName:$PackageName" if ($LASTEXITCODE -ne 0) { throw "DISM could not look up '$PackageName' (exit $LASTEXITCODE). Review its message above." } - Follow Microsoft's repair procedure for the specific package state. If the procedure calls for adding a missing CAB, see the DISM package installation example. Complete any required restart, retry the original KB, and confirm it installed.
Check an update that is not applicable
- Compare the installed Windows release, build, and architecture with the update's supported products in the Microsoft Update Catalog.
- Check update history and package inventory for the KB or a newer applicable cumulative update that supersedes it. For example, if the installed monthly cumulative update already supersedes an older standalone package for the same Windows release, verify the current build against Microsoft's release history before retrying the old package.
- Review the KB's prerequisites. Install a missing prerequisite only after confirming the KB lists it for your Windows release and package.
Try {
$OperatingSystem = Get-CimInstance -ClassName Win32_OperatingSystem -ErrorAction Stop
$Revision = Get-ItemPropertyValue -LiteralPath 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name UBR -ErrorAction Stop
[PSCustomObject]@{
Windows = $OperatingSystem.Caption
Build = "$($OperatingSystem.Version).$Revision"
Architecture = $OperatingSystem.OSArchitecture
}
} Catch {
throw "Could not read the Windows build and architecture. $($_.Exception.Message)"
}Check for missing SSUs when Windows Update finds nothing
If a device is behind on updates and an online scan against Microsoft finds nothing applicable, check for a missing servicing stack prerequisite. Many Windows releases bundle the SSU with the cumulative update, so look for a separate SSU only when the target KB lists one for your release and baseline.
- Record the Windows version, build, architecture, and last installed cumulative update.
- Open the Prerequisite Checker, select the affected Windows release and target cumulative update, and compare the listed SSU prerequisites with the installed packages. Confirm each missing prerequisite in the target KB's Microsoft documentation.
- If Microsoft lists a required standalone SSU that is missing, install the applicable package in the documented order, restart if required, and run Windows Update again.
Compare the package identity and state with the prerequisite in the target KB. The search below covers common servicing stack and cumulative package names. An empty list alone does not establish that an SSU is missing.
Try {
Get-WindowsPackage -Online -ErrorAction Stop |
Where-Object { $_.PackageName -match 'ServicingStack|RollupFix' } |
Sort-Object -Property InstallTime -Descending |
Format-List -Property PackageName, PackageState, InstallTime
} Catch {
throw "Could not read the Windows servicing package inventory. $($_.Exception.Message)"
}Find the right Software Center log
On a Configuration Manager client, start in %WINDIR%\CCM\Logs and correlate entries by the deployment failure time.
- Scan or applicability — Check
ScanAgent.logandWUAHandler.logfor the scan request and Windows Update Agent result. - Content download — Check
CAS.logandContentTransferManager.logfor content lookup and transfer activity. UseDataTransferService.logfor transfer details. - Installation or restart — Check
UpdatesDeployment.log,UpdatesHandler.log, andWUAHandler.log. If Windows servicing reports the failure, correlate it with%WINDIR%\Logs\CBS\CBS.log.
Choose a log from the stage above and match its entries to the failure time. For a blank Software Center window, use the actual SCClient_*.log filename for the affected user, or CcmEval.log for client health. Set $LogFolder if the client uses a different log directory.
$LogName = 'UpdatesHandler.log' # Choose the log for the failing stage
$LogFolder = Join-Path -Path $env:windir -ChildPath 'CCM/Logs'
$LogPath = Join-Path -Path $LogFolder -ChildPath $LogName
$Patterns = 'failed', 'type="3"' # Or use the exact error code or deployment ID
Try {
Select-String -LiteralPath $LogPath -Pattern $Patterns -SimpleMatch -Context 2, 2 -ErrorAction Stop
} Catch {
throw "Could not search '$LogPath'. $($_.Exception.Message)"
}Find access, file-sharing, or assembly errors in CBS
For 0x80070005, look for the path or registry key mentioned before access was denied. For 0x80070020, record the file path to trace in Process Monitor. For 0x80073701, record the assembly identity and version.
$CbsLog = Join-Path -Path $env:windir -ChildPath 'Logs/CBS/CBS.log'
$FailureHour = '' # Optional local time prefix: yyyy-MM-dd HH
$Patterns = '0x80070005', 'E_ACCESSDENIED', '0x80070020', 'ERROR_SHARING_VIOLATION', '0x80073701', 'ERROR_SXS_ASSEMBLY_MISSING'
Try {
Select-String -LiteralPath $CbsLog -Pattern $Patterns -SimpleMatch -Context 4, 4 -ErrorAction Stop |
Where-Object { $_.Line.StartsWith($FailureHour) }
} Catch {
throw "Could not search '$CbsLog'. $($_.Exception.Message)"
}Check a timed-out scan or disabled service
For 0x80072EE2, confirm which source your update policy selects for this update type. If it uses WSUS, compare the policy URL with the expected server. A successful TCP test confirms the port is reachable. Verify the scan itself afterward.
netsh.exe winhttp show proxy
if ($LASTEXITCODE -ne 0) { throw "Could not read WinHTTP proxy settings (exit $LASTEXITCODE)." }
$PolicyPath = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate'
Try {
$ServerUrl = if (Test-Path -LiteralPath $PolicyPath -ErrorAction Stop) {
(Get-ItemProperty -LiteralPath $PolicyPath -ErrorAction Stop).WUServer
}
if ($ServerUrl) {
$Server = [uri]$ServerUrl
Test-NetConnection -ComputerName $Server.Host -Port $Server.Port -ErrorAction Stop |
Select-Object -Property ComputerName, RemotePort, TcpTestSucceeded
} else {
Write-Output 'No WUServer URL was found in this policy key.'
}
} Catch {
throw "Could not check the configured WSUS connection. $($_.Exception.Message)"
}For 0x80070422, check StartMode. A service with a manual start mode can be stopped between scans. If the start mode is Disabled, review the policy that set it.
Try {
Get-CimInstance -ClassName Win32_Service -Filter "Name = 'wuauserv'" -ErrorAction Stop |
Select-Object -Property Name, State, StartMode
} Catch {
throw "Could not read the Windows Update service configuration. $($_.Exception.Message)"
}Monthly Windows pre-patch checklist
- Record each target's Windows release, build, architecture, last installed cumulative update, and pending restart state.
- Use the Windows Update Briefing to identify the month's candidate KBs. Review Microsoft's prerequisites, known issues, and any relevant mitigations for the selected systems.
- Confirm pilot scope, recovery options, maintenance window, and the owner who can pause or roll back the rollout.
- After the pilot, verify the expected KB or build, restart state, and application health before expanding the rollout.
Record the full OS build before and after the pilot. The check below reports whether Windows Update requires a restart to finish an update. Record application health separately.
Try {
$UpdateInfo = New-Object -ComObject Microsoft.Update.SystemInfo -ErrorAction Stop
[PSCustomObject]@{ WindowsUpdateRestartRequired = $UpdateInfo.RebootRequired }
} Catch {
throw "Could not read the Windows Update restart state. $($_.Exception.Message)"
}Share a fix for review
Include the exact error, Windows version and build, affected KB, update source, and what resolved it. Add a Microsoft documentation link or a sanitized log excerpt if available. We review submissions before adding them to the reference.