Critical Updats

Archived from groups: microsoft.public.win2000.general (More info?)

Sam wrote:

> How can I find the date when windows updates were installed on a system?
Hi,

For a VBScript that reports "InstalledDate" for found updates:
http://groups.google.co.uk/group/microsoft.public.win32.programmer.wmi/msg/4bfc9ed4aea3b3b3?dmode=source&hl=en



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx
 
Archived from groups: microsoft.public.win2000.general (More info?)

Hey Torgeir thanks for that. I used:

cscript updates.vbs

Of course the result may have been wrong using that host but not really.
Both give the same resuilt:

HotFixID: Q147222
Description:
InstalledBy:
InstallDate: (none found)

HotFixID: Q282784
Description: Windows 2000 Hotfix (Special Release) [See Q282784 for more
information]
InstalledBy:
InstallDate: (none found)

Any suggestion why these installations return no data?

--
George Hester
_________________________________
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:O6uKFplqFHA.620@TK2MSFTNGP15.phx.gbl...
> Sam wrote:
>
> > How can I find the date when windows updates were installed on a system?
> Hi,
>
> For a VBScript that reports "InstalledDate" for found updates:
>
http://groups.google.co.uk/group/microsoft.public.win32.programmer.wmi/msg/4
bfc9ed4aea3b3b3?dmode=source&hl=en
>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/scriptcenter/default.mspx
 
Archived from groups: microsoft.public.win2000.general (More info?)

Hi,

On a Windows 2000 computer, my script looks for the registry value
InstalledDate under the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
\Updates\Windows 2000\<service pack level installed + 1 >\<hot fix id>\

Q282784 is an very old update, and I see that it puts it's registry
data under the registry key ....\Windows 2000\SP0\..., where my script
does not look.

To solve this issue, the script would need to be changed to look first
in the "<service pack level installed + 1 >\<hot fix id>" registry key,
and if not found, decrement the number in the service pack level
registry key to value found, or service pack level < 0.


Q147222 (Group of Hotfixes for Exchange 5.5 and IIS 4.0) is not an
update for the OS or it's core components, so I have no idea where
it has it's installed date information in registry, or if it has
that information at all.



Regards,
Torgeir


George Hester wrote:

> Hey Torgeir thanks for that. I used:
>
> cscript updates.vbs
>
> Of course the result may have been wrong using that host but not really.
> Both give the same resuilt:
>
> HotFixID: Q147222
> Description:
> InstalledBy:
> InstallDate: (none found)
>
> HotFixID: Q282784
> Description: Windows 2000 Hotfix (Special Release) [See Q282784 for more
> information]
> InstalledBy:
> InstallDate: (none found)
>
> Any suggestion why these installations return no data?
>
> --
> George Hester
> _________________________________
> "Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
> news:O6uKFplqFHA.620@TK2MSFTNGP15.phx.gbl...
>
>>Sam wrote:
>>
>>
>>>How can I find the date when windows updates were installed on a system?
>>
>>Hi,
>>
>>For a VBScript that reports "InstalledDate" for found updates:
>>
>
> http://groups.google.co.uk/group/microsoft.public.win32.programmer.wmi/msg/4
> bfc9ed4aea3b3b3?dmode=source&hl=en
>
>>


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx
 
Archived from groups: microsoft.public.win2000.general (More info?)

Q147222 well that is interesting. How that got in here is interesting. I
just did qfecheck. Q282784 appeared but Q14722 did not. Torgeir I never
installed that Hotfix and this system is not a Windows NT4 upgrade. It is a
clean install of Windows 2000 Advanced Server. It might be due to the
Cluster technology in that op sys.

--
George Hester
_________________________________
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:OSVMX9zqFHA.3096@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> On a Windows 2000 computer, my script looks for the registry value
> InstalledDate under the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
> \Updates\Windows 2000\<service pack level installed + 1 >\<hot fix id>\
>
> Q282784 is an very old update, and I see that it puts it's registry
> data under the registry key ....\Windows 2000\SP0\..., where my script
> does not look.
>
> To solve this issue, the script would need to be changed to look first
> in the "<service pack level installed + 1 >\<hot fix id>" registry key,
> and if not found, decrement the number in the service pack level
> registry key to value found, or service pack level < 0.
>
>
> Q147222 (Group of Hotfixes for Exchange 5.5 and IIS 4.0) is not an
> update for the OS or it's core components, so I have no idea where
> it has it's installed date information in registry, or if it has
> that information at all.
>
>
>
> Regards,
> Torgeir
>
>
> George Hester wrote:
>
> > Hey Torgeir thanks for that. I used:
> >
> > cscript updates.vbs
> >
> > Of course the result may have been wrong using that host but not really.
> > Both give the same resuilt:
> >
> > HotFixID: Q147222
> > Description:
> > InstalledBy:
> > InstallDate: (none found)
> >
> > HotFixID: Q282784
> > Description: Windows 2000 Hotfix (Special Release) [See Q282784 for more
> > information]
> > InstalledBy:
> > InstallDate: (none found)
> >
> > Any suggestion why these installations return no data?
> >
> > --
> > George Hester
> > _________________________________
> > "Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
> > news:O6uKFplqFHA.620@TK2MSFTNGP15.phx.gbl...
> >
> >>Sam wrote:
> >>
> >>
> >>>How can I find the date when windows updates were installed on a
system?
> >>
> >>Hi,
> >>
> >>For a VBScript that reports "InstalledDate" for found updates:
> >>
> >
> >
http://groups.google.co.uk/group/microsoft.public.win32.programmer.wmi/msg/4
> > bfc9ed4aea3b3b3?dmode=source&hl=en
> >
> >>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/scriptcenter/default.mspx