Microsoft KB Archive/814789

= A computer that is running Terminal Services stops responding and you receive an error message in Windows 2000 or in Windows XP: &quot;Stop Error 0x7F&quot; =

Article ID: 814789

Article Last Modified on 11/4/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



SYMPTOMS
A computer that is running Terminal Services may stop responding. When this problem occurs, you receive the following Stop error message:

0x0000007f (0x00000008) error STOP 0x7f

The Stop error occurs in the Win32k.sys file.

When you shut down and restart the computer, the computer starts as usual. However, the Stop error recurs regularly.

This problem may occur if the computer is running Windows XP or Microsoft Windows 2000.



CAUSE
This problem occurs because a program may create up to 100 nested windows. During cleanup, there may not be sufficient stack space for the current thread to handle all the functions that are needed to clean up all the window objects.



RESOLUTION
After you apply this hotfix, a program can create up to 50 nested windows. If a program tries to create more than 50 nested windows, the program fails.

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

322389 How to obtain the latest Windows XP service pack

Prerequisites
To apply this hotfix, you must have Windows XP Service Pack 1 installed on the computer.

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 item in Control Panel.   Date         Time   Version        Size       File name   Platform --  15-Jan-2004  01:49  5.1.2600.1332  1,678,208  Win32k.sys  i386 15-Jan-2004 01:50  5.1.2600.1332  5,623,808  Win32k.sys  IA-64

Service pack information
To resolve this problem, obtain the latest service pack for Windows 2000. For more 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

Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only 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 Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer 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
To apply this hotfix, you must have Windows 200 Service Pack 3 installed on the computer.

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 item in Control Panel.  Date         Time     Version          Size     File name --- 04-Mar-2003  19:26   5.0.2195.6678     42,768   Basesrv.dll 14-Feb-2003 18:49   5.0.2195.6660    222,992   Gdi32.dll 14-Feb-2003 18:49   5.0.2195.6656    710,928   Kernel32.dll 04-Mar-2003 19:26   5.0.2195.6669    333,072   Msgina.dll 31-Jan-2003 18:51   5.0.2195.6661     90,232   Rdpwd.sys 04-Mar-2003 19:26   5.0.2195.6666    379,664   User32.dll 04-Mar-2003 19:26   5.0.2195.6671    385,296   Userenv.dll 04-Mar-2003 19:24   5.0.2195.6679  1,620,176   Win32k.sys 03-Mar-2003 15:14   5.0.2195.6675    181,008   Winlogon.exe 14-Feb-2003 18:49   5.0.2195.6655    243,472   Winsrv.dll 04-Mar-2003 19:33   5.0.2195.6661     90,200   56bit\Rdpwd.sys 04-Mar-2003 19:26   5.0.2195.6656    710,928   uniproc\Kernel32.dll 04-Mar-2003 19:26   5.0.2195.6679  1,620,176   uniproc\Win32k.sys 14-Feb-2003 18:49   5.0.2195.6655    243,472   uniproc\Winsrv.dll



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 Microsoft Windows 2000 Service Pack 4.



MORE INFORMATION
For more information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server product

Windows XP registry information
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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

After you apply this hotfix, you can use the NestedWindowLimit registry entry to set the maximum number of nested windows. You can set the maximum to any value between 50 and 100.

Warning If you set a value other than 50, Windows might stop responding, and you might receive a &quot;Stop Error 0x7F&quot; error message. If this problem occurs, restore the value to 50. Or, remove the registry entry.

To set the maximum number of nested windows, follow these steps:  Click Start, type regedit in the Start Search box, and then press ENTER. Locate and then click the following registry subkey:

 On the Edit menu, point to New, and then click DWORD Value. Type USERNestedWindowLimit, and then press ENTER. Right-click USERNestedWindowLimit, and then click Modify.</li> Under Base, click Decimal.</li> In the Value data box, type a new value.</li> Click OK, and then exit Registry Editor.</li></ol>

Additional query words: hang crash freeze

Keywords: kbhotfixserver kbqfe kbshell kbwin2ksp4fix kberrmsg kbwin2000presp4fix kbfix kbbug KB814789

-

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

© Microsoft Corporation. All rights reserved.