PatchReporter

Docs

Which Windows Devices Are Likely to Fail the Next Patch Cycle?

Short Answer

List devices with a required update and a recent unresolved failure, restart requirement or space constraint. Use the most recent successful assessment to distinguish measurable risk from missing visibility.

See also Microsoft Learn: Windows Update issues troubleshooting, Windows patch management best practices, the Patch Tuesday readiness checklist and how to reduce Windows patch install failures before deployment.

ISystemInformation::get_RebootRequired (wuapi.h) - Win32 apps ยท Win32_OperatingSystem class - Win32 apps

By

Find devices with a required Windows update and an unresolved error, restart requirement or space constraint before the next patch cycle.

Category: Troubleshooting | Published | Updated

Read the official guide: Microsoft Learn: Windows Update issues troubleshooting

What You'll Get

  • Identify the endpoint states that usually predict failed or stalled patch cycles before deployment begins
  • Run a short preflight audit to separate healthy devices from risky devices quickly
  • Move remediation work onto the right endpoints instead of broad patch-window guesswork

Select devices with evidence of an unresolved blocker

In Devices, compare the pending count, restart flag and collection age on each candidate. Put the sample laptop with a required restart into the restart queue. Give the unknown remote device a collection check. Validate a missing required update and any recorded failure before assigning urgency.

PatchReporter Devices with Last Seen, Pending Updates and Reboot Required for six example devices.
Compare Last Seen with the state on the same device row. The remote device has an unknown state and blank counts. Synthetic sample data. PatchReporter. Open full-size screenshot.

What High-Risk Devices Usually Have in Common

SignalWhy it matters before patch daySimple threshold
Pending rebootThe servicing stack is already waiting on unfinished work from a previous cycleAny reboot-required flag is present
Low disk spaceUpdates may not stage, expand, or roll back reliablyUnder 5 GB free or under 5% free on C:
Repeated update failuresThe device already proved it cannot complete normal install flowTwo or more recent install failures
Scan or download errorsThe device may never reach install phase at allRecent Event ID 25 or 31 pattern
Stale servicing stateLong reboot age or old scan state often means unresolved patch debt is stacking up30+ days since reboot or scan state appears old

Inference from patch operations: the highest-risk devices usually have one severe blocker or several smaller blockers at the same time.

A Fast Triage Flow Before Deployment

  1. Check whether the device is pending reboot.
  2. Check free space on the system volume.
  3. Check whether Windows Update, BITS, and related services are healthy.
  4. Check recent WindowsUpdateClient errors and failed installs.
  5. Move the device into a remediation queue if any blocker is present.

This sequence matters because it stops you from treating every risky endpoint as a mystery. Most failures are visible before deployment if you inspect the machine in the right order.

PowerShell Preflight Audit

PS> $os = Get-CimInstance Win32_OperatingSystem
PS> $vol = Get-Volume -DriveLetter ($env:SystemDrive.TrimEnd(':'))
PS> $daysSinceBoot = ((Get-Date) - $os.LastBootUpTime).Days
PS> $pendingReboot = @(
>>   Test-Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending'
>>   Test-Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired'
>> ) -contains $true
PS> $services = Get-Service wuauserv, bits, cryptsvc | Select-Object Name, Status, StartType
PS> $events = Get-WinEvent -FilterHashtable @{
>>   LogName = 'System'
>>   ProviderName = 'Microsoft-Windows-WindowsUpdateClient'
>>   StartTime = (Get-Date).AddDays(-14)
>>   Id = 20
>> } -ErrorAction SilentlyContinue
PS> [pscustomobject]@{
>>   ComputerName = $env:COMPUTERNAME
>>   DaysSinceBoot = $daysSinceBoot
>>   PendingReboot = $pendingReboot
>>   SystemDriveFreeGB = [math]::Round($vol.SizeRemaining / 1GB, 2)
>>   RecentFailureEvents = @($events).Count
>>   ServicesHealthy = (@($services | Where-Object Status -ne 'Running').Count -eq 0)
>> }

Use this as a pre-deployment gate. If the device fails more than one of these checks, treat it as a likely patch-cycle failure candidate until remediated.

What to Do With the Devices You Flag

If the device showsDo this firstWhy
Pending rebootRestart and rerun scanIt clears unfinished servicing work before another install attempt.
Low disk spaceRecover space before approvalPatch staging and rollback need room.
Repeated install failuresReview event IDs, then run DISM and SFC if neededIt distinguishes local servicing damage from policy or network issues.
Download failuresCheck proxy, connectivity, and BITSThe device may never reach install stage otherwise.

The operational goal is simple: fix the small set of endpoints most likely to waste patch window time, then let the rest of the fleet follow the normal cadence.

FAQ

What makes a Windows device likely to fail the next patch cycle?

The most common predictors are pending reboot state, low disk space, repeated recent patch failures, and scan or download problems that are already visible before deployment starts.

Do I need machine learning to identify likely patch failures?

No. A simple rules-based preflight check usually catches the most common failure conditions well enough for operational triage.