Get installed hotfixes list in Windows
Here is a command: wmic qfe list full
you should see output like this:
C:\windows\system32>wmic qfe list full
Caption=https://support.microsoft.com/kb/2859675
CSName=xxx
Description=Update
FixComments=
HotFixID=KB2859675_Microsoft-Windows-CameraCodec-Package
InstallDate=
InstalledBy=NT AUTHORITY\SYSTEM
InstalledOn=9/25/2013
Name=
ServicePackInEffect=
Status=
Caption=https://support.microsoft.com/?kbid=2883200
CSName=xxx
Description=Update
FixComments=
HotFixID=KB2883200
InstallDate=
InstalledBy=NT AUTHORITY\SYSTEM
InstalledOn=10/24/2013
Name=
ServicePackInEffect=
Status=
...
On XP, go to the registry directly:
Instances of this class represent updates found in two places in the registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Hotfix
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates
On Vista+, the registry doesn't exist any more. Try the WMI Class: Win32_QuickFixEngineering Class https://msdn.microsoft.com/en-us/library/aa394391(VS.85).aspx