by kentsu » 29.10.2016, 05:09
Update: All is well now. After about 24 hours on a fresh try, I gave up on wsusoffline -- it seemed to be stuck in the same place in the script (enumerating IDs). Feeling a little desperate, I kicked off Windows Update. I let the machine run and, almost four days later, it installed a bunch of stuff (160+ items) all at once.
I watched what was going on during those ~4 days using Task Manager and Resource Monitor. It was very hard to tell whether anything productive was happening. The WU process (inside svchost,exe) always occupied 25% of the CPU, never more, even when I manually set the priority of the process to High. Disk activity was pretty sparse and never displayed a filename that seemed to mean much (mostly SOFTWARE and SOFTWARE.LOG). There was a bit more network activity, but certainly not heavy or constant, and sometimes looked like just a heartbeat.
If the wsusoffline script and the WU client use the same engine for figuring out what updates are needed, then I guess the wsusoffline script wasn't stuck after all, and if I had waited, all would have been well. If that's the case, then I have a suggestion: It would be nice if the script could confirm that it is making progress through a long list of available updates. Could it print to the screen the name of each update needed, as it is found?
Thanks,
--Kent