#188365 - 2008-06-25 09:49 PM
Reliable method of detecting hotfixes?
|
Glenn Barnas
KiX Supporter
   
Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
|
Does anyone know of a reliable method to detect all installed hotfixes on current Windows systems (including Vista/2K8)?
I ran a test today on a Windows 2003 server using my "tried & true" registry scan method, WMI, and Microsoft Update Session queries. The registry methods work on windows systems from NT to 2K3; WMI operates on W2K to W2K3, but not NT or Vista/2K8. MUS works only on newer systems - XP & higher that have a Windows Update client installed, and is the only detection method supported on Vista/2K8.
In my test, I used 3 methods to return delimited strings. I combined all 3 strings, split them into an array, sorted the array and removed duplicates. With this "complete" list of detected hotfixes, I could compare each one with the various detection strings.
Of 64 hotfixes found by the combined methods, the registry scan identified 59, WMI found 62, and MSUpdateService only found 50. The crazy part is that each detection method resulted in finding hotfixes that the other two methods did not.
I don't really want to utilize all 3 methods to get a combined, complete list, but I'm not sure there's a better way. Any thoughts?
Thanks,
Glenn
_________________________
Actually I am a Rocket Scientist!
|
|
Top
|
|
|
|
#188366 - 2008-06-25 10:04 PM
Re: Reliable method of detecting hotfixes?
[Re: Glenn Barnas]
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
I think Jens had a script that did this..
Kent
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 1172 anonymous users online.
|
|
|