Use Code

Biggest BFCM Deal of This Year Flat 30% OFF
limited time
-
Days
-
Hours
-
Min
-
Sec

How to Node-Lock Software License to a Device (Complete Guide)

November 18, 2026
How to Node-Lock Software Licenses to a Device

A node-locked software license (also called a machine-bound, hardware-bound or device-locked license) is a software license that only works on one specific computer. On activation, the app builds a device fingerprint from stable hardware or OS identifiers, hashes it, and sends it with the license key to the license server. The server records that key + device pair and refuses the same key on another machine once its activation limit is used. At every start the app rebuilds the fingerprint and checks that it still matches. To move the license, the customer deactivates the old device first.

Selling a desktop app or game from your own site? License Manager for WooCommerce Pro limits activations per key and gives your app public activate/validate routes. See it in the Live Demo or compare plans and pricing.

This guide covers how node-locked licensing works, which identifiers to use, online vs offline node-locked licenses, transfers and hardware changes, and how to node-lock an app you sell from WooCommerce. To see activations per device in a real admin, open the License Manager Live Demo.

What is a node-lock software license?

In licensing, a “node” is one machine. A node-locked license ties a license key to that machine, so copying the program or the key to another computer does not unlock it. It is the most common model for desktop software, CAD and engineering tools, audio plugins, games and developer tools that run on a known workstation.

Term you will seeMeans
Node-locked licenseKey works on one named machine (or a fixed number of machines)
Machine-bound / hardware-bound licenseSame idea, stressing the hardware fingerprint
Device-locked licenseSame idea for phones, tablets and IoT devices
Activation limit / seatsHow many machines one key may be bound to

How do hardware-bound licenses work?

1. Device fingerprinting

The app collects a few identifiers that rarely change, combines them, and hashes the result (for example with SHA-256 plus an app-specific salt). Only the hash leaves the machine, not the raw serial numbers.

IdentifierStabilityWatch out for
OS machine ID (Windows MachineGuid, macOS IOPlatformUUID, Linux /etc/machine-id)HighChanges on OS reinstall; cloned VM images can share it
Motherboard / BIOS UUIDHighSome boards report empty or default values
Disk serial numberMediumChanges when the system disk is replaced
MAC addressLowEasy to spoof; changes with adapters, VPNs and docks
CPU IDMediumNot unique on many modern CPUs

Combine two or three values and decide how strict to be. Licensing vendors such as Cryptlex use “fuzzy” matching that tolerates one changed component, because a strict match locks out customers who replace a disk.

2. Activation binding

The customer enters the key. The app sends the key and the fingerprint to the license server, which checks that the key exists, is not expired or disabled, and still has a free seat. If so, it stores the key + fingerprint pair and returns success. Activating again from the same machine reuses that record instead of taking a second seat.

3. Validation at runtime

At each start (or every few days), the app rebuilds the fingerprint and asks the server whether this device is still activated and the key still valid. Systems built for offline use instead check a signed license file locally, as described below.

4. Enforcement

If the check fails, the app decides what happens: show the activation window, drop to a limited mode, or stop. Always tell the user why (expired, seat limit reached, key not found) and how to fix it.

Machine-bound licensing: online vs offline node-locked license

Online activation recordSigned offline license file
Where the binding livesOn your license serverIn a file signed with your private key (RSA, ECC or Ed25519)
Check at startupAPI call to the serverSignature + fingerprint check on the device
Works without internetOnly with your own cached grace windowYes
Revoking a keyImmediate on next checkOnly when the file expires or the app goes online
Effort to buildLowHigher (key management, file format, refresh flow)

Online binding is simpler and lets you revoke keys straight away. Offline files are needed for air-gapped labs and field machines. Many apps use online activation plus a short offline allowance cached on the device.

Transfers and hardware changes

  • Planned move: the customer clicks “Deactivate” in the app (or in their account) on the old machine. The seat is freed and the key activates on the new one.
  • Dead machine: the old device cannot deactivate itself, so you (or the customer, if you allow it) remove that activation from the license admin.
  • Hardware upgrade: if the fingerprint changes, the app looks like a new device. Fuzzy matching or a spare seat avoids a support ticket.
  • Abuse limits: some vendors cap transfers per year. Keep the rule visible in your license terms.

Node-locked vs other license models

ModelBound toSharing controlTypical use
Simple key (no activation check)NothingNone: the key works anywhereLow-price tools, donationware
Node-lockedOne machine (or N machines)StrongDesktop apps, CAD, audio plugins, games
Domain-lockedOne website domainStrong for web softwareWordPress plugins and themes
Floating / concurrentA pool of seats in use at onceStrong, flexibleTeams and labs
User-basedA loginDepends on account sharingSaaS and cloud apps

For more on choosing a model, see types of software licenses.

Virtual machines, containers and cloud servers

Node-locking assumes a stable physical machine. In VMs, Docker containers and cloud instances, identifiers can be cloned with the image or change on every restart. Common approaches:

  • generate a random install ID on first run and store it in the app’s data folder (it survives restarts but not a wiped volume)
  • allow a few extra seats for server products, or
  • license by user or by concurrent use instead.

Whatever you choose, say it in your license terms so customers know a fresh VM counts as a new device.

Pros and cons of node-locking

  • Pro: stops casual key sharing between computers.
  • Pro: clear, easy-to-explain rule for buyers (“use it on 2 computers”).
  • Pro: works offline when you use signed license files.
  • Con: hardware changes and reinstalls create support tickets if matching is too strict.
  • Con: virtual machines and cloned images can share identifiers.
  • Con: it raises the cost of piracy but does not stop a determined cracker who patches the binary.

Want to see per-device activations and seat limits in a real admin? Open the Live Demo or compare plans on the pricing page.

How to node-lock an app you sell with WooCommerce

If you sell from your own WooCommerce store, License Manager for WooCommerce gives you the following server side:

  • keys on every order,
  • an activation limit per key, and
  • public activate/validate/deactivate routes that need only a public key in your app.

Your app supplies the device fingerprint. Here is the setup:

  1. Create a generator with Max activations = 1 (or 2-3 for “laptop + desktop” plans) and an expiry if you sell yearly licenses.
  2. Create an Application of the non-WordPress type and copy its public key.
  3. Link the WooCommerce product to the generator and the Application, then choose the order status that delivers keys.
  4. Turn on the public routes (activate, validate, deactivate) in the REST API settings.
  5. In your app, hash your chosen identifiers into a device ID and send it as the domain value with the key and public key to POST /wp-json/lmfwc/v1/public/activate.
  6. At every start, call /validate with the same values and continue only when is_activated_here is true and is_expired is false.
  7. For transfers, call /deactivate from the old machine, let customers deactivate from My Account, or remove the activation in the admin Activations list.

Limit activations per license with WooCommerce

The activation limit is what turns a plain key into a node-locked one. In License Manager it works like this:

  • Max activations per key: set on the generator (or on an imported key). 1 = strict node lock; 2-3 = “laptop + desktop”.
  • One record per device: each successful activate call creates an activation with a 40-character token, the label you sent (your device ID), the IP and the user agent. The same device ID activating again reuses its record.
  • Seat limit enforced on the server: when all seats are in use, activate is refused with lmfwc_activation_limit_reached.
  • Deactivate and reactivate by token: your app can free its seat on uninstall or “Move to another computer”, and reactivate the same record later.
  • Customer self-service: with User activation and User deactivation turned on, buyers see their devices under My Account › License keys and can free a seat without a support ticket.
  • Admin control: the Activations list shows every device per key; you can suspend or delete activations there.
PlanMax activationsExpires in
Personal (one computer)1365 days or lifetime
Personal Plus (laptop + desktop)2365 days or lifetime
Studio / small team5365 days
Site license for a lab25 or more365 days
One license generator per plan; link each plan to its own product variation.

A minimal Python example of the device ID and the activation call:

import hashlib, json, platform, urllib.request, uuid

STORE = "https://your-store.com/wp-json/lmfwc/v1/public"
PUBLIC_KEY = "YOUR_APPLICATION_PUBLIC_KEY"

def device_id():
    # Combine identifiers you trust; read the OS machine ID here in a real app.
    raw = "|".join([platform.node(), platform.machine(), str(uuid.getnode())])
    return hashlib.sha256(("my-app-salt|" + raw).encode()).hexdigest()[:40]

def call(route, license_key):
    body = json.dumps({"public_key": PUBLIC_KEY, "license_key": license_key,
                       "domain": device_id()}).encode()
    req = urllib.request.Request(f"{STORE}/{route}", data=body,
                                 headers={"Content-Type": "application/json"})
    with urllib.request.urlopen(req, timeout=15) as r:
        return json.load(r)

def is_licensed(license_key):
    data = call("validate", license_key).get("data", {})
    return data.get("is_activated_here") and not data.get("is_expired")

Notes: the server lowercases the domain value and cuts anything after a /, so a hex hash is a safe device ID. A second activation from the same device reuses its seat. When all seats are used, activate returns lmfwc_activation_limit_reached (HTTP 403), so show “deactivate another device” with a link to My Account.

Handle HTTP errors with a try/except in a real app; this sample is shortened and was not run against a live store.

What License Manager does not do: it has no built-in hardware fingerprinting, no signed offline license files, no floating seats and no fuzzy matching. The device ID, its stability and any offline allowance are your app’s code. If you need offline-first node-locking, a hosted licensing SDK is a better fit.

Selling a game or desktop app? See our guide to selling indie game keys on WooCommerce. For the order side, read how to generate WooCommerce order license keys, and for the bigger picture, how to protect your software.

Example: a node-locked desktop app from purchase to runtime

StageWhat happens
PurchaseThe customer buys the app in your WooCommerce store
KeyA key with max activations 1 is generated and emailed
ActivationThe app sends key + device hash; the server records the seat
Daily useThe app validates at start and caches the result for a short offline window
New laptopThe customer deactivates the old device in My Account and activates the new one
RefundThe key moves to your “terminated” status and the next check fails
NODE-LOCK YOUR APP

Sell device-locked licenses from your own store

Keys on every WooCommerce order, a per-key device limit, and public activate/validate routes with no secret in your app.

Live DemoView Pricing

Frequently asked questions

Share This Article

There's More to Read

Guide

How to Sell License Keys for Your Own Indie Game with WooCommerce (Skip the 30% Store Cut)

Quick answer: To sell license keys for your own indie game, set up a WooCommerce...

Learn More

Migration

Lemon Squeezy Migration: How to Move Your License Keys to Your Own WooCommerce Store

A Lemon Squeezy migration to your own WooCommerce store has four parts: export your license...

Learn More

WordPress Plugins

How to Monetize a WordPress Plugin: Freemium, Pro Add-ons and Annual Licenses

The most common way to monetize a WordPress plugin is freemium. Freemium is a useful...

Learn More

Scroll to Top