Raymond.CC Blog
  • Home
  • Forum
  • Giveaway
  • X-Ray 2.0
  • Contact
  • About
  • I’m Feeling Lucky
Search the site...
You are here: Home » Computer » How To Use One UPS on Multiple Computers

How To Use One UPS on Multiple Computers

Updated by Raymond - 5 years ago - Computer
12
  • Like
  • +1
  • Tweet
  • Printer Friendly and PDF

An uninterruptible power supply (UPS), also known as a battery backup is a device which maintains a continuous supply of electric power to connected equipment by supplying power from a separate source when utility power is not available. Usually there is at least 2 output for you to protect your computer and monitor from unexpected power disruption and then there is one USB interface port for you to connect to the computer. I am using APC BACK-UPS RS 800VA 230V, there are 2 surge protection and 4 battery backup outputs.
Battery backup multiple computers

The USB connection is for the UPS to tell the computer how much power is left on the battery. It is important to connect the UPS to the computer and configure it to automatically shut down the computer when battery power reaches a low level. This way you won’t risk your files being corrupted or even an unbootable system.

Usually there is only one communication interface port on a UPS. Does that mean you can only give backup power to one computer with one UPS? What if you have two or more computers? Yes, you can connect up to 4 computers to the UPS output, but only one computer is able to properly shutdown. The rest will also shutdown BUT it is done without first performing any proper shut-down procedure. This can severely damage the filesystem! Well I thought of a way which makes it possible for one UPS to provide backup power for 2 or more computers and you can shut down all your computers properly when battery reaches low level.

Remember the article “How to remotely turn off computer from LAN or WAN” that I wrote yesterday? We can use Poweroff batch command line to shut down multiple computers. When you have a working poweroff batch file, just configure Windows alarm action to run the batch file when it reaches low power level.

Here’s the step on how to shut down multiple computers when your UPS battery reaches low level.
1. Open notepad

2. If you want to connect 4 computers to the UPS, you need to write 4 lines in the batch file to shut down all 4 computers. The only thing you need to change in the command below is the computer name/IP, the port(if you’re using the default port), and password.

poweroff poweroff -force -remote PC1 -port 3210 -password MyPASS
poweroff poweroff -force -remote PC2 -port 3210 -password MyPASS
poweroff poweroff -force -remote PC3 -port 3210 -password MyPASS
poweroff poweroff -force -remote PC4 -port 3210 -password MyPASS

NOTE: You must install Poweroff service on all 4 computers. Refer to yesterday’s article on how to do that. Also, the computer that is running this batch file must be last in line at the batch file.

3. Save it to where Poweroff is located with the filename shutdown.bat

4. Go to Control Panel and run Power Options

5. Click Alarms tab

6. Check “Activate low battery alarm when power level reaches:” and click Alarm Action button.
Enable Low Battery Alarm

7. Check When the alarm occurs, run this program: and click Configure program button.
Enable this program when alarm occur

8. Browse for the shutdown.bat file. Click Set password button if you password is required to login to Windows.
Browse shutdown.bat file

9. Click OK to close Low Battery Alarm Program, click OK to close Low Battery Alarm Actions.

The above configuration will allow your computer to remotely shutdown PC1, PC2, PC3 and finally PC 4(own computer) using Poweroff when your UPS reached LOW battery level.

I’d advice you to set the Low battery alarm level to 20% so that there will be enough time for all the computer to properly shut down before the battery power runs out.

Important Note: It doesn’t mean that if the UPS has 4 outputs, you can connect 4 computers. Your total output power capacity for the 4 computer mustn’t be over the UPS output power capacity. If it goes over, the Overload LED will lit up and there is a chance that it’ll damage the UPS.


Didn't find what you want? The links below could help:

Memory Usage Test to See Which is the Lightest Antivirus SoftwareMemory Usage Test to See Which is the Lightest Antivirus SoftwareSync Your Bookmarks Across Browsers and SystemsSync Your Bookmarks Across Browsers and SystemsMake your Dropbox Mobile with DropboxPortableAHKMake your Dropbox Mobile with DropboxPortableAHKHow Do I Know If Someone is Using My Wireless Network (WIFI)How Do I Know If Someone is Using My Wireless Network (WIFI)

12 comments on “How To Use One UPS on Multiple Computers”

  1. David Dantes says:
    1 year ago

    If there is no “Alarms” tab under Power Options, you can use a third-party utility which adds command line functionality to later versions of PowerChute Personal Edition.  The file and instructions are published at forums.isxusergroups.com/thread.jspa?threadID=7055

    Reply
  2. Darktorizo says:
    2 years ago

    Missing Alarms tab under Power Options, is there another way to achieve multiple pcs being shutdown by Poweroff?

    Reply
  3. Borri UPS Systems Blog says:
    2 years ago

    Once I tried to connect two computer through one UPS but something went wrong and my both computers were crashed . But finally from this blog I understood the whole concept properly.

    Reply
  4. Jaans says:
    3 years ago

    Thanks for the info.
    How do I do this with Windows 7 / Server 2008 R2?

    I cannot find a way to run a command/batch script when the battery level is low/critical?

    Reply
  5. rambo says:
    3 years ago

    well and nice

    Reply
  6. mickael says:
    4 years ago

    hur gör men ett larm

    Reply
  7. Xabier Artola says:
    4 years ago

    Hi,

    I have installed poweroff in both the local (attached to a UPS) and the remote computer (which I would like to shutdown from the local), but now I don’t know how to run the command batch on the local, since not Alarms tab is found in the Power Options Control Panel.

    Any help? Thanks in advance.

    Xabier.

    Reply
  8. MitchSchaft says:
    5 years ago

    I also just used that program to create a batch file to turn off my monitors for my MCE2005 box. I put a shortcut to it in the “more programs” list so I can navigate to that to shut my monitors off if I’m laying down while watching TV through MCE.
    The batch file consists only of this:

    poweroff monitor_off

    There was another workaround for MCE using a different style program. This one is much better since it doesn’t minimize MCE while shutting off the monitors.

    Reply
  9. MitchSchaft says:
    5 years ago

    Thank you for this article! I was looking for a way to have my main PC and Windows Home Server box protected with one UPS.

    Poweroff installs and runs fine on WHS; thank you again!

    Reply
  10. Shamir Adnan says:
    5 years ago

    Nice blog.. and nice idea..!

    Reply
  11. SEAN says:
    5 years ago

    thanks

    Reply
  12. Ralph says:
    5 years ago

    Thanks Ray!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recently Updated

  • flash bios icon

    5 Tools to Easily Install FreeDOS or MS-DOS onto USB for BIOS Flashing

  • avast icon

    Reset or Remove avast! Authorization Password to Access Settings

  • U3 icon

    How to Customize U3 USB Smart Drive to Become Ultimate Hack Tool

New Articles

  • task manager replacement icon

    Memory Usage Test to See Which is the Lightest Antivirus Software

  • kaspersky antivirus 2013 icon

    Activate Free Kaspersky Anti-Virus 2013 ROG with 1 Year License

  • remote access software

    Top 8 Remote Access Software for Providing Online Support

Popular Posts

  • Top 10 FREE Data Recovery Software

    Top 10 FREE Data Recovery Software

  • How to Hack Into a Windows XP Computer Without Changing Password

    How to Hack Into a Windows XP Computer Without Changing Password

  • 10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

    10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

Recommend on Google
Follow @raymond_cc
Subscribe Youtube »
(c) 2013 Raymond.CC Blog
  • Contact
  • Disclaimer
  • Disclosure
  • Privacy Policy
  • Terms of Use
  • Sitemap