Agent Paths and Exclusions for Security and Reboot-Restore Tools
Every path, registry key, program, and service the Liongard agent uses, and how to configure application control, EDR, and reboot-restore tools around it.
Application control, EDR, and reboot-restore tools can block or undo the files, registry keys, and services the Liongard agent depends on. When that happens, installs and updates roll back, inspections fail, or the same machine shows up in Liongard as a new agent every day.
This page lists every path, registry key, program, and service the agent uses, what has to persist for the agent to keep its identity, and how to confirm your setup works before you roll it out. Use it if you run:
- Application control or EDR tools, such as ThreatLocker or Blackfog. Blocked agent steps can stop installs and updates.
- Reboot-restore tools, such as Faronics Deep Freeze, Windows Unified Write Filter (UWF), or Reboot Restore Rx. These revert the machine on every reboot, so the agent loses its identity and can end up with a new agent record every day.
- Golden images or VDI, where images are captured with the agent already installed. See Duplicate Agents to prepare an image.
Vendor-specific stepsThis page tells you what to allow and what to keep. For how to configure a specific product, check your vendor's documentation.
Windows
All paths assume the default install location. If you installed the agent with a custom INSTALLLOCATION, substitute your folder.
What has to persist on Windows
These have to persist for the agent to keep its identity
Item Location Agent identity Registry HKLM\SOFTWARE\WOW6432Node\Liongard\LiongardAgent\MachineID, valueAgentGuidAgent registration info Registry HKLM\SOFTWARE\WOW6432Node\Liongard\RoarAgent(valuesAgentKey,INSTALLLOCATION,ProductVersion)Agent install folder C:\Program Files (x86)\LiongardInc\LiongardAgent\(the whole folder)These only work as a set. Keeping some of them, for example with a partial Deep Freeze exclusion, leaves the agent unable to check in. Even with all of them kept, a machine that resets on reboot can still lose what the agent needs to authenticate. Liongard recommends excluding machines that reset on reboot from agent deployment. See Reboot-restore tools.
Windows files and folders
| Path | What it is | Notes for security tools |
|---|---|---|
C:\Program Files (x86)\LiongardInc\LiongardAgent\ | Install folder: agent programs, configuration, local data | Allow execution and writes by the agent |
C:\Program Files (x86)\LiongardInc\LiongardAgent\jobs\ | Inspection scripts the agent runs | Allow PowerShell execution from here |
C:\Program Files (x86)\LiongardInc\LiongardAgent\inspectorBundles\ | Inspector packages the agent downloads | Allow writes and execution |
C:\Program Files (x86)\LiongardInc\LiongardAgent\logs\ | Agent logs (agent.log, error.log) | Useful for troubleshooting |
C:\Program Files (x86)\LiongardInc\LiongardAgent\AgentSVCLog.txt | Service log | Useful for troubleshooting |
C:\ProgramData\Liongard\Cache\ | Downloaded agent updates and update installer logs | Allow writes and execution of installers from here |
C:\ProgramData\Package Cache\ | Windows keeps a copy of the EXE installer here | Needed for repair and uninstall |
C:\Windows\System32\WindowsPowerShell\v1.0\ | PowerShell, used by inspections | Allow |
C:\Windows\System32\Tasks\Liongard\ | The agent's scheduled tasks | See Windows service, scheduled tasks, and event log |
C:\Program Files\Npcap\ | Packet capture driver, only with Enhanced Network Discovery (EXE installer) | See Enhanced Network Discovery (Npcap) |
Windows registry keys
| Key | What it is |
|---|---|
HKLM\SOFTWARE\WOW6432Node\Liongard\LiongardAgent\MachineID | Agent identity (AgentGuid) |
HKLM\SOFTWARE\WOW6432Node\Liongard\RoarAgent | Agent registration info, install location, installed version |
HKLM\SYSTEM\CurrentControlSet\Services\roaragent.exe | Agent Windows service |
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\LiongardAgentLog | Agent event log |
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment, value GLOBAL_AGENT_HTTP_PROXY | Proxy setting, only if a proxy was set at install |
Older agents may also have values under HKLM\SOFTWARE\Liongard\ (without WOW6432Node). An upcoming agent release moves them to the WOW6432Node location automatically. You don't need to act on this, but including both locations in your exclusions is harmless.
Windows programs to allow
Agent programs are signed by Liongard, Inc. Where your tool supports it, a publisher or certificate-based allow rule is the most reliable option.
| Program | Location | Role |
|---|---|---|
LiongardAgentSVC.exe | Install folder | Windows service |
LiongardAgent.exe | Install folder | Agent core, started by the service |
LiongardAgentUpdater.exe | Install folder | Legacy updater (agents on 5.4.1 and earlier) |
prowl.exe, node.exe | Install folder | Used by inspections and asset discovery |
nmap.dll | Install folder | Network scanning library used by prowl.exe for asset discovery. Some AV/EDR tools flag it as a hacking tool. |
LiongardAgentInstaller*.exe | C:\ProgramData\Liongard\Cache\ | Agent update installer (5.5.0 and later download and run this) |
LiongardAgent-lts.msi / LiongardAgent-lts.exe | Wherever you run them | Install and upgrade |
msiexec.exe, cmd.exe, schtasks.exe | Windows | Used during install and upgrade. If blocked, the install or upgrade rolls back. |
powershell.exe | Windows | Inspections |
Npcap (npcap-1.87-oem.exe installer, npcap service and driver) | Installed by the EXE installer only when Enhanced Network Discovery is selected | Packet capture driver for network discovery. Some AV/EDR tools flag it as a hacking tool or potentially unwanted. |
Windows service, scheduled tasks, and event log
| Item | Name |
|---|---|
| Windows service | roaragent.exe (display name Liongard Agent; some older upgraded installs show Roar Agent) |
| Legacy update task | \Liongard\LiongardAgentUpdater (daily; how agents on 5.4.1 and earlier update) |
| Self-update task | \Liongard\LiongardAgentSelfUpdate (5.5.0 and later; created for each update, then removed) |
| Event log | LiongardAgentLog (sources LiongardAgentSVC and LiongardAgentUpdater) |
| Npcap service and driver | Service npcap, driver C:\Windows\System32\drivers\npcap.sys. Only with Enhanced Network Discovery. Installed separately from the agent and left in place when the agent is uninstalled. |
Network
Network requirements don't change. See How to Properly Allowlist the Liongard Platform, and allow agents.static.liongard.com for updates as described in Agent Auto-updating.
Reboot-restore tools
Deep Freeze, UWF, Reboot Restore Rx, and similar tools revert the machine on every reboot.
- Liongard recommends that you don't deploy the agent to machines that reset on reboot. Exclude them from your RMM's Liongard deployment policy.
- If you must run the agent on these machines, everything in What has to persist on Windows must survive a reboot, and installs and updates should only run while the machine is thawed. Check your vendor's documentation for how to keep folders and registry keys across reboots. Even then, results aren't guaranteed, which is why exclusion is the recommendation.
- Don't let an RMM policy reinstall the agent on these machines when they show offline. Each reinstall on a reset machine creates a new agent record in Liongard.
To clean up a machine that's already been reinstalling
- Thaw the machine.
- Uninstall the agent.
- Either exclude the machine from agent deployment, or reinstall the agent while the machine is thawed with the exclusions in place.
Application control tools
For ThreatLocker and similar tools:
- Put the tool in learning mode before you deploy the agent, or add the allow rules in Windows programs to allow first.
- Allow the agent's install and upgrade steps (
msiexec.exe,cmd.exe,schtasks.exe) with elevation. Blocking them rolls the install or upgrade back. - Allow the agent to run PowerShell from the
jobsfolder.
Enhanced Network Discovery (Npcap)
Npcap is only installed when you select Enhanced Network Discovery in the EXE installer. The agent itself also ships a network scanning library (nmap.dll) that asset discovery uses.
Some AV/EDR tools flag Npcap and network scanning librariesSome AV/EDR tools flag Npcap and network scanning libraries as hacking tools or potentially unwanted programs. Allow them on machines that run network discovery. See Windows programs to allow.
If a security tool blocks the Npcap install during an EXE install with Enhanced Network Discovery selected, the whole agent install rolls back. Allow Npcap first, or install without Enhanced Network Discovery.
- Agent updates don't reinstall Npcap, so an Npcap block doesn't affect later updates.
- If Npcap is missing or blocked, network discovery still runs, but with a basic scan, and OS detection for discovered devices isn't available.
- Npcap stays on the machine when you uninstall the agent.
What stays on a Windows machine after uninstall
Uninstalling the agent intentionally leaves these behind, so a reinstall on the same machine reconnects to the same agent record:
- The agent identity (
MachineID\AgentGuid) and theRoarAgentregistry values C:\ProgramData\Liongard\Cache\- Npcap, if it was installed
The uninstall removes the agent's configuration from the install folder.
Verify your Windows setup
Before you roll out your exclusions, confirm the agent keeps its identity through a reboot and an update.
- In Admin > Agents, note the agent's record: name, version, and last check-in.
- On the machine, confirm the
AgentGuidvalue exists underHKLM\SOFTWARE\WOW6432Node\Liongard\LiongardAgent\MachineIDand write it down. - Reboot the machine. If a reboot-restore tool is installed, leave it in its normal protected state.
- Confirm the
AgentGuidvalue is unchanged and theroaragent.exeservice is running. - In Admin > Agents, confirm the same agent record checks in again within a few minutes, and that no new record (for example, one with a (1) suffix) appeared for the machine.
- Repeat after the agent's next update, or after a supported reinstall into the same Environment, to confirm it still checks in on the same record.
If a new record appears or the value changesYour setup isn't keeping what the agent needs. Stop any RMM policy that reinstalls the agent on that machine, and contact Support instead of reinstalling again.
Troubleshooting: installed but not checking in
| What you see | Likely cause | What to do |
|---|---|---|
| Agent service is missing or the install never finished. Windows Installer or your RMM shows a failed or rolled-back install. | Application control or missing elevation blocked the install or upgrade | Allow the install steps (msiexec.exe, cmd.exe, schtasks.exe), then reinstall once |
| Service is running, but the agent shows offline in Admin > Agents | Network or proxy is blocking outbound traffic | Check How to Properly Allowlist the Liongard Platform and confirm any proxy setting is still in place |
Service is running, but the LiongardAgentLog event log shows the agent stopping or refusing to start | The agent couldn't start, for example because a certificate or signature check failed | Collect the LiongardAgentLog events and AgentSVCLog.txt, and contact Support |
| The machine checks in as a new agent record after a reboot or reinstall | The agent identity or install folder didn't survive | See Reboot-restore tools and run Verify your Windows setup |
| The agent was deleted in Admin > Agents but is still installed | Deleted agents can't check in again on their own | Uninstall and reinstall the agent, or contact Support |
What to send Support
- The machine name and the agent's version
AgentSVCLog.txtand thelogsfolder from the install folder- Recent
LiongardAgentLogevents - Whether a reboot-restore or application control tool is installed
macOS
What has to persist on macOS
These have to persist for the agent to keep its identity
Item Location Agent identity /etc/liongard-agent/.machine-guidAgent folder /Library/Liongard/(the whole folder)Agent launch daemons /Library/LaunchDaemons/com.liongard.liongard-agent.plistand/Library/LaunchDaemons/com.liongard.liongard-agent-updater.plistThese only work as a set. Keeping some of them leaves the agent unable to check in. Liongard recommends excluding machines that reset on reboot from agent deployment. See Reboot-restore tools.
macOS files, folders, and daemons
| Path or name | What it is | Notes for security tools |
|---|---|---|
/Library/Liongard/ | Agent programs, configuration, local data, and update staging | Allow execution and writes by the agent |
/Library/Liongard/logs/ | Logs (service.out, service.err, updater.out, updater.err, plus agent logs) | Useful for troubleshooting |
/etc/liongard-agent/ | Agent identity folder | Must persist |
/Library/LaunchDaemons/com.liongard.liongard-agent.plist | Agent daemon (label com.liongard.liongard-agent) | Must persist |
/Library/LaunchDaemons/com.liongard.liongard-agent-updater.plist | Updater daemon (label com.liongard.liongard-agent-updater) | Must persist |
/tmp/liongard-agent-installer.log | Installer log | Useful for troubleshooting |
macOS programs to allow
macOS agent programs are signed with Liongard's Apple Developer ID: Developer ID Application: Liongard Inc. (KU4C98N3LW). Where your tool supports it, a Developer ID or Team ID allow rule (Team ID KU4C98N3LW) is the most reliable option.
The installer is LiongardAgent-lts.pkg (Intel) or LiongardAgent-lts-arm64.pkg (Apple Silicon).
What stays on a macOS machine after uninstall
/etc/liongard-agent/.machine-guidstays, so a reinstall reconnects to the same agent record. To enroll as a brand-new agent, or before you capture an image, remove/etc/liongard-agent. See Duplicate Agents.- The uninstall removes
/Library/Liongard/and the two launch daemons.
Verify your macOS setup
- In Admin > Agents, note the agent's record: name, version, and last check-in.
- On the machine, note the contents of
/etc/liongard-agent/.machine-guid. - Reboot the machine. If a reboot-restore tool is installed, leave it in its normal protected state.
- Confirm
/etc/liongard-agent/.machine-guidis unchanged and thecom.liongard.liongard-agentdaemon is running. - In Admin > Agents, confirm the same agent record checks in again and that no new record appeared for the machine.
- Repeat after the agent's next update.
If a new record appears or the identity changes, stop any RMM policy that reinstalls the agent on that machine and contact Support.
Linux
What has to persist on Linux
These have to persist for the agent to keep its identity
Item Location Agent identity /etc/liongard-agent/.machine-guidAgent folder /opt/liongard/(the whole folder, including hidden files)Agent services systemd units liongard-agent.service,liongard-agent-updater.service,liongard-agent-updater.timerThese only work as a set. Keeping some of them leaves the agent unable to check in. Liongard recommends excluding machines that reset on reboot from agent deployment. See Reboot-restore tools.
Linux files, folders, and services
| Path or name | What it is | Notes for security tools |
|---|---|---|
/opt/liongard/ | Agent programs (LiongardAgent, node, prowl), configuration, local data | Allow execution and writes by the agent |
/opt/liongard/jobs/ | Inspection scripts the agent runs | Allow execution |
/opt/liongard/inspectorBundles/ | Inspector packages the agent downloads | Allow writes and execution |
/opt/liongard/logs/ | Agent logs | Useful for troubleshooting |
/opt/liongard/nmap/ | Network discovery libraries | Allow |
/opt/liongard/updater/ | Legacy updater | Allow |
/var/lib/liongard/updates/ | Agent update downloads (5.5.0 and later) | Allow writes and execution of installers from here |
/etc/liongard-agent/ | Agent identity folder | Must persist |
/lib/systemd/system/ or /etc/systemd/system/ | Location of the unit files (depends on the distribution) | Must persist |
liongard-agent-self-update | Temporary systemd unit used during a 5.5.0 and later self-update | Allow |
What stays on a Linux machine after uninstall
/etc/liongard-agent/.machine-guidstays, so a reinstall reconnects to the same agent record.--reset-identityremoves it. See Duplicate Agents.- The uninstall (
-x) removes the agent programs, the updater, and the agent's configuration from/opt/liongard/, and stops and disables the services.
Verify your Linux setup
- In Admin > Agents, note the agent's record: name, version, and last check-in.
- On the machine, note the contents of
/etc/liongard-agent/.machine-guid. - Reboot the machine. If a reboot-restore tool is installed, leave it in its normal protected state.
- Confirm
/etc/liongard-agent/.machine-guidis unchanged and theliongard-agentservice is running. - In Admin > Agents, confirm the same agent record checks in again and that no new record appeared for the machine.
- Repeat after the agent's next update.
If a new record appears or the identity changes, stop any RMM policy that reinstalls the agent on that machine and contact Support.
FAQ
- Why does one machine show up as many agents? - The machine is resetting on reboot and something keeps reinstalling the agent. See Reboot-restore tools.
- Do I need to exclude the whole install folder? - Yes. The agent writes its configuration, inspection scripts, and logs there.
- Will excluding only the registry keys work? - No. The items in "What has to persist" only work as a set, and Liongard recommends excluding reboot-restore machines altogether.
- Why does my antivirus flag Npcap or
nmap.dll? - Some AV/EDR tools treat network scanning tools as hacking tools or potentially unwanted programs. Allow them on machines that run network discovery. See Enhanced Network Discovery (Npcap).
Related
Updated about 2 hours ago

