Get installed hotfixes in Windows
Here is a command: wmic qfe list full
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