5

Is it possible to find the date when windows updates were installed on windows server 2003?

If I go to the controlpanel->install/uninstall programs and check the "Show Updates" checkbox it will show the windows updates that have been installed, but I don't see the installation date anywhere.

Element
  • 856
  • 2
  • 10
  • 14
  • 1
    I just checked on a handful of our 2003 servers, and they all list the installation date for all installed updates. What mechanism are you using to install these updates? WSUS? WU? SCCM? Downloading the installers individually? – Izzy Oct 13 '10 at 21:32
  • I was just using vanilla windows update with manual confirmation required to download/install. – Element Oct 13 '10 at 22:00

7 Answers7

3

You can also look here - %windir%\SoftwareDistribution\ReportingEvents.log.

Christopher
  • 1,673
  • 12
  • 17
3

In powershell you can do that : Get-WmiObject -Class "win32_quickfixengineering" easy and fast .

jscott
  • 24,484
  • 8
  • 79
  • 100
YuKYuK
  • 627
  • 3
  • 14
3

From the command prompt, you can use the following wmic command to get a full list of the installed updates in html format:

wmic qfe list full /format:htable > hotfixes.html

If you prefer the csv format, use the /format:csv modifier instead:

wmic qfe list full /format:csv > hotfixes.csv
Wayfarer
  • 213
  • 1
  • 2
  • 6
2

Try looking in c:\windows\WindowsUpdate.log

jftuga
  • 5,731
  • 4
  • 42
  • 51
2

I think Get-Hotfix has been available via PowerShell since version 3.

You can run it locally or against remote systems.

Locally:

# Get all hotfixes locallly

    Get-Hotfix

# Look for a specific hotfix

    Get-Hotfix -Id KB2693643

To get hotfixes for remote system(s), provide it -Computername with your list of systems. (Note: This requires RPC open on the firewall between systems you're querying and wherever you're running Get-Hotfix from)

Get-Hotfix -Computername YourComputer

or

Get-Hotfix -Computername Computer1, Computer2, Computer3

Get-Hotfix -Computername (Get-Content \path\to\your_list.txt)
t3hcr
  • 31
  • 6
1

Psinfo -h will show you the dates of install as well. Psinfo is part of the Pstools goodies.

Mitch
  • 1,147
  • 11
  • 20
1

You can refer to the last successful update install time:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install
REG_SZ: LastSuccessTime

This is a datetime value formatted as yyyy-MM-dd HH:mm:ss.

brandeded
  • 1,845
  • 8
  • 32
  • 50