Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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. Starting with Windows Vista, 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 (http://update.microsoft.com) are not returned by Win32_QuickFixEngineering.

Windows Server 2003:  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

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

[Provider("CIMWin32")]class Win32_QuickFixEngineering : CIM_LogicalElement
{
  string   Caption;
  string   CSName;
  string   Description;
  string   FixComments;
  string   HotFixID;
  datetime InstallDate;
  string   InstalledBy;
  string   InstalledOn;
  string   Name;
  string   ServicePackInEffect;
  string   Status;
};

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

Short textual description of the object.

CSName
Data type: string
Access type: Read-only
Qualifiers: MaxLen (256)

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

Description of the object.

FixComments
Data type: string
Access type: Read-only

Additional comments that relate to the update.

HotFixID
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (260)

Unique identifier associated with a particular update.

InstallDate
Data type: datetime
Access type: Read-only

Object was installed. This property does not require a value to indicate that the object is installed.

InstalledBy
Data type: string
Access type: Read-only

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

InstalledOn
Data type: string
Access type: Read-only

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

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

ServicePackInEffect
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (260)

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

Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", can apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK", nor in one of the other states.

The values are:

"OK"
"Error"
"Degraded"
"Unknown"
"Pred Fail"
"Starting"
"Stopping"
"Service"

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 Get Installed Programs PowerShell example returns a full list of installed programs.

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

See also

Operating System Classes
WMI Tasks: Operating Systems

 

 

Show:
© 2014 Microsoft