SCCM - Failed to install updates - A system shutdown is in progress

Posted by Nervous-Equivalent@reddit | sysadmin | View on Reddit | 3 comments

I've been seeing something odd for maybe the last 6 months. For our monthly software update deployment workstations are reporting back "Failed to install updates - Error Code 0x8007045B - A system shutdown is in progress" even though they successfully installed all updates.

What this looks like in person is updates install pending reboot, the computer is rebooted, then Software Center shows "Failed" for one or more updates until the next Software Update Deployment Evaluation cycle. If you force a Software Update Eval cycle, the 'failed' updates disappear from Software Center. Investigation shows all updates installed successfully.

Excerpt from wuahandler.log:

Failed to QueryHistory() a pending update (794c2bdc-b2c6-477b-a37c-6721dc742e3c), removing update from tracking list. Error = 0x8007045b.WUAHandler5/26/2026 5:46:12 PM10664 (0x29A8)
Failed to QueryHistory() a pending update (a8f81155-2519-4821-8f73-74283c5bd00b), removing update from tracking list. Error = 0x8007045b.WUAHandler5/26/2026 5:46:12 PM10664 (0x29A8)
Failed to QueryHistory() a pending update (9cb82639-e8cf-48d8-ba76-cdd56010c45c), removing update from tracking list. Error = 0x8007045b.WUAHandler5/26/2026 5:46:12 PM10664 (0x29A8)
Scan results will include all superseded updates.WUAHandler5/26/2026 5:46:12 PM10664 (0x29A8)
Search Criteria is (DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver')WUAHandler5/26/2026 5:46:12 PM10664 (0x29A8)
Failed to run BeginSearch() on WUAgent. Error = 0x8007045b.WUAHandler5/26/2026 5:46:12 PM10664 (0x29A8)

In practice this issue makes it harder to get good compliance numbers in a timely fashion for monthly update deployments. Anyone seen this before?