Microsoft KB Archive/810807

= A new System log entry is not generated if the desktop heap is exhausted in Microsoft Windows 2000 =

Article ID: 810807

Article Last Modified on 3/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Advanced Server

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
Consider the following scenario. If the desktop heap cannot be allocated, new System log reports about the current exhaustion of the desktop heap in Microsoft Windows 2000 are not created. Therefore, you cannot detect the shortage of the desktop heap on a Windows 2000-based computer.



RESOLUTION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
You must install Windows 2000 Service Pack 3 (SP3) before you apply this hotfix.

Restart requirement
You must restart the 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.   Date    Time   Version        Size       File name --  24-Mar-2004  02:17  5.0.2195.6824     42,256  Basesrv.dll 21-Sep-2003 00:45  5.0.2195.6824    236,304  Cmd.exe 19-Jun-2003 20:05  5.0.2195.6660    233,744  Gdi32.dll 24-Mar-2004 02:17  5.0.2195.6897    742,160  Kernel32.dll 24-Mar-2004 02:17  5.0.2195.6824     54,544  Mpr.dll 06-Oct-2004 06:25  5.0.2195.6974    335,120  Msgina.dll 24-Mar-2004 02:17  5.0.2195.6892     90,264  Rdpwd.sys 05-Oct-2004 15:46  5.0.2195.6981  5,901,824  Sp3res.dll 24-Mar-2004 02:17  5.0.2195.6897    403,216  User32.dll 05-Aug-2003 22:14  5.0.2195.6794    385,808  Userenv.dll 05-Oct-2004 15:55  5.0.2195.6983  1,632,848  Win32k.sys 11-Mar-2004 02:37  5.0.2195.6898    181,520  Winlogon.exe 25-Sep-2003 18:08  5.0.2195.6826    243,984  Winsrv.dll 24-Mar-2004 02:17  5.0.2195.6897    742,160  Kernel32.dll 05-Oct-2004 15:55  5.0.2195.6983  1,632,848  Win32k.sys 25-Sep-2003 18:08  5.0.2195.6826    243,984  Winsrv.dll

To resolve this problem, you must modify the following registry keys after you apply this hotfix:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows

Value name: DesktopHeapLogging

Value data: 1

Type: REG_DWORD

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\System\Win32k

Value name: EventMessageFile

Value data: %SystemRoot%\system32\win32k.sys;%SystemRoot%\system32\sp3res.dll

Type: REG_EXPAND_SZ



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
After you apply this hotfix, the following event is written to the System log in Event Viewer if the desktop heap becomes full: Event Type: Warning

Event Source: Win32k

Event Category: None

Event ID: 243

Date:

Time:

User: N/A

Computer:

Description:

A desktop heap allocation failed.

Note The event log is written only one time during a session.

For more information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:

816915 New file naming schema for Microsoft Windows software update packages

For more information about the standard terminology that is used to describe Microsoft software updates, 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: kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp5fix kbpubtypekc KB810807

-

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

© Microsoft Corporation. All rights reserved.