Microsoft KB Archive/139058

= Battery Shutdown Signal Delayed Using Windows NT UPS Service =

Article ID: 139058

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Server 3.51

-



This article was previously published under Q139058



SYMPTOMS
If your computer runs Windows NT with an uninterruptable power supply (UPS) and the Windows NT UPS service installed and a power failure occurs, the UPS service initiates the Windows NT shutdown. One of the following symptoms occur when the battery shutdown signal is sent to the battery and the battery shuts down and turns off the computer:


 * Windows NT shuts down and then restarts or has already rebooted again before the UPS turns off the computer.

-or-
 * Windows NT shuts down just in time when the computer turns off.

NOTE: This is not a problem.

-or-
 * Windows NT is still in the process of shutting down when the computer turns off.



CAUSE
The length of time the UPS waits before turning off the computer, also called the Shutdown Wait, is hard coded to two minutes.

The UPS service has no way of knowing exactly when the shut down of Windows NT is complete, because the UPS service runs in User Mode.



WORKAROUND
To customize the Shutdown Wait period to your computer, install the fix mentioned below and change your registry as follows:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.


 * 1) Ensure that you have the following three options enabled in Control Panel UPS and that the UPS device has the capability to perform these options:

- Power Fail Signal

- Low Battery Signal

- Remote UPS Shutdown
 * 1) Run Registry Editor (REGEDT32.EXE).
 * 2) From the HKEY_LOCAL_MACHINE subtree, go to the following key:

\SYSTEM\CurrentControlSet\Services\UPS
 * 1) From the Edit menu, choose Add Value.
 * 2) Add the following:

Value Name: ShutdownWait

Data Type: REG_DWORD

Data:

NOTE: The default wait time is still two minutes.
 * 1) Choose OK and quit Registry Editor.
 * 2) Shut down and restart Windows NT.



RESOLUTION
This problem has been corrected in the latest Service Pack for Windows NT version 3.51.



STATUS
Microsoft has confirmed this to be a problem in Windows NT version 3.51. This problem was corrected in the latest Windows NT 3.51 U.S. Service Pack. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K

Additional query words: prodnt

Keywords: kbenv kbhardware kbui KB139058

-

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

© Microsoft Corporation. All rights reserved.