Skip to content

UnplugLock v1.3.0

Choose a tag to compare

@itsyohanes itsyohanes released this 22 Nov 03:16
· 37 commits to main since this release

Lightweight Windows tray app that locks your laptop the moment the charger is unplugged.

What's new

  • Network locks. UnplugLock can now also lock Windows when an Ethernet cable is unplugged or Wi-Fi disconnects, so a laptop running on battery is covered too. Turn them on under Also lock when in the tray menu. Both are off by default.
    • Only a drop counts. Turning an option on while disconnected never locks.
    • It uses your lock delay, with a 2-second minimum so a brief blip doesn't lock you out. If the connection comes back in time, it doesn't lock.
    • Drops in the first 15 seconds after waking from sleep are ignored while the network reconnects.
    • Only physical adapters are watched. Virtual ones (Hyper-V, WSL, VPNs), Wi-Fi Direct and Bluetooth are ignored. No location access or other permissions are needed.
    • Switching to a different Wi-Fi network, or turning Wi-Fi off yourself, counts as a disconnect. If you change networks often, set a longer lock delay.
  • Like the other settings, turning off a network lock asks for your password if you've set one.

Install: download UnplugLock-Setup-v1.3.0.exe below, run it and click Install. No admin rights needed. If your browser or email blocks .exe downloads, grab the .zip instead and run the installer inside it. Installing over an earlier version keeps your settings and password (if you've set one, the installer asks for it first). Requires .NET Framework 4.7.2 or later (built into Windows 10 1803+ and Windows 11).

Windows SmartScreen may warn about an unrecognised app because the installer isn't code-signed. Click More info → Run anyway.