ZTIWindowsUpdate.wsf fix to support Windows 8.1 August Update (KB2975719)

Been refining my Image Factory process, and noticed a regression with the new Windows 8.1 August Update (KB2975719).

What I observed in my ZTIWindowsUpdate.log file is that the Windows Update Agent found the (KB2975719) update, and applied it to the system. Then after reboot, the *same* update was found again. However in this case the Update was a little different, however for the second application of KB2975719, the size was different. Is this the same update or a different package?


INSTALL - 9fed22fc-cdd2-4724-8463-c08f21de6196 - Update for Windows 8.1 for x64-based Systems (KB2975719) - 13 MB
...
[sometime later]
...
FOUND - 9fed22fc-cdd2-4724-8463-c08f21de6196 - Update for Windows 8.1 for x64-based Systems (KB2975719) - 183 MB

MDT Does not install the larger 183MB package, so the update is not installed. Whoops.

Background

Although I don’t recall the exact scenario, there have been some updates published to Windows Update that just don’t play well with others. There was one package that was particularly troublesome, when we ran a query through the Windows Update Agent, the package would report as not-installed and ready to install. We would allow the install to proceed, however upon reboot, we would re-run the Windows Update Agent query, and the same update would be reported as not-installed, and ready to install, AGAIN! This would create an infinite loop, trying to install, and re-install the same package over and over again.

ZTIWindowsUpdate.wsf has detection logic to reboot and re-run a maximum of 7 times to prevent infinite loops. In addition, if the update was downloaded and scheduled for installation, we will not allow that package to be installed again. The later example is what is now causing problems with KB2975719.

I removed the logic to prevent MDT from installing the same package again if already installed, and so far, I don’t see any regressions with Windows 7 SP1, Windows 2008 R2 SP1, Windows Server 2012 R2, Windows 8.1 and the new Windows 10 Technical Preview builds (both client and server).

Build

https://onedrive.live.com/redir?resid=5407B03614346A99%2113517

(Really, I need to start putting all of my miscellaneous scripts into a single location. :^(

Advertisements

4 thoughts on “ZTIWindowsUpdate.wsf fix to support Windows 8.1 August Update (KB2975719)

  1. Hi Keith,

    thanks a lot for this useful post and a solution!
    Got the same (bad) experience with KB2975719 in Windows Server 2012 R2.
    As well I had problems with KB2975331 in Windows Server 2012.
    Using your Script in MDT 2013 works also for this (bad) update.

    Unfortunately, it still reflects – once again – the current misserable quality management of patches from Microsoft!

    Greetings Haecki

  2. Pingback: ZTIWindowsUpdate.wsf fix … Part II | Keith's Consulting Blog

  3. Pingback: » MDT 2013 – Fix for installing KB2975719

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s