Overview π₯
In some scenarios, a Liongard Agent may fail to automatically upgrade or uninstall. This can occur due to permission issues, disabled schedulers, endpoint security controls, or legacy installation methods.
This article explains:
π Why agent upgrades or uninstalls fail
βοΈ How Liongard agent auto-updates work
π§ͺ Step-by-step troubleshooting
π Proper uninstall methods by platform
π Where to collect logs for support
Why Agent Upgrade or Uninstall Issues Happen π€
The most common causes include:
Cause | Description |
β Incorrect service account | Agent installed using a user or domain account |
β Scheduler blocked | Auto-update task removed or blocked |
π‘ EDR / AV interference | Security tools prevent updates or MSI execution |
π¦ Missing MSI | Original installer unavailable during uninstall |
π Legacy install method | Older PowerShell-based installs |
How Liongard Agent Auto-Updates Work
When installing the Liongard Agent with auto-update enabled:
π A scheduled task is created on Windows
β± Runs daily at midnight
π Checks for a newer agent version
β¬ Automatically downloads and installs updates
π§ Requires local SYSTEM permissions
β
No user interaction is required
β If permissions are insufficient, the update silently fails
Important: Supported Service Account (Windows) π₯οΈ
π¨ Liongard Agents must run as LOCAL SYSTEM
Running the agent under a custom service account or domain user is no longer supported.
Why SYSTEM Is Required
β Always present (no password rotation)
β Not impacted by user logouts
β Least-privilege, local-only permissions
β Required for scheduled updates
β Prevents domain policy conflicts
π§― Newer MSI installers no longer allow custom service accounts. All new installations default to SYSTEM by design
Step-by-Step Troubleshooting π§βπ«
1οΈβ£ Verify Agent Version
Go to Admin β Agents
Locate the affected agent
Confirm agent is Up To Date
2οΈβ£ Check Agent Status
Online but outdated β Auto-update likely blocked
Offline β Inspections will fail and upgrades will not occur
βΉοΈ Self-Managed agents appear in inspector dropdowns even if offline, but inspections will show Agent Issues
3οΈβ£ Verify Auto-Update Scheduler (Windows)
Status | Action |
Task exists | Review last run result |
Task missing | Reinstall agent |
Task blocked | Check EDR / AV logs |
π Removal events are often logged in Windows Event Viewer
4οΈβ£ Check for Security Software Interference
Auto-updates commonly fail when:
EDR deletes the scheduler
Antivirus blocks MSI execution
Firewalls block outbound update traffic
π Review endpoint security logs for:
Task deletion
MSI execution blocks
Process termination
Uninstalling the Liongard Agent π
β οΈ Uninstalling the agent does NOT remove it from the Liongard UI
β Option 1: Uninstall via MSI (Recommended)
π§ Best method if you still have the original MSI. Run the same MSI version used for installation:
Select Uninstall when prompted
β Option 2: Windows Add / Remove Programs
Open Control Panel
Select Programs β Uninstall a program
Right-click Liongard Agent
Select Uninstall
Reboot is NOT required. Click Continue if prompted.
β Option 3: Command Line (Silent)
msiexec /x LiongardAgent-lts.msi /qn
π Legacy PowerShell-Installed Agents
If installed using older PowerShell scripts:
Run the latest MSI to upgrade
Run the MSI again
Select Uninstall
This migrates the agent under MSI control before removal.
Remove Agent from Liongard Platform π«§
After uninstalling locally:
Go to Admin β Agents
Click the β― menu next to the agent
Select Delete
π§Ό This cleans up orphaned agents from the platform.
Collecting Agent Logs for Troubleshooting π¨βπ»
Type | Location |
Main logs |
|
Service log |
|
Event logs | Check Windows Event Viewer under 'Application and Service Logs' for 'LiongardAgentLogs' |
When to Contact Support π¦
Contact Liongard Support if:
Agent fails to upgrade after reinstall
Scheduler keeps disappearing
Logs show unexplained permission errors
π Include:
Exact issue description
Agent version
OS
Relevant logs
Screenshot of agent status
Summary π€©
Liongard agents auto-update using a scheduled updater
Agents must run as LOCAL SYSTEM
EDR / AV tools are the most common blockers
Missing schedulers require reinstallation
Uninstall methods vary by OS
Logs are critical for deeper troubleshooting


