You cannot programmatically shut down Windows when you log off the computer

Article translations Article translations
Article ID: 816813 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SYMPTOMS

When you programmatically shut down Windows (for example, by using the Shutdown.exe Windows 2000 Resource Kit utility), and then log off the computer, Windows does not shut down successfully.

Additionally, when you next press CTRL+ALT+DELETE, the Log On to Windows dialog box does not appear.

CAUSE

This behavior occurs because when you manually log off the computer, the shutdown process is canceled from the InitiateSystemShutdown() function. The shutdown notification from Winlogon is sent to the WinsrvNotify code but is discarded because of an incorrect logic process.

RESOLUTION

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.

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, submit a request to 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

You must have Windows 2000 Service Pack 3 (SP3) or later to install this hotfix. For more information about how to obtain the latest Windows 2000 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
260910 How to obtain the latest Windows 2000 service pack

Restart Requirement

You must restart your computer after you apply this hotfix.

Hotfix Replacement Information

This hotfix does not replace any other hotfixes.

File Information

The English version of this 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
   -----------------------------------------------------
   11-Jun-2003 19:01 5.0.2195.6738    42,256 Basesrv.dll
   17-Jan-2003 16:06 5.0.2195.6656   236,304 Cmd.exe
   11-Jun-2003 19:01 5.0.2195.6660   233,232 Gdi32.dll
   11-Jun-2003 19:01 5.0.2195.6741   711,440 Kernel32.dll
   11-Jun-2003 19:01 5.0.2195.6751   333,072 Msgina.dll
   08-Apr-2003 05:54 5.0.2195.6701    90,232 Rdpwd.sys
   11-Jun-2003 19:01 5.0.2195.6688   403,216 User32.dll
   11-Jun-2003 19:01 5.0.2195.6745   385,808 Userenv.dll
   02-Jun-2003 21:26 5.0.2195.6751 1,628,816 Win32k.sys
   29-May-2003 23:25 5.0.2195.6750   181,520 Winlogon.exe
   11-Jun-2003 19:01 5.0.2195.6752   243,984 Winsrv.dll
   11-Jun-2003 19:01 5.0.2195.6741   711,440 Kernel32.dll
   11-Jun-2003 19:01 5.0.2195.6751 1,628,816 Win32k.sys
   11-Jun-2003 19:01 5.0.2195.6752   243,984 Winsrv.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

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 naming schema for Microsoft Windows hotfix packages

Properties

Article ID: 816813 - Last Review: February 27, 2014 - Revision: 4.0
APPLIES TO
  • Microsoft Windows 2000 Advanced Server SP3
  • Microsoft Windows 2000 Service Pack 3
  • Microsoft Windows 2000 Service Pack 3
Keywords: 
kbnosurvey kbarchive kbautohotfix kbhotfixserver kbbug kbfix kbqfe kbwin2000presp5fix KB816813

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