Microsoft KB Archive/307619

= CreateProcessWithLogonW Leaks Window Station Handles =

Article ID: 307619

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Platform Software Development Kit-January 2000 Edition

-



This article was previously published under Q307619



SYMPTOMS
The CreateProcessWithLogonW function leaks one Window Station handle each time that it is run.

You can see this problem by using Windows Task Manager. In the Handles column, the handle count in Services.exe increases by one each time that the function is called.



CAUSE
This behavior is caused by a problem in the Windows 2000 secondary logon logic.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

This English version of this fix should have the following file attributes or later:   Date          Time    Size     File Name ---  19-Oct-2001   20:34   16,144   Seclogon.dll



STATUS
Microsoft has confirmed that this is a problem in Windows 2000. This problem was first corrected in Windows 2000 Service Pack 3.

Additional query words:

Keywords: kbbug kbfix kbwin2000presp3fix kbqfe kbwin2000sp3fix kbsecurity kbhotfixserver KB307619

-

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

© Microsoft Corporation. All rights reserved.