which client? the win nut client is pretty straight forward to install (a .msi file) and then you just configure the username/password/address of your nut server and it connects. Once you've got that done just configure your shutdown parameters and bob's your uncle. Answer from marc45ca on reddit.com
๐ŸŒ
Reddit
reddit.com โ€บ r/homelab โ€บ nut ups on windows 10
r/homelab on Reddit: NUT UPS on Windows 10
March 27, 2020 -

A while back in asked about how to connect multiple computers to one UPS device (post). I received excellent advice to use a Raspberry Pi to run a NUT server to do this. I'm now the proud owner of a RPi4b 2GB ram and have installed NUT and it's working well locally thanks to this tutorial.

I'm not trying to connect it to my Windows 10 machine and I'm just having a frustrating time doing so. I've first attempted to install WinNut, even though it seems like an ancient relic. Although I'm certain my credentials are correct, I receive this error when I attempt to start it:

Level INFO 03/27/2020 17:59:28 In winNUTServiceMain- Received service command ID: 1

Level INFO 03/27/2020 17:59:28 WinNUT received STOP command

Level INFO 03/27/2020 17:59:29 Detected OS as Windows NT

Level NOTICE 03/27/2020 17:59:29 Network UPS Tools upsmon 2.0.0.4

Level INFO 03/27/2020 17:59:29 UPS: ups@192.168.1.3 (slave) (power value 1)

Level INFO 03/27/2020 17:59:29 Config Load: MINSUPPLIES set to 1

Level INFO 03/27/2020 17:59:29 Config Load: NOTIFYCMD set to "c:\Program Files (x86)\WinNUT\AlertPopup.exe"

Level INFO 03/27/2020 17:59:29 Config Load: POLLFREQ set to 5

Level INFO 03/27/2020 17:59:29 Config Load: POLLFREQALERT set to 5

Level INFO 03/27/2020 17:59:29 Config Load: HOSTSYNC set to 15

Level INFO 03/27/2020 17:59:29 Config Load: DEADTIME set to 15

Level INFO 03/27/2020 17:59:29 Config Load: RBWARNTIME set to 43200

Level INFO 03/27/2020 17:59:29 Config Load: NOCOMMWARNTIME set to 300

Level INFO 03/27/2020 17:59:29 Config Load: FINALDELAY set to 5

Level ALERT 03/27/2020 17:59:29 WinNUTUpsMon Service is starting to monitor UPS

Level ERROR 03/27/2020 17:59:29 Can't login to UPS [ups@192.168.1.3]: Access denied

So instead, I installed the Binary packages for Windows and I see it's been installed but it's not running, even when I try to under some command in command prompt. I've entered my MONITOR entry and the netclient in the confg files.

At this point I'm just over my head and could use some help. I've Googled as much as I can and I just don't see any helpful guides on using NUT on Windows.

If I can get this working, I think it would be helpful to others too.

P.S. I bought a separate NETGEAR POE Switch to power the RPi with a POE hat so I had less cables going to it. The primary goal is to go from two UPS units to one for a more minimal setup. RPi has been super fun and I think these are just the darndest little machines.

๐ŸŒ
Reddit
reddit.com โ€บ r/homelab โ€บ best nut (network ups tools) clients (for windows)?
r/homelab on Reddit: Best NUT (Network UPS Tools) clients (for Windows)?
March 4, 2018 - Yes, i I tryed starting upsd and upsmon through the commandline. Thats how I figuered out wich libraries I needed to add and ran into the ...7b error I described. In the end I did get WinNUT to work, but I feel like the actual NUT-Client is the way to go. ... Looks like somthing is broken in the installer version 2.6.5-6. I testet Version 2.6.5-4, wich I got from their Archive https://github.com/networkupstools/nut-package-archive/tree/master/windows , with excatly the same configuration and it is working without a struggle what so ever.
๐ŸŒ
Reddit
reddit.com โ€บ r/homelab โ€บ super simple nut ups for windows?
r/homelab on Reddit: Super simple NUT UPS for Windows?
December 6, 2023 -

I'm trying to figure out if there are any *simple* ups management tools for Windows, that can speak to a NUT daemon? From what I can see, there *is* a NUT daemon for Windows, but it is kinda complicated to install and configure.

What I am ideally looking for is something as simple as a WMI32_Battery instance, that can be configured with the address and creds of a NUT daemon, and makes that data available as a Battery. From there, built in Windows functionality can be used to determine what to do when power fails, battery gets low, etc.

๐ŸŒ
SynoForum
synoforum.com โ€บ resources โ€บ tutorials
Tutorial - Windows NUT client (incl GUI) - Network UPS | SynoForum.com - The Unofficial Synology Forum
December 16, 2021 - - GitHub - gawindx/WinNUT-Client: ... OK 3. Download the: WinNUT-Setup.msi 4. Install the: WinNUT-Setup.msi 5. SETUP of the WinNUT client ยท NUT host: IP of your NAS, where is running the 'Network UPS server' ...explained below ...
๐ŸŒ
Reddit
reddit.com โ€บ r/sysadmin โ€บ network ups tools equivalent for windows
r/sysadmin on Reddit: Network UPS Tools equivalent for Windows
June 26, 2018 -

Wondering what the advised setup for having multiple UPSes serving multiple Windows servers.

With *nix I would plug all the UPSes into a NUT server and have the remaining servers power off when conditions are reached.

What does one do in the Windows world?

๐ŸŒ
Reddit
reddit.com โ€บ r/selfhosted โ€บ question regarding network ups tools
r/selfhosted on Reddit: Question regarding Network UPS Tools
July 24, 2024 -

I do not have IT or computer background. I just like to play with computers as a hobby.

I have recently started self-hosting and am trying out a few things. One of thing that I tried out today was NUT which works fine for the UPS connected via USB on my Pi. Now, I do have 2 Windows 11 PCs, one which runs plex and another my PC for personal work. Both have a UP attached to them, Cyberpower and Tripp Lite. I was wondering is there a method for having data from these 2 UPS to be communicated to the NUT server on my Pi. Both these UPS are directly connected to respective PCs vis USB and these PCs are on the same network as the Pi.

I would appreciate it if someone could please point me to a good guide.

Thanks!

๐ŸŒ
Reddit
reddit.com โ€บ r/homelab โ€บ can i run a nut server from a windows computer or vm on a windows computer?
r/homelab on Reddit: Can I run a NUT server from a windows computer or VM on a windows computer?
May 17, 2025 -

Hi there.

I'm trying to get a NUT server up and running so I can start controlling my Cyberpower CP1500AVRLCD and the devices attached to it and also devices attached to the network.

I'm debating just using SNMP and their cloud service ($12/year) vs doing a NUT server.

I don't want to build another physical box for the space and would love to just run it off the Windows box it's plugged into for their Powerpanel software currently. Is there a Windows Server for this or just clients?

Would it work if I spun up a VM on this Windows box? I already have an Ubuntu VM on this box for other things. I assume I'd have to route the USB device to the VM? (I use Oracle VirtualBox Manager)

TIA

๐ŸŒ
Synology Community
community.synology.com โ€บ enu โ€บ forum โ€บ 1 โ€บ post โ€บ 188123
Using WinNUT with UPS to shut down both NAS and PC ...
May 31, 2024 - Hi! Come and join us at Synology Community. A place to answer all your Synology questions. Ask a question or start a discussion now.
Find elsewhere
๐ŸŒ
SourceForge
sourceforge.net โ€บ projects โ€บ network-ups-tools.mirror
Network UPS Tools download | SourceForge.net
May 11, 2026 - This is a NUT windows client for monitoring your ups hooked up to your favorite linux server. Now you don't need to vnc or ssh into the box to see how your ups is doing! ... Simple CGI viewer for CyberPower UPS PowerPanel commands on *NIX.
๐ŸŒ
Reddit
reddit.com โ€บ r/synology โ€บ use synology nas as ups server to safely power down your other servers/computers
r/synology on Reddit: Use Synology NAS as UPS Server to safely power down your other servers/computers
May 31, 2020 -

Hi everyone,

I know there's information on using our Synology NAS' as UPS servers to power down other Synology devices, but it took me some time to piece together how to use Synology to safely power down my Mac Mini server in the event of a power outage so I figured I'd put it into a writeup here to maybe help some others.

WHY: Most UPS' only have one USB port to control a single device in the event power outage and the battery running low. If you're like me, I have my Synology NAS and other devices (i.e. Mac server) that I want all powered down safely.

My setup: These steps are not specific to my hardware/OS/UPS, but figured I'd provide for context.

  • APC 600VA UPS

  • Synology DS918+

  • Mac mini (running Ubuntu server 20.04, not Mac OS X) - this is not specific to Linux, it will work for Mac, Windows servers/computers

  • Your router needs to be also attached to the UPS otherwise your NAS and computers/servers won't be able to communicate.

Synology Setup

  1. Connect NAS to UPS via USB cable.

  2. Open up DSM and go to Control Panel > Hardware & Power > UPS (tab)

  3. Enable UPS Support and check "Enable network UPS server"

4. Click "Permitted DiskStation Devices" and input the IP addresses of your servers/computers you would like to power down. In my case, I input the IP of my Mac Mini.

5. Apply settings. If you click, "Device Information" you should see your UPS info. (May require a restart of the NAS, I can't remember)

Server/Computer Setup

Linux

Synology is running a NUT Server (http://networkupstools.org) and in this part we have to install the Nut-client to monitor the NAS. I am walking through setup of the Nut-client on Linux, but the same basic steps apply for Mac/Windows. The NUT website has download/install instructions specific to Windows/Mac.

1.Install NUT

sudo apt-get install nut

2.Modify /etc/nut/nut.conf file to specify your computer/server as a client instead of server. Edit this specific line:

MODE=netclient

3.Add Synology address and credentials to /etc/nut/upsmon.conf

MONITOR ups@192.168.0.102 1 monuser secret slave

*Note: these credentials can be changed or you can add a user by SSHing into the NAS and modifying /usr/syno/etc/ups/upsd.users.

4. Lastly, start the nut-client service.

service nut-client restart

Now if I unplug my UPS (to simulate power outage), my Mac will update with the status of the UPS and also will safely shutdown when Synology triggers. I left my Synology settings to trigger shutdown when the UPS battery runs low, but you can check "Time before DiskStation enters Safe Mode" in step 3 above and put a specific time to shutdown.

Windows (Thanks to u/xnaas for providing Windows instructions)

  1. Download and install the latest binary https://github.com/networkupstools/nut-package-archive/tree/master/windows

During install, uncheck the box for Install libUSB driver

2. Go to the etc folder of your NUT installation folder

Default: C:\Program Files (x86)\NUT\etc

3. Rename or copy nut.conf.sample to nut.conf

4. Rename or copy upsmon.conf.sample to upsmon.conf

5. Edit MODE inside nut.conf

MODE=netclient

6. Edit upsmon.conf

Find the SHUTDOWNCMD section

Default: SHUTDOWNCMD "/sbin/shutdown -h +0"

Change the default to something like SHUTDOWNCMD

SHUTDOWNCMD "C:\\WINDOWS\\system32\\shutdown.exe -s -t 0"

Customize the time (-t 0) to your liking. Optionally add -f to force the shutdown. If you want to hibernate, replace -s with -h.

Find the MONITOR section and add the following

MONITOR ups@192.168.1.150 1 monuser secret slave

Make sure to update the IP to your Synology IP

7. Copy libgcc_s_dw2-1.dll from the bin subfolder to the sbin subfolder

8. Download OpenSSL library https://indy.fulgan.com/SSL/

9. Copy libeay32.dll and ssleay32.dll to the sbin subfolder

10. Launch services.msc from Run (WIN+R)

11. Find the service called Network UPS Tools and Start it

Mac

To be added later. In the meantime, this wiki should be a good guide: https://github.com/networkupstools/nut/wiki/NUT-on-Mac-OS-X

Hope this helps someone!

Top answer
1 of 5
22
Worth mentioning that your network connectivity (WiFi or switch) also needs to be on the UPS otherwise your client may not get the shutdown message. Obvious, but easy to overlook. ๐Ÿ˜€
2 of 5
14
Warning: this may make clients shutdown unexpectedly. I set this up as described and thought it was working for a few months until one day the UPS got unplugged. (Strangely, I had done this before to test it and it worked perfectly then.) The Synology and Linux client shut down as expected, but after the UPS was plugged back in, the Linux client kept immediately shutting down at the tty screen during boot. Turns out that for some reason, the UPS continued forcing a shutdown on the Linux client as soon as it was connected even though the UPS was reconnected to mains. This mailing list discussion on the issue asserts that the problem is with Synology's implementation of NUT. If you ever run into clients shutting down unexpectedly with a Synology as a NUT server, here's how to check if this is what's causing it: in the client: press ESC during boot to get into GRUB, go to advanced options, boot into recovery mode, open a root shell get the ID of the boot with journalctl --list-boots journalctl --boot -1 | grep upsmon (replace -1 with the number in the left column of --list-boots) look for the following: Feb 12 23:44:53 HOSTNAME upsmon[807]: Communications with UPS ups@10.0.0.141 established Feb 12 23:44:53 HOSTNAME upsmon[807]: UPS ups@10.0.0.141: forced shutdown in progress Feb 12 23:44:53 HOSTNAME upsmon[807]: Executing automatic power-fail shutdown Feb 12 23:44:53 HOSTNAME upsmon[807]: Auto logout and shutdown proceeding Alternative guide to setting up Synology as a NUT client instead I used the guide here (skip to 'Install NUT') to set up Linux as the server and Synology as the client instead and it seems to work. Note that there may be an additional step to get this to work over a network: If nut-server is failing to start on boot and systemctl status nut-server reports "no listening interface available", edit the LISTEN in /etc/nut/upsd.conf to listen on all interfaces with LISTEN 0.0.0.0 3493 Or just start nut-server after the network comes up: systemctl edit nut-server.service [Unit] Wants=network-online.target After=network-online.target Credit goes to Tim Jackson Additional steps for Cyberpower UPS connected via USB Does journalctl -u nut-server show this error pattern every hour? Feb 13 18:15:04 HOSTNAME upsd[892]: Connected to UPS [ups]: usbhid-ups-ups Feb 13 18:15:21 HOSTNAME upsd[892]: Data for UPS [ups] is stale - check driver Feb 13 18:45:23 HOSTNAME upsd[892]: Send ping to UPS [ups] failed: Resource temporarily unavailable Try this: In /etc/nut/ups.conf add pollinterval = 15 to the [ups] block, like so: [ups] driver = usbhid-ups port = auto desc = "Cyber Power System, Inc. CP1500 AVR UPS" pollinterval = 15 In /etc/nut/upsd.conf, set MAXAGE 30 In /etc/nut/upsmon.conf set DEADTIME 30 Based on information from https://nmaggioni.xyz/2017/03/14/NUT-CyberPower-UPS/ and https://raspberrypi.stackexchange.com/questions/66611/nut-cyberpower-data-stale . Note that while these 2 pages say that MAXAGE goes in upsmon.conf, the man page only lists it as an option for upsd.conf.
๐ŸŒ
Reddit
reddit.com โ€บ r/homelab โ€บ network ups tools & apc
r/homelab on Reddit: Network UPS Tools & APC
November 17, 2023 -

I am planning to purchase the SMT3000RM2UC for my homelab and wanted to know the community's compatibility with NUT https://networkupstools.org/stable-hcl.html. The compatibility list isn't specifically listing this model.

Open to any other non-cloud based solutions to be able to gracefully shutdown all the components of my homelab (ubiquiti gear, synology, proxmox servers etc).

๐ŸŒ
GitHub
github.com โ€บ crazytiti โ€บ Windows-Nut
GitHub - crazytiti/Windows-Nut: Windows Network Ups Tool ยท GitHub
Windows Network Ups Tool remix from the original by Michael Liberman 2006-2007 matrix200 http://sourceforge.net/projects/winnutclient/ This is a NUT windows client for simple ups monitoring and auto shutdown.
Author ย  crazytiti
๐ŸŒ
Network UPS Tools
networkupstools.org
Network UPS Tools - Welcome
May 23, 2021: complementary projects led by Roger Price now hosted in the NUT organization on GitHub: the famous Config Examples book, as well as TLS Shims and TLS UPSmon for community discussion about secured NUT client-server communications ยท March 6, 2021: great thanks to Fosshost Org for providing virtual servers that we can use for diverse build farm! November 13, 2020: announced handing of maintainership reins from Arnaud Quette to Evgeny "Jim" Klimov ยท February 8, 2017: new projects 42ITyโ„ข and Eaton Intelligent Power Controller ยท April 28, 2016: new project ntUPSd - Network UPS Tools Services for Windows
๐ŸŒ
Reddit
reddit.com โ€บ r/synology โ€บ shutdown windows computer via network ups server?
r/synology on Reddit: Shutdown windows computer via Network UPS Server?
September 9, 2020 -

Apologies if I'm missing something obvious, but I can't figure out how to achieve dual shutdown of my UPS and my computer.

I'm running a data cable from my Cyberpower UPS (CP1500PFCLCD) to my NAS (DS418 running DSM 6.2.2-24922 Update 6). I have enabled the network UPS server within DSM, but now how do I consume that server in windows (windows 10 to be exact)?

๐ŸŒ
Reddit
reddit.com โ€บ r/synology โ€บ what is winnut software/ups server and how does it work?
r/synology on Reddit: What is WinNUT software/UPS server and how does it work?
July 9, 2024 - Laptops have their own build-in battery, so letโ€™s ignore that for now. Youโ€™ll want an ups for desktop computers, monitors and networking devices like router, switch and ofc your NAS
๐ŸŒ
Reddit
reddit.com โ€บ r/homelab โ€บ looking for assistance with network ups tools config
r/homelab on Reddit: Looking for assistance with Network UPS Tools config
January 21, 2022 -

Hey there folks, I've been digging into different tutorials and the documentation for NUT and I'm really struggling, hoping some of y'all can help me understand how to get what I'm after accomplished, or if it's even possible.

First, a quick rundown of my setup:

  • Home-built PFSense box

  • NUT server running on a Raspberry Pi 3B

    • 1x Cyberpower UPS (Promxox) Connected via USB

    • 1x APC UPS (Network stack) Connected via USB

  • Synology NAS (DS218J)

  • ProxMox VE in a DMZ (separate NIC)

    • One VM containing a semi-public Minecraft server

    • One VM containing Plex

I have NUT set up in server mode on the RPi 3, and slave clients set up in the Synology NAS, in the ProxMox VE, and in the Minecraft VM. All clients can see the NUT server, report alerts as they go out (to the terminal), and although I haven't tested it, as configured I'm fairly certain they will all shutdown when the batteries go critical.

What I would like to happen:

T0: Power outage occurs, UPSs switch to battery power.
T+1 min: At 60 seconds I am assuming I'm in a sustained power outage:

  1. Minecraft server is sent the "halt" command in order to kick all players, save the world, and shutdown cleanly. (Assume this can be done through RCON)

  2. Synology NAS unmounts drives and goes to sleep.

T+2 min: All active VMs on ProxMox are sent the shutdown command.

T+3 min: Proxmox VE shuts down.

At 3 minutes, the Minecraft server should have cleanly shut down, the NAS and all VMs have shut down, and Proxmox itself powers off. I would like to save as much battery on this UPS as possible for charging phones or as a backup for the network stack in the event the power outage drags on for long.

Network stack UPS - 25% Battery remains: pfSense is sent the halt command. Wait 2 minutes for shutdown, then shutdown UPS.

Either UPS goes Critical: UPS sent shutdown command.

Nice to have but not necessary:

  • Immediately upon going to battery power the Minecraft server is sent an alert to broadcast to the players (Again assume this can be done through RCON)

  • After power outage (NUT server boots back up) or upon detection that UPSs are back on mains power: NUT server sends WOL packets to router, NAS, and Proxmox.

So uh, is this even possible? I'm having some real difficulty deciphering the documentation on networkupstools.org and every tutorial I see or read just discusses setting up the master and slave and getting it to shutdown on a battery critical event. Any advice or maybe someone has a tutorial in their back pocket that deals with the execution of events, I'd really appreciate it.

๐ŸŒ
Reddit
reddit.com โ€บ r/qnap โ€บ quick network ups slave setup for windows using qnap nas as a usp master
r/qnap on Reddit: Quick Network UPS slave setup for windows using QNAP nas as a USP master
December 30, 2019 -

Hello Guys. After a few HOURS, I got it working.

So, I got a new APC UPS with USB, plugged it to my Qnap nas and it was up and running with out any setup. But I also wanted to control my PC shutdown (also plugged to the same UPS box) so QNAQ USP master to the rescue... Not yet =P

First, you will need WinNUT ( https://code.google.com/archive/p/winnut/downloads latest release is from years ago but works fin in latest win 10 build)

Then after install you need to edit the upsmon.conf file from within the Winnut config tool.

now comes the funny part, in that file you are supposed to input your UPS name, IP, user and password...

so for QNAP nas boxes the ups name is ALWAYS qnapups. so qnapups@yournasIP great.

User and password, one thinks this is the admin user for the qnap ups? WRONG, its a hard coded user/password

user: admin

Password: 123456

The final format you need to input in the config file is

"MONITOR qnapups@yournasIP 1 admin 123456 slave"

save the file, get back to the winnut config util and start it as a service (you can mess around with the shutdown delay and stuff also)

now test, pull the plug from the wall on your UPS and you should get a shutdown signal to your PC in a few mins (unless you set up a shorter time in the winnut config tool)

I can get a few screenshots if anyone needs them!

<<<<< 2022 UPDATE >>>>>

So... since all the security issues we are all likely running with the admin account disabled, this will break the configuration.

This is how to fix it.

  1. Enabled admin account and log in said account via winscp to the nas.

  2. Go to /etc/.config/ups

  3. Find the file named upsd.users and download it to your pc. also make a backup of the original file (just raname to something like OG_upsd.users)

Edit the file and add these lines at the bottom and save
[monuser]
		password  = upspasswordyoulike
		allowfrom = 192.168.1.1
		upsmon slave

Your file should look like this

Stop and start the network ups service from the settings UI

You can now setup NUT with your new user and password like

MONITOR qnapups@192.168.1.1 1 monuser upspasswordyoulike slave

save the nut config file and start NUT, now it should be working as before disabling admin account.

Go back into the nas user settings and disabled the Admin account again.

๐ŸŒ
Network UPS Tools
networkupstools.org โ€บ projects.html
Network UPS Tools - Related projects
February 4, 2025 - WinNUT-Client V2 is a replacement ... elsewhere (Linux servers, NAS appliances, etc.) and initiate safe shutdowns. WinNUT is a partial port of the client side of Network UPS Tools (NUT) to Windows....
๐ŸŒ
AlternativeTo
alternativeto.net โ€บ software โ€บ network-ups-tools-nut
Network UPS Tools Alternatives - Explore Similar Software | AlternativeTo
There are seven alternatives to Network UPS Tools for Windows, Linux, Mac and FreeBSD. The best Network UPS Tools alternative is PowerChute Serial Shutdown. It's not free, so if you're looking for a free alternative, you could try WinNUT-Client ...