"carlklammer08" <carlklammer08@xxxxxx> wrote in
message news:3E97C3C4-3984-4617-9608-93BF0763CDC9@xxxxxx
Quote:
>
> Hello,
>
> is there a registry key or a WMI query or anything to get the date and
> time
> the system has been updated the last time via Windows Update?
>
> I mean the date/time that is also shown when you open the Windows
> Update
> applet where it says "Updates were installed:" under "Most recent
> check for
> updates:".
>
> I appreciate every hint!
>
> Thank you very much in advance!
Looks like what you are looking for is here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
Update\Results\Detect
LastSuccessTime
and here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
Update\Results\Download
LastSuccessTime
LastSuccessTime is a string with both date and time, and appears to be
GMT so will be different than your local time by whatever time zone you
are in.
Hope this helps!
--
Zaphod
Zaphod's just zis guy, ya know?