Win32_QuickFixEngineering class

The Win32_QuickFixEngineeringWMI class represents a small system-wide update, commonly referred to as a quick-fix engineering (QFE) update, applied to the current operating system. This class returns only the updates supplied by Component Based Servicing (CBS). These updates are not listed in the registry. Updates supplied by Microsoft Windows Installer (MSI) or the Windows update site (https://update.microsoft.com) are not returned by Win32_QuickFixEngineering.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

[Dynamic, Provider("CIMWin32"), UUID("{0827250D-BA3E-11d2-B361-00105A1F77A1}"), AMENDMENT]
class Win32_QuickFixEngineering : CIM_LogicalElement
{
  string   Caption;
  string   Description;
  datetime InstallDate;
  string   Name;
  string   Status;
  string   CSName;
  string   FixComments;
  string   HotFixID;
  string   InstalledBy;
  string   InstalledOn;
  string   ServicePackInEffect;
};

Members

The Win32_QuickFixEngineering class has these types of members:

Properties

The Win32_QuickFixEngineering class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), DisplayName ("Caption")

A short textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

CSName

Data type: string

Access type: Read-only

Qualifiers: CIM_Key, MaxLen (256), Propagated ("CIM_ComputerSystem.Name"), MappingStrings ("WMI")

Local name of the computer system. The value for this property comes from the CIM_ComputerSystem class.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

A textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

FixComments

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("Win32Registry|SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix")

Additional comments that relate to the update.

HotFixID

Data type: string

Access type: Read-only

Qualifiers: key, MaxLen (260), MappingStrings ("Win32Registry|SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix")

Unique identifier associated with a particular update.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

Indicates when the object was installed. Lack of a value does not indicate that the object is not installed.

This property is inherited from CIM_ManagedSystemElement.

InstalledBy

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("Win32Registry|SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix")

Person who installed the update. If this value is unknown, the property is empty.

InstalledOn

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("Win32Registry|SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix")

Date that the update was installed. If this value is unknown, the property is empty.

Note

This property may use different formats, depending on when the QuickFix was installed. Most systems use a standard date format, such as "23-10-2013". However, some systems may return a 64-bit hexidecimal value in the Win32 FILETIME format.

 

Name

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Name")

Label by which the object is known. When subclassed, this property can be overridden to be a key property.

This property is inherited from CIM_ManagedSystemElement.

ServicePackInEffect

Data type: string

Access type: Read-only

Qualifiers: key, MaxLen (260), MappingStrings ("Win32Registry|SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix")

Service pack in effect when the update was applied. If no service pack has been applied, the property takes on the value SP0. If it cannot be determined what service pack was in effect, this property is NULL.

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10), DisplayName ("Status")

String that indicates the current status of the object. Operational and non-operational status can be defined. Operational status can include "OK", "Degraded", and "Pred Fail". "Pred Fail" indicates that an element is functioning properly, but is predicting a failure (for example, a SMART-enabled hard disk drive).

Non-operational status can include "Error", "Starting", "Stopping", and "Service". "Service" can apply during disk mirror-resilvering, reloading a user permissions list, or other administrative work. Not all such work is online, but the managed element is neither "OK" nor in one of the other states.

This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

Remarks

The Win32_QuickFixEngineering class is derived from CIM_LogicalElement.

Because updates are stored in two places, an enumeration of this class can result in duplicates.

A hot fix is a temporary operating system patch produced by the Quick Fix Engineering group at Microsoft. Like service packs, hot fixes represent changes that have been made to a version of Windows after the operating system has been released.

Unlike service packs, hot fixes are not intended for blanket installation on all computers. Instead, they are developed to address very specific problems, often for specific computer configurations.

In addition, hot fixes represent independent installations that do not depend on other released hot fixes. For example, a hypothetical hot fix 4 would not include the bug fixes and functionality included in hot fixes 1, 2, and 3. In most cases, there would also be no requirement that you install hot fixes 1, 2, and 3 before installing hot fix 4. This makes enumeration of individual hot fixes an important administrative task: to know the exact configuration of a computer, you need to know not only which service packs have been installed but also which individual hot fixes have been installed.

The Win32_QuickFixEngineering class enables you to enumerate all the hot fixes that have been installed on a computer

Examples

The following VBScript sample enumerates the installed hot fixes on a computer

strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colQuickFixes = objWMIService.ExecQuery("SELECT * FROM Win32_QuickFixEngineering")
For Each objQuickFix in colQuickFixes
 Wscript.Echo "Computer: " & objQuickFix.CSName
 Wscript.Echo "Description: " & objQuickFix.Description
 Wscript.Echo "Hot Fix ID: " & objQuickFix.HotFixID
 Wscript.Echo "Installation Date: " & objQuickFix.InstallDate
 Wscript.Echo "Installed By: " & objQuickFix.InstalledBy
Next

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

CIM_LogicalElement

Operating System Classes

WMI Tasks: Operating Systems