Microsoft KB Archive/905888

= A memory leak occurs in the Wmiprvse.exe process when a program calls an instance of the &quot;CWin32_TerminalService::ExecQuery&quot; function in Windows Server 2003 =

Article ID: 905888

Article Last Modified on 3/26/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise x64 Edition

-





SYMPTOMS
When a program calls an instance of the CWin32_TerminalService::ExecQuery function in Microsoft Windows Server 2003, a memory leak occurs in the Wmiprvse.exe process. This memory leak condition may affect system performance and cause the Wmiprvse.exe process to restart unexpectedly.



CAUSE
This problem occurs because The CWin32_TerminalService::ExecQuery function calls the WinStationOpenServerW function but never calls the WinStationCloseServer function. Therefore, the memory that is used by the Wmiprvse.exe process is not released as expected.



Service pack information
To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix 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, Itanium-based edition


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Windows Server 2003 Service Pack 2.



MORE INFORMATION
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

Keywords: kbwinserv2003sp2fix kbqfe kbhotfixserver kbbug kbfix kbwinserv2003presp1fix kbpubtypekc KB905888

-

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

© Microsoft Corporation. All rights reserved.