3

Particularly interested in Windows XP, but all versions of Windows would be useful (if they differ).

EDIT: How does Windows/Windows Update know what to apply and what it has already done? Does it compare .dll/.exe versions or something else?

Umber Ferrule
  • 3,439
  • 9
  • 40
  • 54

3 Answers3

3

There is a log file located at %windir%\Windowsupdate.log which should have all information about updates performed on the system. Alternatively you could check the Add/Remove programs dialog and check off the Show Updates checkbox to see which ones are installed.

alt text

Gaff
  • 18,569
  • 15
  • 57
  • 68
John T
  • 163,373
  • 27
  • 341
  • 348
  • However, WindowsUpdate.log can be deleted. So can the %WINDIR%\Software Distribution\ directory which contains WU downloads. Add/Remove Progs doesn't seem to contain all updates (for example, the Malicious Software Removal Tool). – Umber Ferrule Mar 02 '10 at 17:18
1

When you click on Windows Update in XP, you'll see a link to view your update history.

alt text

Gaff
  • 18,569
  • 15
  • 57
  • 68
raven
  • 5,355
  • 7
  • 39
  • 51
0

I've just come across the following Microsoft web page which sheds some light on the question: Command-line switches for Windows software update packages

Under the heading, Overview of the installation process, it states:

  • The [hotfix] installation program registers the software update under one of the following registry keys:
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Updates\<operating system>\<service pack level>\KB<nnnnnn>
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Hotfix\Q<nnnnnn>
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Hotfix\KB<nnnnnn>

and

  • Removal information for the software update is stored in a hidden folder named:
    • $NtUninstallQnnnnnn$ or $NtUninstallKBnnnnnn$ in %Systemroot%
Umber Ferrule
  • 3,439
  • 9
  • 40
  • 54