Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


Resolution

Windows Server 2003

Update information

The following files are available for download from the Microsoft download center:
Windows Server 2003, x64-based versions
Download the 913538 package now.
Windows Server 2003, Itanium-based versions
Download the 913538 package now.
Windows Server 2003, x86-based versions
Download 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
Download the 913538 package now.
Windows XP, x86-based versions
Download 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

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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""").caption
wscript.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:

↑ Back to the top


Keywords: kbbug, kbfix, kbwinxppresp3fix, kbwinxpsp3fix, kbqfe, kbHotfixServer, kbwinserv2003sp2fix, atdownload, kbwinserv2003presp2fix, KB913538

↑ Back to the top

Article Info
Article ID : 913538
Revision : 3
Created on : 10/9/2011
Published on : 10/9/2011
Exists online : False
Views : 552