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

Article translations Article translations
Article ID: 814789 - View products that this article applies to.
Expand all | Collapse all

On This Page

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.

Windows XP

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

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
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

Windows 2000

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 available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
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 "Applies to" 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 "Stop Error 0x7F" 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:
  1. Click Start, type regedit in the Start Search box, and then press ENTER.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type USERNestedWindowLimit , and then press ENTER.
  5. Right-click USERNestedWindowLimit, and then click Modify.
  6. Under Base, click Decimal.
  7. In the Value data box, type a new value.
  8. Click OK, and then exit Registry Editor.

Properties

Article ID: 814789 - Last Review: November 4, 2007 - Revision: 4.4
APPLIES TO
  • Microsoft Windows 2000 Advanced Server SP3
  • Microsoft Windows 2000 Advanced Server SP2
  • Microsoft Windows 2000 Advanced Server SP1
  • Microsoft Windows 2000 Service Pack 3
  • Microsoft Windows 2000 Server SP2
  • Microsoft Windows 2000 Server SP1
  • Microsoft Windows 2000 Service Pack 3
  • Microsoft Windows 2000 Professional SP2
  • Microsoft Windows 2000 Professional SP1
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
Keywords: 
kbautohotfix kbhotfixserver kbqfe kbshell kbwin2ksp4fix kberrmsg kbwin2000presp4fix kbfix kbbug KB814789

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com