OnSearchComplete – Failed to end search job

Currently patching an environment that has not been receiving patches regularly. 30 servers. Not a big deal, but some Windows Server 2008 R2 ones, which are always fun due to the update process.

Noticed that updates were not going out to a bunch of Windows Server 2008 R2 servers that were configured (Deployment Package) after the rest.

Thought it was my Deployment Package, so redeployed the Deployment Package with more certainty and confidence.
Still no luck. Decided to check the SCCM logs.
Checked the WUAHandler.log under C:\Windows\CCM\Logs and found that the below error:

OnSearchComplete – Failed to end search job. Error = 0x80072efe
Scan failed with error = 0x80072efe

SCCMError#1

This error indicates an issue talking to the WSUS server. For my particular case the WSUS App Pool was stopped, meaning it couldn’t communicate with it.

Start the App Pool and it fixes the problem. If the application pool is running for you then check you can connect to the WSUS URL, eg. http://:8530 remotely from the client and troubleshoot that way.

You can confirm this by checking C:\Windows\CCMCache and looking at the timestamp for the updates coming in.

SCCMError#2.png