Score:0

Are there hooks for Windows Updates?

cn flag

It would be really neat to be able to attach a "blocking hook" to when a Windows Update gets installed so that I could take a snapshot on an ESXi of the machine in question before the update is installed.

In Windows I would imagine that you'd attach it to some kind of event ID in task scheduler, but I don't think it would "block" so that the snapshot happens before the update.

Score:0
my flag

I don't know if a signal is sent to the system, which can be intercepted, as in the case of shutdown (WM_ENDSESSION) for example, or a event you can get from the log BEFORE the update is launched.

You could very crudely do a scheduled (batch) search for updates. If they exist, take a snapshot and then apply them. Really crude. There is a (not free) software that do this kind of stuff, but I don't think it is permissible to mention it

From Windows 10-1803 yes, you can (maybe!) https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-enable-custom-actions

cn flag
I think that's for when you're setting up Windows with a silent installer.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.