Microsoft KB Archive/913538

= 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 =

Article ID: 913538

Article Last Modified on 10/11/2007

-

APPLIES TO


 * 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
 * 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 2002
 * Microsoft Windows XP Tablet PC Edition
 * Microsoft Windows XP Starter Edition

-





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.



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.

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, x86-based versions


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
The following script demonstrates this problem: Set objWMIServices = GetObject(&quot;winmgmts:root/cimv2&quot;) Set objWMIInstances = objWMIServices.InstancesOf (&quot;Win32_Process&quot;)

wscript.echo objWMIInstances.Item(&quot;Win32_Process.Handle=&quot;&quot;0&quot;&quot;&quot;).caption wscript.echo objWMIInstances.Item(&quot;Win32_Process.Handle=&quot;&quot;4&quot;&quot;&quot;).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:

http://www.microsoft.com/windowsxp/64bit/default.mspx

For product information about x64-based versions of Microsoft Windows Server 2003, visit the following Microsoft Web site:

http://www.microsoft.com/windowsserver2003/64bit/x64/default.mspx

Additional query words: Winx64 Windowsx64 64bit 64-bit

Keywords: kbbug kbfix kbqfe kbpubtypekc atdownload kbwinxppresp3fix kbwinxpsp3fix kbhotfixserver kbwinserv2003presp2fix kbwinserv2003sp2fix KB913538

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.