Overview π₯
Starting with Liongard Agent version 5.3.0+, the Windows agent uses registry-based GUID identification to assign a unique and persistent Machine ID to each endpoint.
This improves agent stability and identity tracking β but in environments with cloned machines or improper reinstalls, it can lead to:
Agent overwrites or collisions
Duplicate or incorrect agent associations
Inspectors reporting from the wrong machine
This article explains:
How the GUID logic works
When a clean reinstall is required
How to safely handle cloned machines
How to prevent agent identity conflicts
How GUID Identification Works π€
From version v5.3.0+, the agent generates and stores a Machine ID in the Windows registry during installation.
π Registry Locations
HKEY_LOCAL_MACHINE\SOFTWARE\Liongard\LiongardAgent\MachineID
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Liongard\LiongardAgent\MachineID
π Key Behavior
Machine ID is generated at install time
Persisted across:
Reboots
Service restarts
Used as the primary identity of the agent in Liongard
β οΈ Important Limitation
Registry-based GUID logic applies ONLY to fresh installs
β Upgrades β Do NOT generate a new Machine ID
β Repairs β Do NOT fix incorrect Machine IDs
β Fresh installs β Generate a new, correct Machine ID
When a Clean Reinstall is Required π§
You must perform a full uninstall + reinstall if any of the following occur:
Agent installation failure
Agent linked to the wrong environment
Incorrect agent name or identity
Duplicate agents appearing in Liongard
Suspected Machine ID conflict
Environment switching during setup
β What NOT to Do
Do NOT use Repair or Upgrade in these scenarios
Why?
Existing Machine ID remains unchanged
Conflict persists
Agent may continue overwriting another device
Clean Reinstall Steps π§βπ«
Follow these steps to safely reset the agent identity:
1οΈβ£ β Uninstall Existing Agent
Use:
Add/Remove Programs & Feature on windows, or
Your RMM tool, or
Follow our guide
2οΈβ£ β Verify Complete Removal
Ensure:
Liongard Agent service is stopped
Installation directory is removed
3οΈβ£ β Install Latest Agent (v5.3.0+)
On Liongard, navigate to Admin β Agents β Download Agent Installer β Windows
Deploy using your preferred method
Ensure correct environment is selected
4οΈβ£ β Verify in Platform
In Liongard:
Confirm agent appears:
Under correct environment
As a unique device
Without overwriting others
Post-Install: Remap Inspector Triggers (Optional) π
If the old agent had inspectors assigned:
β Recommended Action
π§ Why This Matters
Prevents inspection gaps
Ensures continuity of monitoring
ποΈ Cleanup
After verification:
Delete old agent record
Keep environment clean and accurate
Cloned Machine Warning π¨ (Critical)
Cloning a machine with the Liongard agent already installed can result in multiple devices sharing the same Machine ID
This causes:
Data inconsistency
Inspectors reporting from the wrong device
How to Prevent GUID Conflicts on Cloned Machines π€©
Before deploying the agent on cloned systems, follow ONE of the methods below:
Option A β Exclude Registry Keys (Best Practice)
During imaging or cloning, exclude the following registry paths:
HKEY_LOCAL_MACHINE\SOFTWARE\Liongard\LiongardAgent\MachineID
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Liongard\LiongardAgent\MachineID
β Ensures new Machine ID is generated on install
Option B β Delete Registry Keys After Cloning
On the cloned machine:
Open Registry Editor (regedit)
Navigate to the paths above
Delete both
MachineIDentriesInstall the agent
What Happens If You Skip This?
Both machines will share the same Machine ID
Resulting in:
Agent identity collision
Devices overwriting each other
Incorrect inspection data
Manual cleanup required
Visual Flow π§
Clone Machine (Agent Installed)
β
βββ No Action Taken
β β
β Same MachineID
β β
β Agent Collision / Overwrite
β
βββ Remove/Exclude Registry Key
β
New Agent Install
β
Unique MachineID
β
Stable Agent Identity β
When to Contact Support π¦
Reach out to Liongard Support if:
Agents continue overwriting after reinstall
Duplicate Machine IDs persist
Multiple environments are affected
Registry cleanup did not resolve the issue
Provide:
Agent name(s)
Environment details
Confirmation of reinstall steps
Registry key status
Agent Version
Agent Logs
Key Takeaway π‘
Agent identity is now tied to a registry-based Machine ID β and must be handled carefully in cloned environments.
β Always use fresh installs when identity issues occur
β Never rely on repair/upgrade for GUID-related problems
β Clean registry handling is critical in imaging workflows
Summary π
Liongard Agent v5.3.0+ uses registry-based Machine IDs
Only fresh installs generate new IDs
Cloned machines can cause GUID conflicts
Proper registry handling prevents agent overwrites
Clean reinstall is the only reliable fix for identity issues
