0x87D00665: No updates to process in the job
The client started a software update job, but the job held no update it could work on. The scan results or the policy are usually out of date.
What 0x87D00665 means
Configuration Manager shows "No updates to process in the job". The decimal form is -2016410011. You see it in the deployment status in the console and in UpdatesHandler.log on the client.
The client builds an install job from the updates in a deployment that are still needed. This error means the job ended up empty. Nothing was installed and nothing was broken. The client and the site only disagree about what is needed.
Common causes
- The updates were installed another way, and the client has not sent its new scan results.
- The updates were removed from the software update group, or they are expired or superseded.
- The client has old policy for the deployment.
- The last software update scan failed, so the client has no current list of needed updates.
How to fix 0x87D00665
-
Run a new scan and a new evaluation
On the client, open Control Panel > Configuration Manager > Actions. Run Machine Policy Retrieval & Evaluation Cycle. Then run Software Updates Scan Cycle. Then run Software Updates Deployment Evaluation Cycle. Wait a few minutes between them.
-
Confirm the scan works
Open
C:\Windows\CCM\Logs\WUAHandler.logandScanAgent.log. Check that the last scan finished without an error. If the scan fails, fix that error first. The client cannot know which updates it needs without a good scan. -
Check the software update group
In the console, open the software update group of the deployment. Look for updates that are expired or superseded. Remove them, or deploy the newer update that replaces them. Check that the content of the group is downloaded and distributed.
-
Check what the client thinks is missing
Run the command below. It lists the updates the client still has to install for its deployments. An empty list means the client needs nothing. The status in the console then clears after the next state message.
Commands that help
Get-CimInstance -Namespace root\ccm\ClientSDK -ClassName CCM_SoftwareUpdate |
Select-Object ArticleID, Name, EvaluationState
Invoke-CimMethod -Namespace root\ccm -ClassName SMS_Client -MethodName TriggerSchedule -Arguments @{ sScheduleID = '{00000000-0000-0000-0000-000000000113}' }
Start-Sleep -Seconds 120
Invoke-CimMethod -Namespace root\ccm -ClassName SMS_Client -MethodName TriggerSchedule -Arguments @{ sScheduleID = '{00000000-0000-0000-0000-000000000108}' }
Turn any hex or decimal error code into its meaning, or search every code on this site.