REG: UPS Service Entries

Last reviewed: May 8, 1997
Article ID: Q102975
The information in this article applies to:
  • Windows NT operating system version 3.1
  • Windows NT Advanced Server version 3.1

The article contains REGISTRY entries for the UPS Service. There are no subgroups.

UPS Service Entries

The Registry does not contain information for the UPS service until you check the Uninterruptible Power Supply Is Installed checkbox in the UPS dialog box and then chooses the OK button. Changes to settings should be made by using the UPS icon in Control Panel.

The UPS service will not start unless the UPS subkey is present in the Registry, all parameters are present in the Registry, and all values are within the correct range. If any of these elements are missing or in error, a message announces that the UPS service is not correctly configured. All corrections can be made using the UPS icon in Control Panel.

The UPS parameters remain in the Registry if you remove UPS. The path for the UPS subkey is the following:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UPS

BatteryLife   REG_DWORD   2 to 720 minutes
Default: 2 (minutes)

Specifies the life of the UPS backup battery when fully charged.

CommandFile   REG_EXPAND_SZ   Filename
Default: (empty)

Specifies the name of a command file to execute immediately before shutting down.

FirstMessageDelay   REG_DWORD   0 to 120 seconds
Default: 5 (seconds)

Specifies the number of seconds between initial power failure and the first message sent to the users. If power is restored within the FirstMessageDelay time, no message is sent, although the event is logged.

MessageInterval   REG_DWORD   5 to 300 seconds
Default: 120 (seconds)

Specifies the number of seconds between messages sent to users to inform them of power failure.

Options   REG_DWORD   Value

Defines the bit mask for messages related to options in the UPS dialog box, as the following:

Installed            0x00000001
PowerFailSignal      0x00000002
LowBatterySignal     0x00000004
CanTurnOff           0x00000008
PosSigOnPowerFail    0x00000010
PosSigOnLowBattery   0x00000020
PosSigShutOff        0x00000040
CommandFile          0x00000080

Port   REG_SZ   Port name
Default: COM1

Specifies the name of the serial port the UPS is connected to.

RechargeRate   REG_DWORD   1 to 250 minutes
Default: 100 (minutes)

Specifies the recharge rate of the UPS backup battery.

Reference: "The Windows NT Resource Kit for Operating System Version 3.1".


Additional query words: prodnt
Keywords : kbother ntregistry
Version : 3.1
Platform : WINDOWS


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: May 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.