I am trying to get a handle on how Windows 10, once having downloaded them, makes the decision to actually install updates.
I am looking back through the event logs of a Windows 10 (1607) installation relating to the WindowsUpdateClient source. The computer gets turned on only occasionally (maybe for several hours every week or two, sometimes more often, sometimes less often).
I can see 4 different possible events.
- Started Downloading
- Started Installing
- Installation Success
- Installation Failed.
I can a lot of "Started Downloading" events on 4/April, 17/May, 27/June, 10/July but no attempt to begin installation until 10/July
Then on 10/July and 28 / August it starts to attempt a few installations - not all of what it previously downloaded (only 9 out of over 20 downloads) - some succeeded but two failed. The fails were:
- HP - Printer - 20.79.1.6738 (failed twice!)
- 2022 Security Update (KB5012170)
Then on 28/August, it attempted to redownload the 2 failed ones, the HP one 3 times(!) (all starting at 13:29:39 so I don't think it's 3 retries)
And there's been nothing in the Event log since for this source - but a user reported on 10/Sept that it was attempting and failing to install the HP Printer one again (in a loop), but though these attempts don't appear in the event log under WindowsUpdateClient
So what triggers Windows to start the actual installation of updates? And how does it choose which updates to install - i.e. why wasn't installation attempted of the other updates that appeared in the event log as downloading? (Maybe the download didn't complete - the event log only mentions the Start of download).
And are there any other events I should be looking out for in the event log? e.g. something else that indicates attempts to install the updates, or that indicates that the download o the update has completed? I feel like I might be missing some information, e.g. those HP Printer updates I mentioned.
Edit
I have read that it might decide to start installation during "idle time" - however, I am not sure how this is defined. And are there other conditions that would set off the installation?