OSBORNEPRO DOCUMENTATION

← All documentation

Windows Update troubleshooting

Have an error code or a Software Center installation failure? Start with the Windows Update error reference for possible causes, the next diagnostic step, and a pre-patch checklist.

Updates fail immediately on every attempt

When a damaged local update cache is blocking installation, rebuilding it lets Windows download fresh update files and retry the KB. Run the reset from an elevated PowerShell window during the maintenance window. It stops BITS, Windows Update and Cryptographic Services, renames SoftwareDistribution and catroot2 with timestamped backup names, then attempts to restart the services it stopped.

Reset Windows Update folders
$Services = @('bits', 'wuauserv', 'cryptsvc')
$Folders = @(
    (Join-Path -Path $env:SystemRoot -ChildPath 'SoftwareDistribution')
    (Join-Path -Path $env:SystemRoot -ChildPath 'System32\catroot2')
)
$BackupSuffix = (Get-Date -Format 'yyyyMMdd-HHmmss') + '-' + [guid]::NewGuid().ToString('N').Substring(0, 8)
$StoppedServices = [System.Collections.Generic.List[string]]::new()

try {
    foreach ($Name in $Services) {
        $Service = Get-Service -Name $Name -ErrorAction Stop
        if ($Service.Status -ne 'Stopped') {
            $StoppedServices.Add($Name)
            Stop-Service -InputObject $Service -ErrorAction Stop
            $Service.WaitForStatus('Stopped', [TimeSpan]::FromSeconds(30))
        }
    }

    foreach ($Folder in $Folders) {
        if (Test-Path -LiteralPath $Folder -PathType Container -ErrorAction Stop) {
            $BackupName = (Split-Path -Path $Folder -Leaf) + '.bak-' + $BackupSuffix
            Rename-Item -LiteralPath $Folder -NewName $BackupName -ErrorAction Stop
            Write-Output "[UPDATED] Renamed '$Folder' to '$BackupName'."
        }
    }
} catch {
    throw "[FAIL] Windows Update reset stopped. Check the service and folder state before retrying. $($_.Exception.Message)"
} finally {
    for ($Index = $StoppedServices.Count - 1; $Index -ge 0; $Index--) {
        $Name = $StoppedServices[$Index]
        try {
            Start-Service -Name $Name -ErrorAction Stop
        } catch {
            Write-Warning "Could not restart '$Name'. Verify its status. $($_.Exception.Message)"
        }
    }
}

After the reset succeeds, reboot during the approved window, then check for updates again. Windows recreates the folders and downloads needed files. Check the install result and installed KB before removing any backup folders. See Microsoft’s update-component reset example.

If the same KB still fails

Match the failed attempt’s time and error code in %windir%\Logs\CBS\CBS.log. For 0x800f0831, look for Failed to resolve package or a missing manifest. The package named there may be a prerequisite of the KB you tried to install. Find the package identity and check its servicing state.

If the log confirms a missing package and Microsoft’s procedure calls for adding it, obtain the matching KB for that Windows version and architecture from the Microsoft Update Catalog. Follow the KB’s prerequisites and extraction instructions. Replace the example path below with the actual update CAB. For a partially installed package, follow Microsoft’s package-state recovery instructions.

Install the identified update CAB · elevated PowerShell
# Example path only. Substitute the verified CAB for this device.
$PackagePath = 'C:\Updates\windows10.0-kb4462937-x64.cab'
if (-not (Test-Path -LiteralPath $PackagePath -PathType Leaf -ErrorAction Stop)) {
    throw "Update CAB not found: $PackagePath"
}
DISM.exe /Online /Add-Package "/PackagePath:$PackagePath" /NoRestart
if ($LASTEXITCODE -eq 3010) {
    Write-Output 'Package added. Restart Windows to complete servicing.'
} elseif ($LASTEXITCODE -ne 0) {
    throw "DISM failed to add the package (exit $LASTEXITCODE). Review the DISM and CBS logs."
}

Complete the required restart during the maintenance window, retry the original update, and confirm its installation in Update history or by checking the expected OS build.

Repair the component store and system files

Run DISM first. After it reports success, run SFC and let verification finish. If DISM cannot retrieve repair content on a managed network, use an approved repair source for the installed Windows version. See Microsoft’s DISM and SFC instructions.

Repair the Windows component store
DISM.exe /Online /Cleanup-Image /RestoreHealth
Check and repair protected system files
sfc.exe /scannow

Complete pending repairs before retrying the patch. If DISM or SFC reports that a restart is required, reboot during the maintenance window. Pending servicing operations can prevent Windows from starting or completing the next update. After restart, rerun the check if instructed, then retry the failed KB.

Software Center never opens or stays on a blank white screen

Check the SMS Agent Host service (CcmExec) and the client logs under %WINDIR%\CCM\Logs. Start with SCClient_*.log for Software Center, CcmEval.log for client health, and WUAHandler.log for update scans. WSUS by itself does not provide Software Center. See the Configuration Manager log reference.

Record the launch time and match it to the client log entries. A blank window alone does not establish WMI corruption.

If the logs point to WMI, verify repository consistency first.

Check the WMI repository
winmgmt.exe /verifyrepository

Only if verification reports inconsistency, confirm you have a recovery plan and run salvage during a maintenance window. Salvage rebuilds an inconsistent repository and attempts to recover readable content. If verification still reports inconsistency, use your Configuration Manager support process. Bulk MOF recompilation and repository reset can affect registered providers and belong in a targeted recovery procedure. See Microsoft’s WMI command reference.

Salvage a confirmed inconsistent WMI repository
winmgmt.exe /salvagerepository
winmgmt.exe /verifyrepository

After verification reports a consistent repository, reopen Software Center and confirm its content loads. If updates were also affected, run the Software Updates Scan Cycle from the Configuration Manager control panel, confirm the scan completes in WUAHandler.log, and retry the affected update.

Updates stall after moving from NinjaOne to Intune update rings

What happened. After a client moved workstation patching from NinjaOne to Intune, several devices fell behind on security updates. Some were still processing September updates when October updates were available. On the devices tested, removing a local AllowAutoUpdate value set to 0 allowed servicing and outstanding security updates to resume. The exact registry path and the source of the override remain unconfirmed.

Compare the assigned ring with the device

In Intune, open the assigned update ring, note its Automatic update behavior, and check the affected device’s policy status and last check-in. For the Update CSP, AllowAutoUpdate = 0 means Notify download. Users can start the download themselves. If they take no action, installation can wait for the configured deadline. Intune update ring settings · Update CSP values.

Registry location on the workstationWhat to check
MDM update policyHKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Update Read AllowAutoUpdate and compare it with the assigned ring. This is the local view of MDM policy.
Automatic Updates policyHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU Check the exact value name. NoAutoUpdate = 0 enables automatic updates and 1 disables them. The classic AUOptions value for notifying before download is 2. Record any separate AllowAutoUpdate entry you find.
Windows Update policyHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate If UseWUServer is enabled under AU, compare the configured WUServer and your scan-source policies with the intended source for quality updates. Check whether an old feature-update target is still assigned.

The read-only command below also checks Windows Update (wuauserv) and Update Orchestrator (UsoSvc). For example, Start = 4 under HKLM\SYSTEM\CurrentControlSet\Services\wuauserv means the Windows Update service is disabled. A service with a manual startup type can be stopped between scans. Troubleshoot Intune update rings · Windows Update Group Policy settings.

PowerShell · Inspect update policy and services
$PolicyLocations = [ordered]@{
    'HKLM:\SOFTWARE\Microsoft\PolicyManager\current\device\Update' = @('AllowAutoUpdate')
    'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' = @('NoAutoUpdate', 'AUOptions', 'UseWUServer', 'AllowAutoUpdate')
    'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate' = @('WUServer', 'WUStatusServer', 'TargetReleaseVersionInfo')
}

$PolicyRows = foreach ($Path in $PolicyLocations.Keys) {
    Try {
        $Key = if (Test-Path -LiteralPath $Path -ErrorAction Stop) {
            Get-Item -LiteralPath $Path -ErrorAction Stop
        }
        foreach ($Name in $PolicyLocations[$Path]) {
            $Value = if ($null -ne $Key) { $Key.GetValue($Name) }
            [PSCustomObject]@{
                Path = $Path
                Name = $Name
                Value = if ($null -eq $Value) { 'Not configured here' } else { $Value }
            }
        }
    } Catch {
        Throw "Unable to read update policy at '$Path'. $($_.Exception.Message)"
    }
}

$PolicyRows | Format-Table -Property Name, Value -GroupBy Path -Wrap

Try {
    Get-Service -Name 'wuauserv', 'UsoSvc' -ErrorAction Stop |
        Select-Object -Property Name, Status, StartType | Format-Table -AutoSize
} Catch {
    Throw "Unable to read Windows Update service status. $($_.Exception.Message)"
}

Resolve the conflict and verify recovery

  1. Compare the affected workstation with a working device in the same ring. Check applied Group Policy, other Intune profiles, and the former patch tool’s policies or scripts to identify what owns the conflicting value.
  2. Export the affected key and record the value name, type, and data. Retire the conflicting setting at its source. If a value remains after that policy is withdrawn, remove only the confirmed leftover on a pilot workstation. Leave the Intune-managed policy in place.
  3. Sync the device with Intune, re-read the settings, and run a Windows Update scan. Complete any pending restart in the maintenance window. In Update history, confirm that the expected cumulative update installed and verify the OS build after restart. An older update finishing first does not, by itself, establish that every missed monthly update must be installed in sequence.

Check the feature-update target separately. Windows 11 24H2 Home and Pro reached end of updates on October 13, 2026. Check whether eligible devices are assigned a supported release such as 25H2 or 26H2. The 24H2 Enterprise and Education editions remain in servicing through October 12, 2027. Microsoft’s Windows servicing dates.

Sources & methodology

Workbench schedules a daily refresh. Opening the briefing reads the last published snapshot. Check the date for the evidence you plan to use. A snapshot can include results from different checks.

Windows updates and CVEs

Workbench uses Microsoft Security Response Center (MSRC) advisories to match CVEs to a Windows product and KB. These mappings can be available even when the KB article is unreachable. In the free briefing, expand an update to see its mapped CVEs and advisory links. Counts apply to that KB and Windows version. The same CVE can appear in several rows.

Windows release dates

Workbench checks the date in the KB article or matches both the KB and OS build in Microsoft’s Windows release history. A matching Microsoft Graph product revision can also verify the date. If a source is unavailable, Workbench can retain an earlier verified date. Selecting a calendar month shows only Windows updates with a verified release date in that month.

CISA Known Exploited Vulnerabilities (KEV)

Workbench Pro checks each mapped CVE against CISA’s catalog. Yes means the CVE was listed at the recorded check. No means it was absent. Unknown means there is no verified result. Microsoft’s Exploited and Publicly disclosed fields come from MSRC.

Known issues and prerequisites

Workbench reads the known-issues section of the Microsoft KB and checks Windows release health through Microsoft Graph. It matches the Windows product and originating KB. Workbench Pro also identifies issues the KB resolves or mitigates when Microsoft supplies that relationship.

No matching issue in Graph means the lookup succeeded and found no originating issue for that product and KB. None listed requires an explicit statement in the KB. If a lookup fails, check the date on any retained review. Without a verified review, issue coverage is unknown.

The Prerequisite Checker uses Microsoft KB installation guidance to identify required updates, checkpoints and bundled servicing stack updates. Check the package architecture and installation method against your environment.

.NET Framework and SQL Server

Framework release and package mappings come from Microsoft’s dotnet/docs release notes on GitHub, with Microsoft Learn as a fallback. Release-wide guidance is shown separately from evidence for an individual KB. SQL Server builds come from Microsoft’s build workbook or version-specific build tables. MSRC mappings and package articles supply security and servicing evidence where available.

Coverage and summaries

In Workbench Pro, open Windows updates, SQL Server updates or .NET Framework updates and expand Source coverage and freshness. Each row shows which records have evidence and the dates available for those checks. For example, Windows CVE mappings can have a current MSRC check while the release health lookup is unavailable.

The free briefing covers the latest collected Windows release month and applicable Framework KBs. Driver, feature, preview and out-of-band coverage can be incomplete. Summaries use collected metadata. Follow the linked advisory or KB for full guidance.