A WMI enumerator object is canceled before the client computer can finish using the enumerator object on a Windows Server 2003-based or Windows XP-based client computer

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
Symptoms
When you use a Windows Management Instrumentation (WMI) function that causes an enumerator object to be cloned internally on a Microsoft Windows Server 2003-based or Microsoft Windows XP-based client computer, the enumerator object is canceled before the client computer can finish using the enumerator object. Additionally, the WMI function may return an error code.
Resolution

Windows Server 2003

Update information

The following files are available for download from the Microsoftdownload center:
Windows Server 2003, x64-based versions
DownloadDownload the 913538 package now.
Windows Server 2003, Itanium-based versions
DownloadDownload the 913538 package now.
Windows Server 2003, x86-based versions
DownloadDownload the 913538 package now.Release Date: February 21, 2006

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

No prerequisites are required.

Restart requirement

You must restart the computer after you apply this update.

Update replacement information

This update does not replace any other hotfixes or updates.

File information

The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Windows Server 2003, x64-based versions
File nameFile versionFile sizeDateTimePlatform
Wbemcore.dll5.2.3790.26191,282,56017-Jan-200603:06x64
Windows Server 2003, Itanium-based versions
File nameFile versionFile sizeDateTimePlatform
Wbemcore.dll5.2.3790.26192,039,29617-Jan-200603:06IA-64
Windows Server 2003, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Wbemcore.dll5.2.3790.2619509,44017-Jan-200616:20x86

Windows XP

Update information

The following file is available for download from the Microsoft download center:
Windows XP Professional x64 Edition
DownloadDownload the 913538 package now.
Windows XP, x86-based versions
DownloadDownload the 913538 package now.

Release Date: February 22, 2006

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

No prerequisites are required.

Restart requirement

You must restart the computer after you apply this hotfix.

Update replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Windows XP Professional x64 Edition
File nameFile versionFile sizeDateTimePlatform
Wbemcore.dll5.2.3790.26191,282,56017-Jan-200603:06x64
Windows XP, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Wbemcore.dll5.1.2600.2829530,94417-Jan-200603:34x86
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information
The following script demonstrates this problem:
Set objWMIServices = GetObject("winmgmts:root/cimv2")Set objWMIInstances = objWMIServices.InstancesOf ("Win32_Process")wscript.echo objWMIInstances.Item("Win32_Process.Handle=""0""").captionwscript.echo objWMIInstances.Item("Win32_Process.Handle=""4""").caption
The InstancesOf method causes an enumerator object to be created. The Item method always uses a clone of the enumerator object so that the original enumerator object is not changed. Every time that an enumerator object is cloned, an entry is added to an internal list that is maintained by the enumerator object. When each Item method finishes working with the enumerator object clone, the Item method will release the enumerator object clone. When the reference count for an enumerator object clone reaches zero, the enumerator object clone is removed from the list. Ideally, when the last enumerator object clone is removed from the list, the enumerator object must be canceled.

However, in this case, the enumerator object is canceled every time that an enumerator object clone is removed from the list. This means that the enumerator object is canceled after the first Item method call is completed.

After you install hotfix 913538, the enumerator object will be canceled after the last enumerator object clone is removed from the list.For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Technical support for x64-based versions of Microsoft Windows

Your hardware manufacturer provides technical support and assistance for x64-based versions of Windows. Your hardware manufacturer provides support because an x64-based version of Windows was included with your hardware. Your hardware manufacturer might have customized the installation of Windows with unique components. Unique components might include specific device drivers or might include optional settings to maximize the performance of the hardware. Microsoft will provide reasonable-effort assistance if you need technical help with your x64-based version of Windows. However, you might have to contact your manufacturer directly. Your manufacturer is best qualified to support the software that your manufacturer installed on the hardware.

For product information about Microsoft Windows XP Professional x64 Edition, visit the following Microsoft Web site: For product information about x64-based versions of Microsoft Windows Server 2003, visit the following Microsoft Web site:
Winx64 Windowsx64 64bit 64-bit
Properties

Article ID: 913538 - Last Review: 01/17/2015 02:20:00 - Revision: 4.0

  • Microsoft Windows Server 2003 R2 Datacenter x64 Edition
  • Microsoft Windows Server 2003 R2 Enterprise x64 Edition
  • Microsoft Windows Server 2003 R2 Standard x64 Edition
  • Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Media Center Edition 2005 Update Rollup 2
  • Microsoft Windows XP Tablet PC Edition
  • kbnosurvey kbarchive atdownload kbwinserv2003sp2fix kbqfe kbhotfixserver kbwinserv2003presp2fix kbwinxpsp3fix kbwinxppresp3fix kbfix kbbug KB913538
Feedback