Enumerate the list of installed Hotfixes using WMI

Published: Nov 29, 2005
Send your feedback


Windows Management Instrumentation's Win32_QuickFixEngineering class can be used to enumerate the list of Hotfixes installed in the system, and to gather additional information regarding the same.

Enumerating the list of Hotfixes - Scripting

Microsoft Windows 2000 Scripting Guide has a sample script which explains how to get the list of installed Hot Fixes. You may customize the script, and output the results to a log file if you want.

Alternate way - using WMI command-line utility

The Microsoft Windows Management Instrumentation Command-line (WMIC) is a command-line interface to Windows Management Instrumentation (WMI). WMIC provides a simple interface to WMI so that you can take advantage of WMI to manage computers that are running Microsoft Windows.

Open a Command Prompt window by typing CMD.EXE in Start, Run dialog. Then type the following command in the prompt:

wmic qfe list full /format:htable >C:\hotfixes.htm

Wait for few seconds, and then open the C:\hotfixes.htm file which contains the list of fixes installed in your computer.

Related links

Support WebCast: WMIC: A New Approach to Managing Windows Infrastructure from a Command Line

A Description of the Windows Management Instrumentation (WMI) Command-Line Utility

Win32_QuickFixEngineering: Scripting Guy