CreateProcessWithLogonW() Leaks Window Station Handles (307619)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Professional SP1
  • Microsoft Windows 2000 Professional SP2
  • Microsoft Platform Software Development Kit (SDK) 1.0

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.

Modification Type:MinorLast Reviewed:9/26/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbSecurity kbWin2000PreSP3Fix kbWin2000sp3fix KB307619