Windows NT 4.0 Fails to Shutdown Completely

Last reviewed: January 6, 1998
Article ID: Q167980
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SYMPTOMS

When performing a routine system shutdown, Windows NT waits indefinitely while the message "writing unsaved data to disk" is displayed. The system fails to completely shutdown.

In this particular case, analysis of network traffic in and out of a computer in this state will show that the redirector is still active, but that the server service is not responding to requests.

If a network sniff is not practical, but TCP/IP is in use, the system will still be found to be responding to ping requests.

CAUSE

If a particular set of network traffic is directed at a system during a small window of time while the server service is going through its own shutdown code, the server service can fail to close out all client connections and will wait indefinitely, thus blocking the rest of the system from shutting down in an orderly manner.

The window of vulnerability is normally very short, but is variable and depends on the nature of other applications and services that might have been running on the system just prior to shutdown.

Note, too, that there are other reasons why a Windows NT system might fail to shut down besides the one described here.

WORKAROUND

Systems which experience this problem may be successfully shut down by using the Shutdown.exe program with the "/c" switch. However, this is not a recommended solution, as it does not give applications and services the opportunity to do an orderly shutdown.

Another workaround in some cases is to first stop any applications or services that might have been identified as aggravating the problem, then waiting several minutes before initiating a system shutdown.

Yet another option, because the problem is brought on when network clients attempt to connect to the system during shutdown, is to take measures to avoid client activity directed at a vulnerable server when the server needs to be shut down.

Alternatively, obtain the hotfix mentioned below.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0. A supported fix is now available, but has not been fully regression tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.


Additional query words: hang block deadlock reboot flush cache
shutdown /c
Keywords : kbbug4.00 kbfix4.00 ntdriver ntnetserv NTSrvWkst kb3rdparty kbnetwork
Version : WinNT:4.0
Platform : winnt
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 6, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.