Listing ids of missing updates (please be patient, this will

Re: Listing ids of missing updates (please be patient, this

Postby Denniss » 12.09.2015, 14:42

Reminds me of the Problem in XP that was fixed later on, never fixed in Server 2003 x86 - WUA had to go through IE updates over and over and drop superseded updates one by one and this took ages to accomplish.
Maybe there's a similar problem these days. At least M$ has borked it again.
Denniss
 
Posts: 869
Joined: 01.08.2009, 10:51

Re: Listing ids of missing updates (please be patient, this

Postby RobJ » 12.09.2015, 17:33

Before I discovered wsusoffline I used a simple KIX script to walk through a directory with a number of update
files, parse each name to extract the KB number, lookup that number in the registry to see if the update is already
installed (in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Hotfix), and if not it installed
the update.

This was on Windows XP, but I think it should still be possible to do the same thing on recent Windows versions.
To scan the directory containing about 150 updates and check them all took less than a second.

The only problem was the maintenance of the directory. Every month I needed to use the Microsoft security bulletin
to find the new updates, download them, and check in the bulletin which updates were replaced and delete them.
But this is of course part of the "downloading the updates" job that wsusoffline already performs, not part of the
actual installation on each new system.
RobJ
 
Posts: 12
Joined: 11.09.2015, 15:59

Re: Listing ids of missing updates (please be patient, this

Postby Denniss » 13.09.2015, 00:18

A tip that might improve determination of updates, manually DL + install KB3078601 and try again after reboot. Found at http://www.planet3dnow.de/vbulletin/thr ... iert-nicht
Although it's too soon to verify this but my reinstalled Vista VM previously hung for hours without visible progress, with this update installed it required "just" 25 minutes to start installing
Denniss
 
Posts: 869
Joined: 01.08.2009, 10:51

Re: Listing ids of missing updates (please be patient, this

Postby boco » 13.09.2015, 05:45

Before I discovered wsusoffline I used a simple KIX script to walk through a directory with a number of update
files, parse each name to extract the KB number, lookup that number in the registry to see if the update is already
installed (in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Hotfix), and if not it installed
the update.

This was on Windows XP, but I think it should still be possible to do the same thing on recent Windows versions.
To scan the directory containing about 150 updates and check them all took less than a second.
Checked with Windows 7. That key doesn't exist anymore.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2398
Joined: 24.11.2009, 17:00
Location: Germany


Previous

Return to Installation / Updating

Who is online

Users browsing this forum: Google [Bot] and 21 guests